摘要
利用西门子S7-200PLC自由口通信模式,根据自定义的协议,通信数据均采用ASCII码的方法,避免了起始字符和结束字符与报文数据区的数据相混淆的问题,实现了PLC与上位计算机之间的通信。以气垫式流浆箱为例,详细的阐述了通信数据的存储方式,以及通信过程的实现问题。在实践中得到检验,节约成本,效果良好。
In accordance with that Siemens PLC S7-200 CPU has the free port communication capacity, with the air-cushioned head box control system as the object, the communication between PLC and its host computer was realized with a self-defming communication protocol. It is convenient for PLC S7-200 free port communication protocol to allow the user to define some simple protocols as required, and the upper computer carries out the communication between the computer and PLC by using the serial communication controls.
出处
《中华纸业》
CAS
北大核心
2007年第7期52-55,共4页
China Pulp & Paper Industry
基金
陕西科技大学科研团队建设项目资助
项目编号:20050601。