摘要
为解决PLC设备的人机交互性能差的问题,分析了已广泛应用于PLC、变频器和自动化仪表等设备的Modbus协议,介绍了Modbus通讯数据如何在芯片中组成消息帧;并结合目前在工业领域使用较为广泛的SIEMENS S7-200系列PLC及STC89C58RD单片机,详细阐述了MCU与PLC之间通讯的实现。研究结果表明,该方法使PLC设备可通过系统的人机界面程序进行控制,增加了其交互性能。
In order to solve the poor man-machine exchange performance of PLC equipment, the Modbus protocol was analyzed which has been widely used in PLC, inverter and other automation instrumentation, and also it was introduced that how to composite the message frame in the chip. In addition, combined with SIEMENS S7-200 series PLC and STC89C58RD single-chip, it was elaborated that how to realize the communication between the MCU and the PLC. The results show that it lets the PLC devices be controlled by the system man-machine interface program, in order to address their shortcoming in man-machine exchange.
出处
《机电工程》
CAS
2010年第4期52-54,75,共4页
Journal of Mechanical & Electrical Engineering