The RMP Motion Controller APIs

◆ ClearFaults()

void ClearFaults ( )
Description:
ClearFaults will clear all the faults for an Axis or MultiAxis, particularly when it is in an RSIStateERROR state.
Remarks
This function is also available in RapidSequencer.

Part of the Action method group.

Sample Code:
if (axis->StateGet() == RSIStateERROR)
{
axis->ClearFaults();
}
Note
When called on a single Axis, ClearFaults will also attempt to clear any Node status, and clear any feedback faults if necessary.
RapidSetup:
Go to axis screen->Axis Status. ClearFaults is shown in image below.
See also
StateGet, SourceGet
Examples
GcodeMotion.cs, HelperFunctions.cs, Homing.cs, MotionHold.cs, MotionHoldReleasedBySoftwareAddress.cpp, MultiAxisMotion.cs, MultiaxisMotion.cpp, PVTmotionMultiAxis.cpp, PathMotion.cpp, PathMotion.cs, SingleAxisSyncOutputs.cpp, SyncOutputWithMotion.cpp, Template.cs, UpdateBufferPoints.cpp, and VelocitySetByAnalogInputValue.cs.