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.

EtherCAT diagnostics 1:
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:
EtherCAT diagnostics 2:
2. Read the current status of the connection in the Diagnostics menu window.
EtherCAT diagnostics 3:

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.

EtherCAT diagnostics 4:

The status color at the top of the elements indicates their state.

EtherCAT diagnostics 5:

The tooltip displays additional information about the elements.

EtherCAT diagnostics 6:

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.

EtherCAT diagnostics 7:
EtherCAT diagnostics 8: