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
Byte x+1
Byte x+2
Byte x+3
Byte x+4 to...
Figure 6-27
ET 200S Distributed I/O System
EWA-4NEB 780602402-12
7 6
5 4 3 2 1
0
0
0
1
0
0 0 0
Length of the interrupt section incl. byte x (= max. 48 bytes)
Code for device-specific diagnosis
7 6
5 4 3 2 1
0
Interrupt type
0000001
7 6
5 4 3 2 1
00: IM151-1 (STANDARD, HIGH FEATURE) sends interrupt
01 to 63: Slot of the module returning the interrupt
7 6
5 4 3 2 1
0
Interrupt sequence
number (1 to 31)
... byte x+43
Diagnostic data
(contents of data
record 1)
:
Structure of the interrupt status of the interrupt section
Commissioning and Diagnostics
0
0
: Diagnostic interrupt
B
0000010
: Process interrupt
B
0000011
: Remove interrupt
B
0000100
: Insertion interrupt
B
0
Slot numbers
0
Diagnostic interrupt:
Process interrupt:
Remove interrupt:
Insertion interrupt:
... Byte x+7
... Byte x+8...
•
Process
interrupt data
•
01
: at least one error is
B
pending
10
: going error
B
11
: Reserved
B
00
B
00
for
B
IM151-1 HIGH FEATURE
01
for
B
IM151-1 STANDARD and
IM151-1 FO STANDARD
10
correct module
B:
inserted
11
wrong module
B:
inserted
Remove/insertion interrupt
data for IM151-1 HIGH
FEATURE
not with
IM151-1 STANDARD and
IM151-1 FO STANDARD
6-49