MC_READACTUALPOSITION
(Original Document)
Function Description
The MC_READACTUALPOSITION function is used to read the axis position.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
LD Axis
CAL MC_READACTUALPOSITION_Instance(AXIS:=AXIS, ENABLE:=ENB, ERROR=>ERR, VALID=>VA, BUSY=>B, ERRORID=>ERRID, POSITION=>POS)
Representation in ST
Representation:
MC_READACTUALPOSITION_Instance(AXIS:=AXIS, ENABLE:=ENB, ERROR=>ERR, VALID=>VA, BUSY=>B, ERRORID=>ERRID, POSITION=>POS);
Description of the Output Parameters
The following table describes the output parameter that is in addition to the basic parameters:
Parameter
Type
Comment
POSITION
Position of the axis, if VALID is TRUE.