Integrated visualization of Function \ Block CPU_DIAG¶
This section describes how to operate the visualization.
The following is output for each diagnosis entry:
- current error number “No.” |
- time stamps for errror Come / Gone / Acknowledge |
- “Error number” |
- short text and error text taken from “ERRORS.XML” |
In the upper area, the last diagnosis entry is displayed. This entry can be acknowledged by pressing the button <Ack / Quit>.
In the middle, the last 5 diagnosis entries are displayed after a FALSE/TRUE edge. The buttons on the left allow to navigate within the diagnosis buffer:
- <Ack / Quit> | - acknowledges the diagnosis entry displayed next to the button |
- arrow up | - next entry |
- arrow down | - previous entry |
- double arrow up | - 5 entries forward |
- double arrow down | - 5 entries back |
- Newest | - 5 entries back starting with the latest entry |
- Oldest | - 5 entries forward starting with the oldest entry |
Using the buttons below the diagnosis entries, errors can be acknowledged:
- <ACK all> | - acknowledges all errors |
- <ACK E1> | - acknowledges E1 errors (fatal errors) |
- <ACK E2> | - acknowledges E2 errors (severe errors) |
- <ACK E3> | - acknowledges E3 errors (light errors) |
- <ACK E4> | - acknowledges E4 errors (warnings) |
When acknowlegding errors, the Function Blocks DIAG_ACK and DIAG_ACK_ALL of the library SysInt_AC500_V10.lib are called.
If no diagnosis entries exist, the visualization in online mode looks as follows:
Remark: The PLC real-time clock (RTC) is not set in the example.
If errors exist, the visualization could, for example, appear as follows: