◆ ClearFaults()

virtual void ClearFaults ( )
pure virtual

Clear all faults for an Axis or MultiAxis.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Action method group.

Description:
ClearFaults will clear all the faults for an Axis or MultiAxis, particularly when it is in an RSIStateERROR state.
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.
Axis_Status.jpg
See also
StateGet, SourceGet
Examples
Gantry.cpp, MotionHoldReleasedBySoftwareAddress.cpp, MultiaxisMotion.cpp, PathMotion.cpp, PVTmotionMultiAxis.cpp, SingleAxisSyncOutputs.cpp, SyncOutputWithMotion.cpp, and UpdateBufferPoints.cpp.