EtherCAT diagnostics
The EtherCAT Diagnostics Extension provides an interface for diagnosing the EtherCAT fieldbus and the topology of the target system. Visualization in the client is handled by the EtherCAT Diagnostics Control.
Create a link to a target system
The TwinCAT HMI Diagnostic Extension “Beckhoff.TwinCAT.HMI.EcDiagnostics” and the Control Package “Beckhoff.TwinCAT.HMI.EcDiagnosticsControl” must be installed via the NuGet packages.
- 1. Set the connection to the EtherCAT master via the configuration page of the extension.
To do this, the NetID of the target and of the master must be specified.
These can also be defined with relative IDs:
- The local system is addressed via the target NetID “0.0.0.0.1.1”.
- The master NetID 0.0.0.0.1.2. is used to address the master with the ending .2 from the system addressed via the target NetID.
- 2. Read the current status of the connection in the Diagnostics menu window.
Configuring the EcDiagnostics Control
- 3. After installing the “Beckhoff.TwinCAT.HMI.EcDiagnosticsControl” package, add the control to the Designer using drag and drop.
- 4. Establish the connection to the server extension configuration in Control Properties > Common via the “Device” parameter by entering the name of the configuration here.
- 5. Test the control in Live View. The diagnostic data is also available there.
EcDiagnostics Control Overview
The defined EtherCAT masters and the connected elements are displayed in the control.
The status color at the top of the elements indicates their state.
The tooltip displays additional information about the elements.
You can get additional information by double-clicking on the respective element. Here you can also set values for terminals or read the online values.