Skip to main content

7.16.12 MC_ReadActualPosition

Function

Read the current position of the axis.

LD graphics

alt text

Parameter description

ParametersTypeDeclarationDescriptionRemarks
AxisAXISVAR_IN_OUTSystem axis for executing commandsInvoke Function Block
EnableBOOLVAR_INWhether it is enabled
ValidBOOLVAR_OUTIf there is a valid set of outputs available, the output is TRUE: FB not ended
BusyBOOLVAR_OUTWhether there is a valid output for FB, True:FB is not terminated
ErrorBOOLVAR_OUTAn error signal has occurred within the FB
ErrorIDWORDVAR_OUTError ID
PositionLREALVAR_OUTThe actual position of the user unit[u]