Disable/Enable Interrupt, For Cpu 103 Version 8Ma02 And Higher - Siemens SIMATIC S5-100U System Manual

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

S5-100U
8.2.8

Disable/Enable Interrupt, for CPU 103 Version 8MA02 and Higher

The disable/enable interrupt operations affect interrupt-driven and time-controlled program scanning.
They prevent process or time interrupts from interfering with the processing of a sequence of state-
ments or blocks. Table 8-18 lists the disable/enable interrupt operations. An example follows the
table.
Table 8-18. Disable/Enable Interrupt Operations
Operation
Operand
IA
RA
Processing
Execution of the disable/enable interrupt operations does not depend on the RLO. These operations
do not affect the RLO or the condition codes. After the "IA" statement is processed, no more
interrupts are executed. The "RA" statement cancels the effect of "IA".
Example
Disable interrupt processing in a
specific program section and then
enable it again.
EWA 4NEB 812 6120-02b
Disable interrupt
Enable interrupt
STL
.
.
.
.
.
=
Q
IA
A
I
.
.
.
JU
FB
.
.
.
RA
.
.
.
STEP 5 Operations
Meaning
Explanation
1.0
Disable interrupt.
0.0
If an interrupt occurs, the program
3
section between the "IA" and
"RA" is scanned without
interruption.
Enable interrupt.
Interrupts that occurred in the
meantime are processed after the
"RA" operation.
8-53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents