Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

内容分享2个月前发布
0 0 0

00001-09999为可读写bit类型

10001-19999为只读bit类型

30001-39999为只读输入字类型

40001-49999为可读写字类型

1.新建一个项目

2.新建一个连接

选择通讯驱动程序为Modicon MODBUS V3

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

主站配置参数如下

接口为IF1B

类型为RS485

波特率为9600

数据位为8位

停止位为1位

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

网络组帧为RTU Standard

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

从站地址为1

CPU类型为默认的984

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

3.新建一个画面

连接对应的变量 00001 10001 30001 40001

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

第一个IO域连接如下

00001为可读写,模式定义为输入输出

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

第二个IO域连接如下

10001为只读,模式定义为输出

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

第三个IO域连接如下

30001为只读,模式定义为输出

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

第四个IO域连接如下

40001为可读写,模式定义为输入输出

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

4.启动仿真运行

我打开modbusslave,配置如下

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

测试00001

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

测试10001

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

测试30001

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

测试40001

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

Smart IE 700 1000 Modbus RTU 通讯从站设备 WINCC flexible Smart

测试完毕。

© 版权声明

相关文章

暂无评论

none
暂无评论...