摘要
FINS协议用于OMRON的CompoBus/D、Controller Link、Ethernet等网络以及网络之间的通信。简要介绍了FINS协议,研究了基于FINS协议实现上位机和PLC串行通信的方法。PLC选用OMRON CP1H型机,上位机采用Visual C++6.0编程,调用FINS指令向PLC发送命令,与PLC进行信息交换。给出串口初始化、发送数据和接收数据等各部分程序代码。该方法为进一步开发基于FINS协议的PLC监控系统提供了有价值的参考。
FINS Protocol can be used in the OMRON networks communication such as CompoBus/D, Controller Link, Ethernet. Principles of FINS protocol were introduced briefly. The serial communication method between master computer and PLC based on FINS protocol was in- vestigated. OMRON CP1H PLC was chosen as a remote slave. The program in master computer used Visual C++ 6.0 was introduced and message exchange was realized by sending FINS command to PLC. This method can be further developed as a simple, remote and real time supervision method based on FINS protocol.
出处
《中国农机化》
北大核心
2012年第5期153-156,共4页
Chinese Agricul Tural Mechanization