APIs, concepts, guides, and more

◆ AmpDisableActionSet()

void AmpDisableActionSet ( RSIMotorDisableAction action)
Description:
AmpDisableActionSet sets the action that will occur if the amplifier is disabled.
Parameters
actionA RSIMotorDisableAction value.
Note
When using RSIMotorDisableActionCMD_EQ_ACT, the command position will NOT be updated in MOVING, STOPPING, or STOPPED states to preserve motion trajectory integrity. This may cause the motor to jump when re-enabled. See AmpEnableSet() for override options.
Sample Code:
// set the Amp Disable action to do nothing
axis->AmpDisableActionSet(RSIMotorDisableActionNONE);
@ RSIMotorDisableActionNONE
No action taken when disabled.
See also
AmpDisableActionGet, AmpEnableSet
Examples
PathMotion.cpp.