Skip to main content

7.16.6 MC_MOVEABSOLUTE

Function

Controls movement to a specified absolute position. (Home Status needs to be set before)

LD graphics

alt text

Parameter description

ParametersTypeDeclarationDescriptionRemarks
AxisAXISVAR_IN_OUTSystem axis for executing commandsInvoke Function Block
ExecuteBOOLVAR_INRising edge activation
PositionLREALVAR_INThe absolute position when the signal was detected[u]
VelocityLREALVAR_INMaximum speed [u/s], which can be a signed value
AccelerationLREALVAR_INAcceleration[u/s2]
DecelerationLREALVAR_INDeceleration[u/s2]
JerkLREALVAR_INJerk[u/s3]
DirectionUSINTVAR_INthere are three kinds of MC direction: positive direction, negative direction and current direction.When the modulus function is on, the direction should be positive, negative and shortest path direction.
BufferModeUSINTVAR_INDefine the time sequence of FB:
0 means to immediately abort the ongoing movement (default value);
1 means to affect the axis when the last movement is "complete"
DoneBOOLVAR_OUTReach command distance
BusyBOOLVAR_OUTWhether there is a valid output for FB, True:FB is not terminated
ActiveBOOLVAR_OUTFB control axis
CommandAbortedBOOLVAR_OUTThe command was terminated by another command
ErrorBOOLVAR_OUTAn error signal has occurred within the FB
ErrorIDWORDVAR_OUTError ID