摘要
通过介绍计算机与三菱FX2NPLC一对多通信的链接方法、PLC端通信初始化设置以及通信过程中使用的命令代码和控制代码,阐述了计算机向PLC写入数据和读取数据时数据传送的格式和代码,最后通过具体实例给出了使用Visual FoxPro设计用户界面和通信程序的方法.
This paper briefly introduces the computer link,communication initialization settings on PLC side to achieve the one-to-many communication between a computer and multiple PLCs,and describes in detail the data transmission format and ASCII characters and hexadecimal codes when computer writing data to PLC or reading data from PLC.Finally a specific example was used to explain how to design a user interface and a communication program using Visual FoxPro.
出处
《湖北工业大学学报》
2012年第5期10-14,共5页
Journal of Hubei University of Technology