回复:s7-200的MODBUS支持MODBUS的哪几种功能吗?

醉书生

  • 帖子

    718
  • 精华

    25
  • 被关注

    18

论坛等级:侠士

注册时间:2004-06-13

普通 普通 如何晋级?

发布于 2009-07-08 11:03:58

0楼

可能是你查的资料不全面,或协议版本不同
功能码22:Mask Write 4X Register
Modifies the contents of a specified 4XXXX register using a combination of an AND mask, an OR mask,
and the register’s current contents. The function can be used to set or clear individual bits in
the register. Broadcast is not supported.
This function is supported in the 984–785 controller only.
比如本站讨论过的用异或实现单键起停的技巧,如果用通讯实现就可以用这个功能码
功能码23:Read/Write 4X Registers
Performs a combination of one read and one write operation in a single modbus transaction.
The function can write new contents to a group of 4XXXX registers,
and then return the contents of another group of 4XXXX registers. Broadcast is not supported.
This function is supported in the 984–785 controller only.
用一条帧同时操作多个寄存器(不同于操作连续寄存器的功能码3、16)
生命存在的方式只有两种:腐烂或燃烧
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-200

共有33289条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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