SMC_FollowSetValues (FB)¶
FUNCTION_BLOCK SMC_FollowSetValues
Writes set values to the axis without doing any checks.
- InOut:
Scope
Name
Type
Comment
Inout
Axis
Reference to the axis
Input
bExecute
BOOL
Rising edge: Starts the execution of the function block.
bAbort
BOOL
Abort the execution of the function block (e.g. in order to avoid an error when restarting with a different axis)
dwValueMask
DWORD
Values, which are written to the axis (
TRUE
) and which are ignored (FALSE
):Bit0:
fSetPosition
Bit1:
fSetVelocity
Bit2:
fSetAcceleration
Bit3:
fSetJerk
Bit4:
fSetTorque
Bit5:
fSetCurrent
fSetPosition
LREAL
Set position in [u]
fSetVelocity
LREAL
Set velocity in [u/s]
fSetAcceleration
LREAL
Set acceleration in [u/s²]
fSetJerk
LREAL
Set jerk in [u/s³]
fSetTorque
LREAL
Set torque/force in [Nm]/[N]
fSetCurrent
LREAL
Set current in [A]
Output
bBusy
BOOL
TRUE
: Execution of function block has not been finished.bCommandAborted
BOOL
TRUE
: Command has been aborted by another command.bError
BOOL
TRUE
: Error has occurred within the function block.iErrorID
SMC_ERROR
Error identification