MC_ReadActualPosition

At its "position" output, the MC_ReadActualPosition returns the current position of an axis. It is assigned to the group of administrative FBs.

Blockdiagramm

Parameters of the FB

VAR_IN_OUT

Variable name

Data type

Description

axis

AXIS_REF

Axis reference

VAR_INPUT

Variable name

Data type

Description

enable

BOOL

If the value if TRUE, the positions are supplied continuously.

VAR_OUTPUT

Variable name

Data type

Description

Valid

BOOL

A current position is applied to the “Position” output of the FB.

Error

BOOL

Indicates TRUE if an error occurs in the FB.

ErrorID

WORD

Error code.

Position

LREAL

Actual position of the axis,

Default unit is [0.1 µm]

Behaviour of the FB