Implementation of serial communication between host computer and PLC based on Host Link protocol

被引:1
作者
Yue, Yajie [1 ]
Sha, Chenming [1 ]
Zhang, Xiaojing [1 ]
机构
[1] School of Software, Harbin University of Science and Technology, Harbin
关键词
Communication Delay; Host Link Protocol; PLC; Serial Communication;
D O I
10.4156/ijact.vol4.issue18.10
中图分类号
学科分类号
摘要
The host link communication protocol between host computer and PLC (Programmable Logic Controller) is introduced in this paper, and a method of using API (windows application program interface) to realize serial communication between host computer and PLC is proposed, the software design process and the corresponding procedures of serial communication between host computer and PLC are given. Through reading or writing operations, data exchange between host computer and PLC are realized, which can effectively carry out the industrial field device monitoring and management. Taking OMRON CJ1H Series PLC as the testing object, testing software is written for verifying the function of the system. When the communication between host computer and PLC start, there are the reading delay and the writing delay which may seriously affect communication rate. By testing, the important data about delay time are obtained. It also shows the relationship between communication delay and byte length. According to obtained data, methods of improving the communication delay are given. The testing results show that the method is effective and real time in communication, and has the engineering application value.
引用
收藏
页码:80 / 88
页数:8
相关论文
共 10 条
[1]  
Sun Q., Liu X., A Distributed QoS Routing Algorithm for Broadband PLC Networks, International Journal of Advancements In Computing Technology, 3, 8, pp. 231-237, (2011)
[2]  
Sun X., Zhao F., The research of synchronization control with PLC based on the bus of serial communications, Circuits, Communications and System (PACCS), 2, pp. 228-231, (2010)
[3]  
Xingguo S., Zhencai Z., Guangzhu C., Guohua C., Realization and Performance of Serial Communication between Different Kinds of PLC, Information and Computing Science, 1, pp. 62-65, (2009)
[4]  
Shuleng D., Fang W., Jinlan Y., Lihui W., Serial-Communication between PLC and Host Computer in the Control System of the Waste Water Pump, Intelligent Human-Machine Systems and Cybernetics (IHMSC), 1, pp. 77-80, (2010)
[5]  
Zhang H., Wei X., Su R., The research and application of realizing the serial communication programming between computer and Omron PLC based on VB MSComm communication control, Automation & Instrumentation, 4, pp. 74-77, (2010)
[6]  
Gee-Swee P., Chye-Guan C., Modeling of the XOM/XMP application programming interface (API), Communications Magazine, IEEE, 34, pp. 134-144, (2002)
[7]  
Ruth A., Jie Y., Research to Improve Communication by Animated Pedagogical Agents, Journal of Next Generation Information Technology, 3, 1, pp. 58-69, (2012)
[8]  
Fan Y., Jiang W., Chen L., Serial Communication Control Based C++ Build and RS232, (2002)
[9]  
Liu Z., Xu H., Pan Y., Ding Q., Realization of serial port communication between the PLC and the host-computer based on Host Link protocol, Journal of Hefei University of Technology, 31, 12, pp. 1940-1943, (2008)
[10]  
Zheng L., Zhijun Y., Haitao L., Joint Channel-Network Coding in Cooperative Communication: Outage Behavior and Resource Allocation, Advances In Information Sciences and Service Sciences, 4, 5, pp. 106-113, (2012)