MCV_GrpReadSetPos

The function block supplies the command positions of the tool centre point in the specified Cartesian machine coordinate system (MCS).

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

As long as the input is TRUE, the function block indicates the command positions of the tool centre point in the MCS at the “Position” output.

VAR_OUTPUT

Variable name

Data type

Description

Valid

BOOL

Is TRUE as long as command positions are supplied.

Busy

BOOL

TRUE indicates that the FB is active.

Error

BOOL

TRUE indicates that an error occurred when the information in the current error is read.

ErrorID

WORD

Error code

Position

ARRAY [0..HLI_CH_AX_MAXIDX] OF LREAL

Array containing the command positions of the tool centre point based on the MCS.