200Smart与仪表的modbus通讯
仪表的功能码:0x03:读保持寄存器
0x04:读输入寄存器
仪表的输入寄存器地址 0x0001 温度值 2字节
0x0002 湿度值 2字节
Modscan32软件充当主站,用485线将仪表和电脑连接。
在MODSCSAN32软件中,配置—》显示选项—》显示数据流
注意:Modscan32软件与仪表通讯时,PLC就无法与仪表通信了,因为Modbus是
单主站通讯。Modscan32充当主站,PLC就无法当主站了。
由PLC作为主站跟仪表进行通讯:
当有多个Modbus仪表时,要修改仪表的设备号
当连接有多个Modbus仪表时,需要通过Modscan32软件修改每个仪表的设备号
然后再连入PLC进行通讯。
此时已把默认的站地址1改成了站地址2了。
MODBUS(客户端和服务端)指令的管脚定义
Modbus地址与S7-200Smart CPU地址映射关系
Fantastic article. I found the details highly helpful. Loved the manner you explained everything.
This article is highly enlightening. I truly valued perusing it. The content is extremely well-organized and easy to comprehend.
This is fantastic. I learned plenty from reading it. The details is extremely enlightening and well-organized.
Fantastic article. I thought the details highly helpful. Appreciated the way you detailed everything.
This article is incredibly educational. I really valued reading it. The details is very well-organized and simple to comprehend.
This article is fantastic! Filled with helpful information and very well-written. Thank you for offering this.
This article is great. I gained tons from going through it. The details is highly educational and well-organized.
Really appreciated reading this article. It’s very well-written and full of helpful details. Thank you for sharing this.
Truly enjoyed this post. It provided plenty of useful insights. Excellent work on creating this.
Very useful! Very happy.