Skip to main content

7.16.2 MC_MoveVelocity

Function

Controlled motion commands at specified speeds.

LD graphics

alt text

Parameter description

ParametersTypeDeclarationDescriptionRemarks
AxisAXISVAR_IN_OUTSystem axis for executing commandsInvoke Function Block
ExecuteBOOLVAR_INRising edge activation
VelocityLREALVAR_INMaximum speed [u/s], which can be a signed value, which can be a signed value
AccelerationLREALVAR_INAcceleration[u/s2]
DecelerationLREALVAR_INDeceleration[u/s2]
JerkLREALVAR_INJerk[u/s3]
DirectionUSINTVAR_INRetain
BufferModeUSINTVAR_INChronological order of FB
InVelocityBOOLVAR_OUTCommand speed achieved or not
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