MC_ReadActualPosition

This FB serves to read the actual position of the axis.

 

 

 

MC_ReadActualPosition

 

 

 

AXIS_REF

-

Axis

Valid

-

BOOL

BOOL

-

ENABLE

Busy

-

BOOL

Error

-

BOOL

ErrorID

-

L_IE1P_Error

Position

-

LREAL

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

ENABLE

BOOL

TRUE

Read actual position of the axis continuously.

Outputs

Name

Data type

Value/meaning

Valid

BOOL

TRUE

Valid values are applied to the FB outputs.

Busy

BOOL

TRUE

Processing is running.

Error

BOOL

TRUE

An error has occurred. For details see ErrorID .

ErrorID

If Error = TRUE: Error number for the error that has occurred.

Position

LREAL

Current absolute position in [unit]