摘要
为了实现检测机对多个硬件的集成控制和智能检测需求,设计了一种基于Qt与TwinCAT的检测机控制系统软件。该系统软件利用倍福PLC控制多个伺服电机、多个视觉检测CCD以及多个光源等,然后通过ADS协议将下位机PLC的数据处理后集中显示到Qt开发的软件界面上,检测机控制系统采用C++与ST语言联合开发,利用Qt丰富的组件库和倍福的ADS通信库可以方便地进行上下位机之间的信息交换,实现了良好的人机交互功能。该系统已经在检测机实际生产中进行了测试并已应用,取得了良好的控制显示效果。
In order to meet the integration and intelligent testing requirements of multiple hardware devices,a inspection machine control system software based on Qt and TwinCAT is designed.The system software uses Beckhoff PLC to control multiple servo motor,multiple visual inspection CCD,and multiple light source.After processing the data of the lower-level PLC through the ADS protocol,it is centrally displayed on the software interface developed by Qt.The inspection machine control system is jointly developed using C++and ST languages,utilizing Qt rich component library and Beckhoff ADS communication library to facilitate information exchange between the upper and lower levels,achieving excellent human-machine interaction.The system has been tested and applied in the actual production of the inspection machine.
出处
《工业控制计算机》
2024年第6期4-6,9,共4页
Industrial Control Computer