摘要
设计数控机床的PLC控制程序时,我们编制一个I/O处理子程序,那么当数控机床所选用的输入/输出元件的规格作了变动,我们就能够不修改PLC控制程序,而PLC也能适应或兼容外部的输入/输出元件的这种变化。或者当设计PLC程序的时候,不知道外部的输入/输出元件的具体特性时,也可以将其统一对待,先进行编程。从而提高程序的通用性。
We had intentionally written a subprogram to manage I/O signals when design the PLC control program in CNC machine tool, then we can use the program without any change and it can control the tool machine well when there are some differences in I/O parts of the machine. On another occasion we can design the PLC control program before I/O parts are made certain. In this way it can improve the generalization of PLC control program in CNC machine tools.
出处
《机床电器》
2009年第6期16-17,共2页
Machine Tool Electric Apparatus
关键词
数控机床
控制程序
PLC
辅助功能
映像寄存器
通用化
CNC machine tool
control program
PLC
assistant function
image register
generalization