Interrupt; Interrupt Instructions - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Program instructions

7.10 Interrupt

7.10
Interrupt
7.10.1

Interrupt instructions

When you make the transition to RUN mode, interrupts are initially disabled. In RUN mode,
you can enable interrupt processing by executing the ENI (enable Interrupt) instruction.
Executing the DISI (disable interrupt) instruction inhibits the processing of interrupts;
however, active interrupt events will continue to be queued.
ENI, DISI, and CRETI
LAD
FBD
Non-fatal errors with ENO = 0
0004H Attempted ENI or DISI exe-
cution disallowed in an interrupt
routine
322
STL
Description
ENI
The enable interrupt instruction globally enables processing of all attached inter-
rupt events.
DISI
The disable interrupt instruction globally disables processing of all interrupt
events.
CRETI
The conditional return from interrupt instruction can be used to return from an
interrupt, based upon the condition of the preceding program logic.
SM bits affected
None
System Manual, V2.3, 07/2017, A5E03822230-AF
S7-200 SMART

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents