Tutorial for FB_CoE_DiagHistory_ReadAxis

FB_CoE_DiagHistory_ReadAxis

The following tutorial describes a simple implementation of FB_CoE_DiagHistory_ReadAxis.

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