Siemens SIMATIC S5-95F Manual page 341

Table of Contents

Advertisement

S5-95F
Communication and Diagnostic Bytes for Responses to OB2 Interrupts
Input bytes IB 56 to IB 58 have been reserved in order to make it possible to respond to interrupts
without invoking OB2.
Additional Communication and Diagnostic Bytes for Processing Interrupts with Routines
Other than OB2
Table 12-5. Communication and Diagnostic Bytes for Responses to OB2 Interrupts
Address
Communication byte
IB 56
Diagnostic byte for
IB 57
"OB2 interrupts"
Diagnostic
IB 58
"DQs reset in OB2"
Diagnostic Byte IB 57
Diagnostic Byte IB 57
7
6
5
4
Diagnostic Byte IB 58
Diagnostic Byte IB 58
7
6
5
4
EWA 4NEB 812 6210-02
Task
The user program, except OB2, can write random
information into IB 56. The user can then evaluate this
information in OB2.
The operating system uses IB 57 to identify OB2
interrupts. This byte can then be evaluated and reset in
the user program (outside OB2).
byte
for
The operating system uses IB 58 to identify the onboard
DQs reset in OB2. This byte can then be evaluated and
reset in the user program (outside OB2).
3
2
1
0
3
2
1
0
Comments
Bit for I 59.0
Bit for I 59.1
Bit for I 59.2
Bit for I 59.3
DQ 32.0 was reset in OB2
DQ 32.1 was reset in OB2
DQ 32.2 was reset in OB2
DQ 32.3 was reset in OB2
DQ 32.4 was reset in OB2
DQ 32.5 was reset in OB2
DQ 32.6 was reset in OB2
DQ 32.7 was reset in OB2
Interrupt Processing
12-5

Advertisement

Table of Contents
loading

Table of Contents