
Testing functions, Diagnostics and Fault Elimination
S7-300 Programmable Controller Hardware and Installation
10-28
A5E00105492-01
Byte y+1 contains the code for diagnostic
interrupt (01
H
)
Byte y+1 contains the code for process
interrupt (02
H
)
The diagnostic data contain 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.
You can program 4 bytes of interrupt information for
the process interrupt. You pass these four bytes in
STEP 7 to the master using SFC 7 "DP_PRAL" .
Bytes y+4 to y+7 for diagnostic interrupts
The figure below shows the structure and content of byte y+4 to y+7 for diagnostic
interrupts. Data in these bytes correspond to the contents of data record 0 of
diagnostic data in STEP 7 (in this case, not all bits are used).
0: CPU mode RUN
1:
STOP
CPU mode
Indentification for transfer
memory address area
Byte y + 7
0: Modules o.k.
1: Module fault
Byte y + 6
Byte y + 5
Byte y + 4
7
6 5 4 3 2 1 0 Bit Nol
0 0 0 0 0 0 0
7
6 5 4 3 2 1 0 Bit No.
0 0 0 0 1 0 1 1
0 0 0 0 0
0 0
0 0 0 0 0 0 0 0
7 6 5 4 3 2 1 0 Bit No
7
6 5 4 3 2 1 0 Bit No.
Figure 10-11
Byte y+4 to y+7 for Diagnostic/Process interrupts
Содержание Simatic S7-300
Страница 10: ...Contents S7 300 Programmable Controller Hardware and Installation x A5E00105492 01 ...
Страница 16: ...Preface S7 300 Programmable Controller Hardware and Installation 1 6 A5E00105492 01 ...
Страница 22: ...Quick Guide S7 300 Programmable Controller Hardware and Installation 2 6 A5E00105492 01 ...
Страница 28: ...Product overview S7 300 Programmable Controller Hardware and Installation 3 6 A5E00105492 01 ...
Страница 74: ...Configuring S7 300 Programmable Controller Hardware and Installation 4 46 A5E00105492 01 ...
Страница 102: ...Wiring S7 300 Programmable Controller Hardware and Installation 6 18 A5E00105492 01 ...
Страница 148: ...Commissioning S7 300 Programmable Controller Hardware and Installation 8 36 A5E00105492 01 ...
Страница 236: ...Glossary S7 300 Programmable Controller Hardware and Installation 12 16 A5E00105492 01 ...