The RMP Motion Controller APIs

◆ AmpEnableSet() [1/2]

void AmpEnableSet ( bool  enable)
Description:
AmpEnableSet enables (or disables) all amplfiers.
Parameters
enableTrue = enable all, false = disable all.
Remarks
This function is also available in RapidSequencer.

Part of the Action method group.

Sample Code:
ConfigAmpFault
public void EnableAmp(Axis myAxis)
{
myAxis.ClearFaults(); // To enable after an abort faults must be cleared.
myAxis.AmpEnableSet(true); // Enable the motor.
}
RapidSetup:
Go to axis screen->Axis Status.
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.