S5-95F
Interrupt Processing
Ascertaining the Cause of an Interrupt
Positive and/or negative signal edges trigger interrupts at one or more interrupt inputs.
In this case,
•
OB3 is invoked, if programmed
•
The relevant bit in diagnostic byte IB 61 .. 63 is set to "1", even when OB3 has not been
programmed.
Diagnostic Byte IB61
7
6
5
4
3
2
1
0
OB3 interrupt at input I 59.1
Counter A caused OB3 interrupt
Counter B caused OB3 interrupt
OB3 interrupt at input I 59.0
OB3 interrupt at input I 59.2
OB3 interrupt at input I 59.3
Diagnostic Byte IB62
7
6
5
4
3
2
1
0
OB3 interrupt at input 32.0
OB3 interrupt at input 32.4
OB3 interrupt at input 32.1
OB3 interrupt at input 32.2
OB3 interrupt at input 32.3
OB3 interrupt at input 32.5
OB3 interrupt at input 32.6
OB3 interrupt at input 32.7
Diagnostic Byte IB63
7
6
5
4
3
2
1
0
OB3 interrupt at input 33.0
OB3 interrupt at input 33.4
OB3 interrupt at input 33.1
OB3 interrupt at input 33.2
OB3 interrupt at input 33.3
OB3 interrupt at input 33.5
OB3 interrupt at input 33.6
OB3 interrupt at input 33.7
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
The bits are immediately read into the PII (there is no waiting until it is time for the cyclic read-in).
EWA 4NEB 812 6210-02
12-11