Tutorial for FB_CoE_DiagHistory_Read

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 for FB_CoE_DiagHistory_Read 1:
The connected hardware can be read via "Scan".
Tutorial for FB_CoE_DiagHistory_Read 2:
2. You can then make the ADS address of the desired slave visible/linkable in the "Advanced EtherCAT Settings".
Tutorial for FB_CoE_DiagHistory_Read 3:
3. You can now declare the following variables.
Tutorial for FB_CoE_DiagHistory_Read 4:
IstAmsAdr is linked to the AMS address of the desired slave.
Tutorial for FB_CoE_DiagHistory_Read 5:
The FB is called as in the example project.
Tutorial for FB_CoE_DiagHistory_Read 6: