Part4_PLCopen program

This program contains variables representing the ..._REF data types (IDENT_IN_GROUP_REF, MC_PATH_DATA_REF, MC_PATH_REF) from the specification. They are created as local variables and organised in arrays.

The 1:1 relationship of the indices of the function block instance and the axis groups is created in the initialisation part. In addition, several input variables of function blocks are initialised so that the user can obtain practical values.

This is followed by the well-known FOR loop where all function block instances are calculated. Then comes the code to update the data required for display in visualisations.