Addressing
S5-115F Manual
Interrupt processing
There must be a precise response to an interrupt in OB 2 once the interrupt has been enabled.
This block is called by the module with the PRAL-N
1
signal (process interrupt). This signal is pro-
duced as follows:
The interrupt flag is ”1” if an interrupt is present, irrespective of the type of pulse edge generating
the interrupt.
Every interrupt request is stored until the interrupt is serviced. The module reports the request via
the internal bus system of the CPU (PRAL-N signal).
This produces the following chronological sequence:
Subunit A
Interrupt request
PRAL-N
Call OB 2
with LPY, LPW
Evaluation of the inputs
Response time of the
6ES5 434-7LA12
interrupt module
(typ. 1 ms)
Response time
of the
CPU
Subunit B
Interrupt request
PRAL-N
Call OB 2
with LPY, LPW
Evaluation of the inputs
Synchronization of
interrupt processing
Synchronization of
interrupt processing
Figure 5-11. Chronological Sequence of Interrupt Processing
Every input enabled for the interrupt must be scanned in OB 2. The address of the inputs is
obtained by incrementing the initial module address by one.
Example:
Scanning inputs 0 and 1 of the module with the initial address 8 for an interrupt.
Interrupt register is read.
The information is transferred to the PII.
Scan input 0.
Process interrupt 0 in PB 1.
Scan input 1.
Process interrupt 1 in PB 2.
STL
Meaning
L
PY
9
T
IB
9
A
I
9.0
JC
PY
1
A
I
9.1
JC
PY
2
BE
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
1
Negation of the PRAL signal
5-14
EWA 4NEB 811 6148-02