The RMP Motion Controller APIs

◆ HomeTravelDistanceSet()

void HomeTravelDistanceSet ( RSIHomeStage stage,
double distanceToTravel )
Description:
Allows you to limit the max distance we will move when looking for home and hardware limit input signals to change state. The method HomeDecelerationSet() will set the deceleration to use when stopping after this distance. If the travel distance is exceeded, the Axis will decelerate to a stop and the call to Home() will fail.
Parameters
stageRSIHomeStage
distanceToTraveldouble (in UserUnits) representing the max move in associated stage before erroring out.
Remarks
This function is also available in RapidSequencer.

Part of the Homing method group.

Sample Code:
axis->HomeTravelDistanceSet(RSIHomeStage::RSIHomeStageSTAGE_ONE, 1000.0);
@ RSIHomeStageSTAGE_ONE
Searching Move to Find Limit. (ie Home Active)
Note
STAGE_FOUR max travel distance is not used, since STAGE_FOUR is for moving to zero.

Click here for detailed Home Method diagrams