While the notification of diagnosis messages at the display and the Automation Builder is enabled by default, the functionality to access diagnosis messages from within the IEC application needs to be explicitly enabled.
-
Double-click on the CPU in the device tree.
-
Select tab “PLC Settings”.
-
Under “Additional Settings” select “Enable Diagnosis for devices”.
Library CAA Device Diagnosis (namespace DED) is automatically included in the project. This library is needed for displaying and processing the device state.
In case the functionality of diagnosis is no longer needed in IEC application, we recommend to disable this setting.