Project diagnostic
(Original Document)
At a Glance
The project diagnostic uses the diagnostic EFBs and DFBs and the diagnostic integrated in the SFC to generate alarms on the Diagnostic Viewer.
Each diagnostic EFB and each diagnostic DFB has its own specific operation described in the diagnostic library. If you cannot find the appropriate EFB or DFB among these elements, you can create your own diagnostic DFB.
NOTE: It is strongly recommended to only program a diagnostic DFB instance once within the application.
NOTE: As with the system diagnostic, the information viewed on the Viewer comes from the PLC's diag buffer, consequently the events are dated at the source and give the precise status of the process monitored.
Implementation of diagnostic EFBs or DFBs
The following table describes the procedure to follow to use the project with a diagnostic EFB or DFB on the Premium, Atrium and Quantum PLCs in Control Expert.
Step
Action
1
Select Tools → Project Settings
Result: the project settings configuration window is displayed.
2
In the Diagnostics area on the Build tab, check the Application diagnostics checkbox.
3
Choose the language of the messages in the Viewer.
4
Choose the Application level (alarm cause search level).
5
Confirm with OK.
6
Integrate the diagnostic EFBs or DFBs in your application.
Note: The messages displayed in the Viewer will be the comments you will have associated with the instances of your diagnostic EFBs or DFBs.
7
Build your project.
8
Transfer your project to the PLC.
9
Open the Diagnostic Viewer by selecting: Tools → Diagnostic Viewer.
Result: the system diagnostic is operational and each alarm generated by your EFBs or DFBs now appears in the Viewer.
Implementation of the SFC diagnostic
The following table describes the procedure to follow to use the SFC diagnostic on the Premium, Atrium and Quantum PLCs in Control Expert.
Step
Action
1
Select Tools → Project Settings
Result: the project settings configuration window is displayed.
2
In the Diagnostics area on the Build tab, check the Application diagnostics checkbox.
3
Confirm with OK.
4
Build your project.
5
Transfer your project to the PLC.
6
Open the Diagnostic Viewer by selecting: Tools → Diagnostic Viewer.
Result: the SFC diagnostic is operational and each alarm linked to the SFC now appears in the Viewer.
Error message display
The number of messages it is possible to display is limited only by the size of the memory buffer.When there is not enough memory, a message warns the user and any messages of errors that have disappeared or have been acknowledged (if necessary) are then deleted.
It is possible to modify the color of the messages and the blinking associated with an acknowledged message.
In the viewer, it is possible to show only those messages which come from one or more specific zones.
The list of messages can be sorted according to each field. To do this, simply click on the column header containing the data on the basis of which the sort is to be carried out.
A second click carries out the sort in opposite order.
By default, the error messages are inserted into the list in the chronological order in which they appear.