Commissioning and Diagnostics
6-49
ET 200S Distributed I/O System
EWA-4NEB 780602402-12
Interrupts
If the configuration was done with STEP 7, the interrupt data will be evaluated and
sent to the relevant organization function blocks (OBs).
The interrupt section for the ET 200S is structured as follows:
Byte x
76 054321
Code for device-specific diagnosis
Length of the interrupt section incl. byte x (= max. 48 bytes)
01000000
Byte x+1
76 054321
Interrupt type
0000001
B
: Diagnostic interrupt
0000010
B
: Process interrupt
0000011
B
: Remove interrupt
0000100
B
: Insertion interrupt
0
Byte x+3
76 054321
0
Interrupt sequence
number (1 to 31)
Diagnostic interrupt: 01
B
: at least one error is
pending
10
B
: going error
11
B
: Reserved
Process interrupt: 00
B
Remove interrupt: 00
B
for
IM151-1 HIGH FEATURE
01
B
for
IM151-1 STANDARD and
IM151-1 FO STANDARD
Insertion interrupt: 10
B:
correct module
inserted
11
B:
wrong module
inserted
Byte x+2
76 054321
00: IM151-1 (STANDARD, HIGH FEATURE) sends interrupt
01 to 63: Slot of the module returning the interrupt
Slot numbers
:
Byte x+4 to...
... byte x+43 ... Byte x+7 ... Byte x+8...
Diagnostic data
(contents of data
record 1)
Process
interrupt data
•
Remove/insertion interrupt
data for IM151-1 HIGH
FEATURE
•
not with
IM151-1 STANDARD and
IM151-1 FO STANDARD
Figure 6-27 Structure of the interrupt status of the interrupt section