SMC_FollowSetValues (FB)¶
FUNCTION_BLOCK SMC_FollowSetValues
Writes set values to the axis without doing any checks.
- InOut:
Scope
Name
Type
Comment
Inout
AxisReference to the axis
Input
bExecuteBOOLRising edge: Starts the execution of the function block.
bAbortBOOLAbort the execution of the function block (e.g. in order to avoid an error when restarting with a different axis)
dwValueMaskDWORDValues, which are written to the axis (
TRUE) and which are ignored (FALSE):Bit0:
fSetPositionBit1:
fSetVelocityBit2:
fSetAccelerationBit3:
fSetJerkBit4:
fSetTorqueBit5:
fSetCurrent
fSetPositionLREALSet position in [u]
fSetVelocityLREALSet velocity in [u/s]
fSetAccelerationLREALSet acceleration in [u/s²]
fSetJerkLREALSet jerk in [u/s³]
fSetTorqueLREALSet torque/force in [Nm]/[N]
fSetCurrentLREALSet current in [A]
Output
bBusyBOOLTRUE: Execution of function block has not been finished.bCommandAbortedBOOLTRUE: Command has been aborted by another command.bErrorBOOLTRUE: Error has occurred within the function block.iErrorIDSMC_ERRORError identification