B-1
Programmable Logic Controllers S7-300 Module Data
A5E00105505-03
Diagnostics Data of Signal Modules
In this Appendix
Section Contents Page
B.1 Evaluating Diagnostic Data of the Signal Modules in the
User Program
B-1
B.2 Structure and Content of Diagnostic Data Bytes 0 to 7 B-2
B.3 Channel-Specific Diagnostic Data from Byte 7 B-5
B.4 Diagnostic data of the SM 338; POS-INPUT B-7
B.1 Evaluating Diagnostic Data of the Signal Modules in the
User Program
In this Appendix
This Appendix describes the structure of the diagnostic data in the system data.
You must be familiar with this configuration if you want to evaluate the diagnostics
data of the signal module in the STEP 7 user program.
Diagnostic data are contained in data records
The diagnostic data of a module can be up to 16 bytes long and are contained in
data records 0 and 1:
• Data record 0 contains 4 bytes of diagnostic data that describe the current
status of a programmable logic controller.
• Data record 1 contains the four bytes of diagnostic data that are also contained
in data record 0 and as many as 12 bytes of module specific diagnostic data.
Further references
An in-depth description of the principle of evaluating the diagnostic data of signal
modules in the user program and a description of the SFCs that can be used for
that purpose will be found in the STEP 7 manuals.
B