◆ SettlingTimeSet()

virtual void SettlingTimeSet ( double  time)
pure virtual

Set the settling time.

ℹ This function is avaliable in RapidCode and RapidSequencer

SettlingTimeSet sets the value which specifies the amount of time (seconds) that an Axis must be within the Fine Position Tolerance band before the motion is done.
timeIn seconds.
Sample Code:
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.
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.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