7HVWLQJIXQFWLRQVDQG'LDJQRVWLFV
S7-300 Automation System, Hardware and Installation: CPU 312IFM - 318-2 DP
11-28 A5E00203919-01
6WUXFWXUHRIWKHLQWHUUXSWGDWDIRUDSURFHVVLQWHUUXSWIURPE\WH\
When a process interrupt occurs (code 02
H
for process interrupt in byte y+1), 4
bytes of interrupt information after byte y+4 are transferred. These 4 bytes are
transferred to the intelligent slave using SFC 7 "DP_PRAL“ when the process
interrupt for the master is generated.
6WUXFWXUHRIWKHLQWHUUXSWGDWDZKHQDGLDJQRVWLFLQWHUUXSWLVJHQHUDWHGLQ
UHVSRQVHWRDQRSHUDWLQJVWDWXVFKDQJHE\WKHLQWHOOLJHQWVODYHDIWHUE\WH\
Byte y+1 contains the code for a diagnostic interrupt (01
H
). The diagnostic data
contains the 16 bytes of status information from the CPU. The figure below shows
the allocation of the first four bytes of diagnostic data. The next 12 bytes are
always 0.
The data in these bytes corresponds to the contents of data record 0 of diagnostic
data in 67(3 (in this case, not all bits are used).
0: Operating mode RUN
1: Operating mode STOP
Identifier for the intermediate
memory address area
Bytey+7
0: Module o.k.
1: Module fault
Bytey+6
Bytey+5
Bytey+4
7 6543210Bit No.
0000000
7 6543210Bit No.
00001011
00000 00
00000000
76543210Bit No.
7 6543210Bit No.
Note: byte y + 8 to byte y + 19 are always 0.
Figure 11-10 Bytes y+4 to y+7 for a diagnostic interrupt (operating status change by intelligent slave)