◆ AmpDisableActionGet()

virtual RSIMotorDisableAction AmpDisableActionGet ( )
pure virtual

Get the Amp Disable action.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
AmpDisableActionGet returns the action that is taken when an amplifier is disabled.
Returns
(RSIMotorDisableAction) Action taken when motor is disabled.
Sample Code:
if (axis->AmpDisableActionGet() == RSIMotorDisableActionCMD_EQ_ACT) {
printf("The command position will be set equal to the actual position when the amplifier is disabled.\n");
}
See also
AmpDisableActionSet