装备机械
裝備機械
장비궤계
THE MAGAZINE ON EQUIPMENT MACHINERY
2014年
2期
59-63
,共5页
子程序%参数传递%数控%编程
子程序%參數傳遞%數控%編程
자정서%삼수전체%수공%편정
subprogram%parameter transmission%NC%program
对于典型的复杂零件结构,可采用带参数传递的子程序技术,把复杂的程序封装在子程序里,实现典型结构加工的标准化、模块化,方便程序的修改和优化。使用者只需根据说明在调用子程序时填写相应参数,即可编写出相应程序,使主程序变得简单易读,可提高工作效率和降低测试成本。
對于典型的複雜零件結構,可採用帶參數傳遞的子程序技術,把複雜的程序封裝在子程序裏,實現典型結構加工的標準化、模塊化,方便程序的脩改和優化。使用者隻需根據說明在調用子程序時填寫相應參數,即可編寫齣相應程序,使主程序變得簡單易讀,可提高工作效率和降低測試成本。
대우전형적복잡령건결구,가채용대삼수전체적자정서기술,파복잡적정서봉장재자정서리,실현전형결구가공적표준화、모괴화,방편정서적수개화우화。사용자지수근거설명재조용자정서시전사상응삼수,즉가편사출상응정서,사주정서변득간단역독,가제고공작효솔화강저측시성본。
For the typical structure of complex parts, can be used to the subroutine technology with parameters transmission, the complex program is packaged in subprogram, the standardization and modularization of processing method of typical complex piece has been achieved, and the program can be modiifed and optimized easily. When the subroutine calls, the programmers only need to ifll out the corresponding parameters according to the instructions can be conveniently and accurately write the corresponding program. With this technique, the main program has legibility, and worked efifciencyisincreasedgreatly,atthesametimethecostoftrialmanufactureisreduced.