基于Python实现的工控数据交换  被引量:4

Industrial Data Exchange Based on Python

在线阅读下载全文

作  者:陈凯聪 周任杰 朱志松[1] CHEN Kaicong;ZHOU Renjie;ZHU Zhisong(College of Mechanical Engineering,Nantong University,Nantong Jiangsu 226019,China)

机构地区:[1]南通大学机械工程学院,江苏南通226019

出  处:《机床与液压》2018年第16期112-114,125,共4页Machine Tool & Hydraulics

基  金:无锡市新兴产业技术研发项目(CGE02G1717);南通市重点实验室项目(CP12014001);南通大学实验教学改革课题(2014C06)

摘  要:以龙骨成型机为对象,研究基于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.

关 键 词:PYTHON语言 Mewtocol通信协议 麦修斯通信协议 Socket调用接口 

分 类 号:TP274[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象