System diagnostics by means of the user program
5.2 System diagnostics using process image inputs
Diagnostics
74
Function Manual, 11/2019, A5E03735838-AF
Evaluation of the value status
If you have enabled the value status for an I/O module, this module provides additional
information on the value status in addition to the user data. This information is directly
available in the process image input and can be called with simple binary operations.
Each channel is uniquely assigned one bit in the value status. The bit in the value status
indicates the validity of the read-in value in the user data.
Table 5- 2
Example for evaluation of the user datum in case of a wire break for a digital input module
Bit in user datum
Bit in value status
Value in user datum
Faulty channel
Logical 0
0
Invalid
Fault-free channel
Logical 0 (actual value)
1
Valid
Influence of the value status
The value status of an active channel is "Invalid" when any one of the following factors is
given:
●
Channel diagnostics pending (regardless of whether diagnostics, for example wire break,
is configured for this channel)
●
For output channels: "Reaction to CPU STOP" feature is active (due to CPU STOP,
interrupted connection)
●
For output channels of the digital on-board I/O of compact CPUs: If a channel is used for
technology functions, it returns the value status 0 ("Invalid"). It does not matter in this
context whether the output value is incorrect or not.
●
PROFIenergy is active, i.e. hibernation is enabled (except in "Continue working mode")
When working with non-fail-safe modules, note that an invalid active channel also sets the
value status of all other active channels to "Invalid". We therefore recommend that you
disable all unconnected or unused channels.
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......