应用于机床加工的总线数字量模块开发与试验研究

Development and experimental study of bus digital module applied to machine tool processing

  • 摘要: 为了满足数控机床加工对信号量数据采集传输的实时性和稳定性的应用需求,如机床加工现场的轴运动位移硬件限位信号、气阀水阀信号、刀具测量等信号,同时能与可编程控制器建立通信进行数据交互,可实现信号量检测与控制功能。文章设计并开发基于以太网通讯技术的EtherCAT通信协议的数字量模块,对数字量模块软硬件设计内容与数据交互程序的执行流程进行研究,并通过配合标准EtherCAT通信主站TwinCAT进行试验,证明开发的数字量模块能与控制器主站正常建立通信并进行数据传输,且与EtherCAT总线通信数据周期保持同步。基于数字量信号检测设计出机床刀径测量方案,应用该数字量模块在机床加工中进行量刀试验,结果表明通过数字量模块对检测信号的实时响应计算得到的机床刀具磨损误差满足应用要求,具有工程实际价值,达到了研究的目的。

     

    Abstract: In order to meet the requirements of real-time and stability in the process of signal acquisition and transmission in the machining of CNC, such as the hardware limit signal of axis movement, gas signal,water signal, tool measurement signal and others, and to establish communication with programmable controllers for data exchange to detect and control digital signal. This article designs and develops a digital module with the EtherCAT communication protocol which is based on Ethernet technology. The software and hardware design of the digital module and the execution process of the data interaction program is studied. Experiments are conducted in conjunction with the standard EtherCAT communication master station TwinCAT to demonstrate that the developed digital module can establish communication and transmit data with the master station normally, and maintain synchronization with the communication cycles in EtherCAT bus.A tool measurement scheme for machine tools was designed based on digital signal detection in machine tool processing. The results showed that the calculation of tool wear errprs based on the real-time response to measurement input signal by the digital module met the requirements of machine tool processing. The digital module has practical engineering value and achieves the research purpose.

     

/

返回文章
返回