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地址映射关系

转载请注明出处:  https://www.cntworld.cn
智能工控 » 200Smart与仪表的modbus通讯

640 评论

  1. I’m extremely impressed with your writing talents as smartly as with the structure in your blog. Is this a paid topic or did you modify it your self? Anyway keep up the excellent quality writing, it’s uncommon to see a nice blog like this one nowadays. I like cntworld.cn ! It’s my: Lemlist

  2. Great article. I found the information highly useful. Appreciated the method you explained the content.

  3. I’m really impressed together with your writing skills as smartly as with the format on your weblog. Is this a paid theme or did you customize it yourself? Anyway stay up the excellent quality writing, it is uncommon to see a great weblog like this one these days. I like cntworld.cn ! It is my: Snipfeed

  4. Great entry. I thought the details extremely helpful. Appreciated the method you explained everything.

  5. Loved the information in this post. It’s very comprehensive and packed with useful details. Excellent work!

  6. Great entry. I thought the details extremely useful. Appreciated the way you explained the content.

  7. Genuinely appreciated going through this article. It’s very clear and full of valuable details. Thanks for sharing this.

  8. This article is wonderful! Packed with helpful details and extremely clear. Many thanks for providing this.

  9. This post is great. I learned tons from reading it. The content is highly educational and structured.

  10. Really liked going through this article. It’s very well-written and filled with valuable insight. Thanks for providing this.

发表回复

提供最优质的资源集合

立即查看 了解详情
文章加载时间:2.4255 秒