MC_GrpReadActPos
This function block supplies the current axis positions for the axes of an axis group.
Block diagram
FB parameters
| VAR_IN_OUT | ||
| Variable name | Data type | Description | 
| AxesGroup | AXES_GROUP_REF | Axis group reference | 
| VAR_INPUT | ||
| Variable name | Data type | Description | 
| Enable | BOOL | When “Enable” is TRUE, this FB supplies the current position of all axes in an axis group in the PCS at the Position output. | 
| CoordSystem | MC_COORDINATE_SYSTEM | Defines the coordinate system used to display the current axis positions. 
 mcACS = 0: Axis coordinate system 
 mcPCS = 2: Programming coordinate system 
 The input is defaulted to the value mcPCS. | 
| VAR_OUTPUT | ||
| Variable name | Data type | Description | 
| Valid | BOOL | When this output is TRUE, the values at the Position output are valid. | 
| Busy | BOOL | A long as the output is TRUE, the FB updates the values at the “Position” output. | 
| Error | BOOL | TRUE indicates that an error occurred. | 
| ErrorID | WORD | Error code | 
| Position | ARRAY [0..HLI_CH_AX_MAXIDX] OF LREAL | Array with current positions Default unit [0.1 µm] 
 If CoordSystem = mcACS, the axis coordinate system is used for the positions. The positions of gantry slave axes are also displayed. 
 If CoordSystem = mcPCS, the programming coordinate system is used for the positions. The positions of gantry slave axes are not displayed. |