MC_VelocityProfile (FB)ΒΆ
FUNCTION_BLOCK MC_VelocityProfile
This function block is designed for commanding a time-velocity locked motion profile.
Note
If Axis does not reach standstill after this movement and no subsequent
movement is commanded in the same cycle when Done is set, then
Axis switches to the errorstop state and reports error
SMC_MOVING_WITHOUT_ACTIVE_MOVEMENT.
Hint
MC_VelocityProfile, a cam function block coupled to a virtual master can be employed.Warning
MC_MoveSuperimposed is not supported on top of MC_VelocityProfile
Forecasts that are set up by SMC_SetForecast are not supported.
- InOut:
Scope
Name
Type
Initial
Comment
Inout
AxisReference to axis
TimeVelocityReference to time/velocity description
Input
ExecuteBOOLRising edge: Starts the execution of the function block.
ArraySizeINTDimension of the array
VelocityScaleLREAL1
Overall velocity scaling factor
OffsetLREALOverall velocity offset ([u/s])
Output
DoneBOOLTRUE: Profile has been completed.BusyBOOLTRUE: Execution of function block has not been finished yet.CommandAbortedBOOLTRUE: Command has been aborted by another command.ErrorBOOLTRUE: Error has occurred within the function block.ErrorIDSMC_ERRORError identification