首页 | 官方网站   微博 | 高级检索  
     

基于Python实现的工控数据交换
引用本文:陈凯聪,周任杰,朱志松.基于Python实现的工控数据交换[J].机床与液压,2018,46(16):112-114.
作者姓名:陈凯聪  周任杰  朱志松
作者单位:南通大学机械工程学院
基金项目:无锡市新兴产业技术研发项目(CGE02G1717);南通市重点实验室项目(CP12014001);南通大学实验教学改革课题(2014C06)
摘    要:以龙骨成型机为对象,研究基于Python的工控数据交换实现方法。利用松下PLC、麦修斯喷码机、卓岚RS232转以太网模块和计算机搭建控制系统,实现龙骨成型机的冲孔、喷码、截断等加工工序。上位机通过Socket调用接口、Mewtocol通信协议及麦修斯通信协议以报文格式向下位机发送指令,实现工控数据的实时交换。经过测试,上、下位机之间通信稳定可靠。基于Python实现的工控数据交换方法稳定可靠,满足龙骨成型机控制系统对实时性、稳定性的要求。

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

Industrial Data Exchange Based on Python
Abstract: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.
Keywords:
本文献已被 CNKI 等数据库收录!
点击此处可从《机床与液压》浏览原始摘要信息
点击此处可从《机床与液压》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号