Representation of the analog values of analog modules
5.8 Diagnostics functions of analog modules
S7-300 Automation System Module data
5-32 Manual, 08/2006, A5E00105505-04
5.8 5.8 Diagnostics functions of analog modules
Programmable and non-programmable diagnostic messages
We distinguish between programmable and non-programmable diagnostic messages.
You only obtain programmable diagnostic messages if you have enabled diagnostics at the
relevant parameters. Program these functions in the "Diagnostics" parameter block in
STEP
7
.
The the analog module always provides non-programmable diagnostic messages,
irrespective of the enable state of diagnostics functions.
Reactions to a diagnostic message in
STEP 7
Actions initiated by diagnostic messages:
● The diagnostic message is written to the diagnostics buffer of the analog module, and is
then passed to the CPU.
● The error LED on the analog module is lit.
● When "Enable Diagnostic Interrupt" is set in STEP 7, the system triggers a diagnostic
interrupt and calls OB82.
Reading diagnostic messages
You can read detailed diagnostics messages in the user program using SFCs.
Viewing the cause of error
You can view the cause of the error in the module diagnostics data in
STEP 7
(refer to the
STEP 7
Online Help.)
Diagnostics message included in the measured value of analog input modules
All analog input modules return the measured value 7FFF
H
as a reaction to errors,
irrespective of parameter settings. This measured value indicates either overflow, error, or a
disabled channel.
Diagnostic message using the SF LED
All analog modules indicate errors at their SF LED (group error LED.) The SF LED lights up
when the analog module triggers a diagnostic message. It goes dark after all error states are
cleared.
See also
Programming analog modules (Page 5-31)