System diagnostics by means of the user program
5.2 System diagnostics using process image inputs
Diagnostics
Function Manual, 11/2019, A5E03735838-AF
75
Example - Evaluation of the value status for the input channel of an analog input module
The example below shows the basic evaluation of the value status for the input channel of
an analog input module in the user program. The diameter of a cylinder is measured by
means of a channel and its circumference is calculated.
●
If the value status indicates the channel is error-free, the circumference is to be
calculated.
●
If the value status indicates the channel is defective, the value "0" is to be output as
substitute value for the circumference.
The figure below shows the evaluation of the value status in the user program.
Figure 5-2
Example - Evaluation of the value status in the user program
Additional information
Depending on the I/O module, the value status reserves different addresses in the process
image input. The manual for the module used includes specific information on the
assignment and arrangement.
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: ......