摘要
为了实现PLC通过其编程口与上位机进行数据传输,介绍了获得通过编程口对PLC进行读写控制的通讯格式的方法,建立了相应的通讯系统,给出了对PLC位元件和字元件进行读和写的四种类型指令通讯格式的实现步骤,用获得的操作指令和PLC的响应信息,就可以通过编程口对PLC的RAM区数据进行操作,为监控和管理PLC的运行提供了另外一种途径。
The way to acquire communication format of controlling PLC is introduced through reading and writing via programming port in order to realize data transform between host computer and programming port of PLC. The system is built, and the realization processing of acquiring four kind of command is given, including reading bit device, writing bit device, reading word device and writing word device. The RAM data of PLC can be transported via programming port by using the gained operating order and answer information. Another route to monitor and manage PLC is provided.
出处
《计算机测量与控制》
CSCD
2006年第6期818-820,共3页
Computer Measurement &Control
关键词
PLC
编程口
通讯格式
串行通讯
PLC
Programming port
communication format
serial communication