摘要
本文针对控制系统中S7-200系列PLC与上位机通信的实际问题,利用S7-200中的Modbus从站协议指令块,用VB编写了S7-200系列与上位机的通信程序,界面友好,操作方便。上位机可以读写预先已经配置好的S7-200系列PLC中的V存储区,这就意味着上位机可以对PLC读写任何类型的数据,能够很好的满足实际控制系统的要求。
The communication program of the PLC with the host computer is based on the instruction block of Modbus protocol in S7-200 by using VB. The host computer can read and write the V memorizers in the S7 - 200 series PLC, so it can operate any kinds of data in PLC to meet the requirement of the control system.
出处
《自动化技术与应用》
2007年第9期79-81,共3页
Techniques of Automation and Applications