◆ PositionToleranceFineSet()

virtual void PositionToleranceFineSet ( double  tolerance)
pure virtual

Set the Fine Position Tolerance for Axis settling.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
PositionToleranceFineSet sets the Fine Position Tolerance for Axis settling.
Parameters
toleranceIn units.
Sample Code:
AxisSettling
//---ARRRANGE---
const int POSITION_TOLERANCE_FINE = 200; // Specify the fine position tolerance.
const int POSITION_TOLERANCE_COARSE = 300; // Specify the coarse position tolerance.
const int VELOCITY_TOLERANCE = 12000; // Specify the velocity tolerance.
const int SETTLING_TIME = 5; // Specify the settling time.
//---ACT---
axis.PositionToleranceFineSet(POSITION_TOLERANCE_FINE); // Set fine position tolerance.
axis.PositionToleranceCoarseSet(POSITION_TOLERANCE_COARSE); // Set coarse position tolerance.
axis.VelocityToleranceSet(VELOCITY_TOLERANCE); // Set velocity tolerance.
axis.SettlingTimeSet(SETTLING_TIME); // Set settling time.
//---ASSERT---
Assert.That(axis.PositionToleranceFineGet(), Is.EqualTo(POSITION_TOLERANCE_FINE), "The getter function should return a value equal to POSITION_TOLERANCE_FINE");
Assert.That(axis.PositionToleranceCoarseGet(), Is.EqualTo(POSITION_TOLERANCE_COARSE), "The getter function should return a value equal to POSITION_TOLERANCE_COARSE");
Assert.That(axis.VelocityToleranceGet(), Is.EqualTo(VELOCITY_TOLERANCE), "The getter function should return a value equal to VELOCITY_TOLERANCE");
Assert.That(axis.SettlingTimeGet(), Is.EqualTo(SETTLING_TIME), "The getter function should return a value equal to SETTLING_TIME");
See also
PositionToleranceFineGet