APIs, concepts, guides, and more

◆ ClearFaults()

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

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
CalculateAccelerationFromVelocity.cpp, DifferenceOfPositionUserLimit.cpp, MotionHoldReleasedBySoftwareAddress.cpp, MultiaxisMotion.cpp, PVTmotionMultiAxis.cpp, PathMotion.cpp, PointToPoint.cpp, SingleAxisSyncOutputs.cpp, SyncOutputWithMotion.cpp, UpdateBufferPoints.cpp, _helpers.cs, axis-homing-akd-drive.cs, basic-template.cs, gcode-motion.cs, gcode-units.cs, multiaxis-motion-point-to-point.cs, multiaxis-motion-velocity.cs, path-motion.cs, and userlimit-command-position-direct.cs.