回复:S7-1200编程中的EN/ENO机制

已锁定

东方红一红

西门子1847工业学习平台

  • 帖子

    6814
  • 精华

    50
  • 被关注

    145

论坛等级:至圣

注册时间:2003-07-12

钻石 钻石 如何晋级?

发布于 2020-03-28 12:27:27

1楼

Basics of the EN/ENO mechanism   

Glossary 

Enabling and disabling the EN/ENO mechanism 

Introduction


Runtime errors that require a program abort can occur during the processing of instructions. You can use the EN/ENO mechanism to avoid such program aborts. This mechanism can be used at two levels:


EN/ENO mechanism for individual instructions


EN/ENO mechanism for block calls


EN/ENO mechanism for instructions in LAD/FBD


In LAD and FBD, certain instructions have an enable input EN and an enable output ENO. 


You can use the enable input EN to make the execution of the instruction dependent on conditions. The instructions are only executed if the signal state is "1" at the enable input EN. 


You can use the enable output ENO to query runtime errors in instructions and react to these.


The enable output ENO returns the signal state "1" if one of the following conditions applies:


No error occurred during processing.


The enable output ENO returns signal state "0" if one of the following conditions applies:


The EN input has signal state "0".


An error occurred during processing.


The EN/ENO mechanism is used for the following basic instructions:


Mathematical functions


Move operations


Conversion operations


Word logic operations


Shift + rotate


知其道,用其妙!
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-1200系列

共有15726条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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