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.

Block diagram

MC_ReadActualPosition 1:

Parameters of the FB

VAR_IN_OUT

 

Axis

AXIS_REF

Axis reference

VAR_INPUT

 

Enable

BOOL

Get the values of the parameters continuously while enabled.

VAR_OUTPUT

 

Valid

BOOL

The current position is present at the FB output ‘position’.

 

Error

BOOL

Indicates if an error has occurred.

 

ErrorID

WORD

Error identification.

 

Position

LREAL

Actual position of the axis.

Default unit [0,1 µm]

Behavior of the FB