回复:200PLC和富士温控表通讯后数据处理问题

曾国胜

  • 帖子

    7
  • 精华

    0
  • 被关注

    1

论坛等级:游民

注册时间:2013-03-12

普通 普通 如何晋级?

发布于 2014-04-27 20:09:45

2楼

5. modbus COMMUNICATION PROTOCOL
5.1 General
The communication system by the modbus protocol is that the communication is always started from the master
station and a slave station responds to the received message.
Transmission procedures is as shown below.
1) The master station sends a command message to a slave station.
2) The slave station checks that the station No. in the received message matches with the own station No. or
not.
3) If matched, the slave station executes the command and sends back the response message.
4) If mismatched, the slave station leaves the command message and wait for the next command message.
a) In case when the station No. in the received command message matches with the own slave station No.
Command message
Response message Slave to master
Master to slave Data on
the line
b) In case when the station No. in the received command message mismatches with the own slave station
No.
Command message
(Not respond) Slave to master
Master to slave Data on
the line
The master station can individually communicate with any one of slave stations connected on the same line upon
setting the station No. in the command message.
这是表的通讯你帮我看看要如何处理啊
我用标准的通讯案例读出来的数据是占2个位的,不知咋搞
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-200

共有33299条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
X 图片
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。