摘要
以龙骨成型机为对象,研究基于Python的工控数据交换实现方法。利用松下PLC、麦修斯喷码机、卓岚RS232转以太网模块和计算机搭建控制系统,实现龙骨成型机的冲孔、喷码、截断等加工工序。上位机通过Socket调用接口、Mewtocol通信协议及麦修斯通信协议以报文格式向下位机发送指令,实现工控数据的实时交换。经过测试,上、下位机之间通信稳定可靠。基于Python实现的工控数据交换方法稳定可靠,满足龙骨成型机控制系统对实时性、稳定性的要求。
Taking the keel forming machine as the object,the implementation method of industrial data exchange based on Python was studied.Panasonic PLC,Matthews inj-ket printer,ZhuoLan RS232 to Ethernet module and computer were used to set up control system to realize punch,print and cut off processes of the keel forming machine.Through the Socket call interface,Mewtocol communication protocol and the Matthews communication protocol,host computer exchanged industrial data with slave computer in real time by sending commands to slave computer.Communication between host and slave computer is stable and reliable in the test.Realization of industrial data exchange method based on Python is stable and reliable and it can meet the need of the keel molding machine control system on real-time,stability requirements.
作者
陈凯聪
周任杰
朱志松
CHEN Kaicong;ZHOU Renjie;ZHU Zhisong(College of Mechanical Engineering,Nantong University,Nantong Jiangsu 226019,China)
出处
《机床与液压》
北大核心
2018年第16期112-114,125,共4页
Machine Tool & Hydraulics
基金
无锡市新兴产业技术研发项目(CGE02G1717)
南通市重点实验室项目(CP12014001)
南通大学实验教学改革课题(2014C06)