APIs, concepts, guides, and more

◆ VelocityToleranceGet()

double VelocityToleranceGet ( )
Description:
VelocityToleranceGet returns the velocity tolerance used for settling.
Returns
(double) User Units per second.
Sample Code:
AxisSettling
double POSITION_TOLERANCE_FINE = 200; // Specify the fine position tolerance.
double POSITION_TOLERANCE_COARSE = 300; // Specify the coarse position tolerance.
double VELOCITY_TOLERANCE = 12000; // Specify the velocity tolerance.
double SETTLING_TIME = 5; // Specify the settling time.
// set
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 (seconds).
// get
double posTolFine = axis.PositionToleranceFineGet();
double posTolCoarse = axis.PositionToleranceCoarseGet();
double velTol = axis.VelocityToleranceGet();
double setTime = axis.SettlingTimeGet();
See also
VelocityToleranceSet
Examples
AxisConfiguration.cpp, and axis-config-settling.cs.