Function block MCV_AxesGroup
FB MCV_AxesGroup updates data of structure AXES_GROUP_REF. Therefore, the FB has a IN/OUT variable of that type. Additional tasks of the FB are:
- Register an axes group at the MCE via HLI. This is done by setting flag ‘plc_present_w’ at the axes group specific HLI area.
- FB checks during initialization if axes are assigned to the axes group. In this case these axes are added to the PLC internal axes group representation without commanding a MC_AddAxisToGroup FB.
- Take over of error messages that are notified at axes group specific HLI area.
One instance of this FB must be created for each axes group that is handled by a PLC application and you have to assign the axes group reference by using an element of the array gAxesGroupRef[i].
To ensure this requirement ISG-MCP contains FB MCV_P4_PLATFORM (see Function block MCV_P4_PLATFORM), this FB has to be called in a program of a PLC application. It guarantees that data of the axes group are refreshed each PLC cycle.