
Program instructions
7.10 Interrupt
S7-200 SMART
322
System Manual, V2.3, 07/2017, A5E03822230-AF
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
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.
Non-fatal errors with ENO = 0
SM bits affected
•
0004H Attempted ENI or DISI exe-
cution disallowed in an interrupt
routine
None