MC_AccelerationProfile (FB)¶
FUNCTION_BLOCK MC_AccelerationProfile
This function block is designed for commanding a time-acceleration 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
.
Warning
MC_MoveSuperimposed
is not supported on top of MC_AccelerationProfile
.
- InOut:
Scope
Name
Type
Initial
Comment
Inout
Axis
Reference to axis
TimeAcceleration
Reference to time/acceleration description
Input
Execute
BOOL
Rising edge: Starts the execution of the function block.
ArraySize
INT
Dimension of the array
AccelerationScale
LREAL
1
Overall acceleration scaling factor
Offset
LREAL
Overall acceleration offset ([u/s²])
Output
Done
BOOL
TRUE
: Profile has been completed.Busy
BOOL
TRUE
: Execution of the function block has not been finished.CommandAborted
BOOL
TRUE
: The command has been aborted by another command.Error
BOOL
TRUE
: Error has occurred within the function block.ErrorID
SMC_ERROR
Error identification