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
Gantry.cpp, MotionHoldReleasedBySoftwareAddress.cpp, MultiaxisMotion.cpp, PathMotion.cpp, PVTmotionMultiAxis.cpp, SingleAxisSyncOutputs.cpp, SyncOutputWithMotion.cpp, and UpdateBufferPoints.cpp.