RMP Motion Controller
10.6.3
APIs
, concepts, guides, and more
Community
Support
Contact
◆
PositionToleranceCoarseSet()
void PositionToleranceCoarseSet
(
double
tolerance
)
Description:
PositionToleranceCoarseSet sets the Coarse Position Tolerance for
Axis
settling.
Parameters
tolerance
In units.
Sample Code:
AxisSettling
const
double
POSITION_TOLERANCE_FINE = 200;
// Specify the fine position tolerance.
const
double
POSITION_TOLERANCE_COARSE = 300;
// Specify the coarse position tolerance.
const
double
VELOCITY_TOLERANCE = 12000;
// Specify the velocity tolerance.
const
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.
// GET
var posTolFine = axis.
PositionToleranceFineGet
();
var posTolCoarse = axis.
PositionToleranceCoarseGet
();
var velTol = axis.
VelocityToleranceGet
();
var setTime = axis.
SettlingTimeGet
();
See also
PositionToleranceCoarseGet
Note
Also known as Near Target distance, used to generate NEAR_TARGET interrupt
Examples
AxisConfig.cs
,
AxisConfiguration.cpp
,
PhantomAxis.cpp
, and
SampleAppsHelper.h
.
RSI
RapidCode
Axis
Generated by
1.10.0