Tutorial

FB_CoE_DiagHistory_Read

The following tutorial documents a simple implementation of FB_CoE_DiagHistory_Read.

1. Create a new TwinCAT Solution and integrate the Tc3_EtherCATDiag libraries.
Tutorial 1:
The connected hardware can be read via "Scan".
Tutorial 2:
2. You can then make the ADS address of the desired slave visible/linkable in the "Advanced EtherCAT Settings".
Tutorial 3:
3. You can now declare the following variables.
Tutorial 4:
IstAmsAdr is linked to the AMS address of the desired slave.
Tutorial 5:
The FB is called as in the example project.
Tutorial 6:

FB_CoE_DiagHistory_ReadAxis

The following tutorial documents a simple implementation of FB_CoE_DiagHistory_ReadAxis.

1. Create a new TwinCAT Solution and integrate the libraries Tc3_EtherCATDiag and Tc2_MC2.
Tutorial 7:
2. You can read the connected hardware via "Scan". Motion axes can be created automatically in this step.
Tutorial 8:
3. You can declare the following variables.
Tutorial 9:
4. Link the refAxis to the desired axis.
Tutorial 10:
The FB is called as in the example project:
Tutorial 11: