文档介绍:2
2
2 2
2
2
2
2 2
电气传动 2009 年第 39 卷第2 2 期 EL ECTRIC DRIV E 2009 Vol. 39 No. 2
基于 CP341 模块的 MODBU S 协议
免驱动应用
边凌燕
(南京工业大学信息科学与工程学院,江苏南京 210009)
摘要:介绍了在 SIEMENS PLC 控制系统中利用 CP341 模块编程实现 Modbus RTU Master/ Slave 通信
的应用。分别建立 PLC 作从机与 DCS 的通讯,及作主机与现场仪表的通讯,传送的数据是可靠有效的。实
际应用结果表明,此方案免除了购买 SIEMENS 公司 Modbus 协议驱动模块的额外开销,具有值得推广的经
济意义。
关键词:Modbus 协议;串行通讯;CP341 通讯模块
中图分类号: TP273 文献标识码:A
Non driver Application of Modbus Protocol Based on CP341 Module
BIAN Ling yan
( College of Inf ormation Science and Engineering , N anjing University of Technology ,
N anjing 210009 , J iangsu, China)
Abstract : The realization of Modbus RTU Master/ Salve protocol based on SIEMENS CP341 point to
munication module was focally described. In a practical packaging control system , PLC with Modbus
RTU Master/ Slave protocol is connected to local instruments and DCS , and data is transmitted reliably and ef
fectively. This scheme has promoting economic significance , for avoiding the expense of SIEM ENS driver
module of Modbus protocol.
Key words :Modbus protocol ; munication ; munication module
以屏蔽双绞线连接,作 Modbus 总线主站通讯,需
1 引言
要对现场设备进行数据采集;与 Honeywell TDS
越来越多的现场设备支持 Modbus 协议进行型 DCS 以光缆连接,作 Modbus 总线从站通讯,
远程操控。这对于很多基于 SIEM ENS PL C 实接受来自中控室操作指令。
现的控制系统,就需要购买额外的协议驱动模块
3 Modbus 协议介绍
来完成通信,因而增加了系统开发的经济成本。
本文结合某化工厂包装控制系统的开发实例,介 Modbus 协议是 MODICO