回复:请教高手:如何利用s7-200的高速计数器测电机转速?给个例子。谢谢!EMAIL:wzjsdstu@163.com

Am_Programer

  • 帖子

    641
  • 精华

    2
  • 被关注

    3

论坛等级:侠士

注册时间:2003-06-06

普通 普通 如何晋级?

发布于 2004-04-04 19:17:13

0楼

采样时间一秒应该用定时吧,
Special Memory Byte 0 (SM0.0 - SM0.7) provides eight bits that are updated by the S7-200 CPU at the end of each scan cycle. You can use these bits to invoke functions in your program.

SM Bits(Read Only) Des cription

SM0.5 This bit provides a clock pulse that is on for 0.5 seconds and then off for 0.5 seconds for a cycle time of 1 second. It provides an easy-to-use delay or a 1-second clock pulse.

用上升或下降沿就可以有1秒定时了。

然后就是高速计数HSC(如不会用F1、搜索HSC)

再后就是加减乘除了吧。
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-200

共有33257条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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