回复:在S7-300中,如何实现S7-200中SM0.3的功能:即开机后进入RUN状态,ON一个扫描周期,请各位赐教.

东方红一红

版主 西门子1847工业学习平台

  • 帖子

    6806
  • 精华

    50
  • 被关注

    144

论坛等级:至圣

注册时间:2003-07-12

钻石 钻石 如何晋级?

发布于 2003-09-23 12:41:12

0楼

你必须在OB100中调用SFB21 “RESUME”,原理及注意事项如下。

If there is a rising edge at control input REQ, SFB 21 "RESUME" activates a hot restart on the remote device selected with the ID.
The following conditions must be met if the remote device is a CPU:

1、The CPU must be in the STOP mode.

2、The key switch of the CPU must be set to "RUN" or "RUN-P."

3、When you created the configuration with STEP 7, you allowed for a manual hot restart.

4、There must be no condition preventing a hot restart.

Once the hot restart has been completed, the device changes to the RUN mode and sends a positive execution acknowledgement. When the positive acknowledgement is evaluated, the status parameter DONE is set to 1. Any errors that occurred are indicated in the status parameters ERROR and STATUS.

A restart can only be activated again in the same remote device after the previous hot restart has been completed.
你的明白?更多解释请查看ONLINE HELP。
知其道,用其妙!
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-300/400

共有54787条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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