◆ AmpEnableSet()

virtual void AmpEnableSet ( bool  enable)
pure virtual

Enable all amplifiers.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Action method group.

Description:
AmpEnableSet enables (or disables) all amplfiers.
Parameters
enableTrue = enable all, false = disable all.
Sample Code:
ConfigAmpFault
myAxis.ClearFaults(); // To enable after an abort faults must be cleared.
myAxis.AmpEnableSet(true); // Enable the motor.
RapidSetup:
Go to axis screen->Axis Status.
Axis_Motion_AmpEnable.jpg
Left: Amp Enabled, Right: Amp Disabled
See also
ClearFaults
Examples
Gantry.cpp, MotionHoldReleasedBySoftwareAddress.cpp, MultiaxisMotion.cpp, PathMotion.cpp, PVTmotionMultiAxis.cpp, SingleAxisSyncOutputs.cpp, SyncOutputWithMotion.cpp, and UpdateBufferPoints.cpp.