回复:FM350-2高速计数模块的使用

西门子PLC学员

  • 帖子

    686
  • 精华

    5
  • 被关注

    7

论坛等级:侠士

注册时间:2005-11-22

黄金 黄金 如何晋级?

发布于 2008-04-27 20:21:48

0楼

Direct Access
To access count and measurement values in the set user area (USER STAT)
quickly from every program level, you can also use direct access with L PIW and
L PID. For L PIW use the module address plus offset 8 to offset 14 as the address;
for L PID use the module address plus offset 8 to offset 12 as the address.
You structure the area from module address + offset 8 in the parameter
assignment dialog boxes for the FM 350-2 using the menu command Edit >
Specify Channels.
Here you specify which value (count or measurement value) for which channel
(0 to 7) should be stored at which module address. Either the low word or the high
word of a value or both can be used.
The values are updated every 2 ms.
Consistency between the values when using direct access is only guaranteed if
you access the values as follows in accordance with the structure of this area:
Low word or high word of the value
L PIW
possible addresses = module address +8, +10, +12, +14
Both
L PID
possible addresses = module address +8, +12
我个人认为DBW44,DBW46,DBW48,DWB50对应的就是上面的PIWx+8,PIWx+10,PIWx+12,PIWx+14,这些要在“指定通道”中配置好。
学如逆水行舟,不进则退
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-300/400

共有54619条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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