RMP Motion Controller
10.4.4
The RMP Motion Controller APIs
MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Contact
Support
RMP
◆
PathRatioSet()
void PathRatioSet
(
const double *const
ratio
)
Description:
PathRatioSet sets the scale factor ratios for each axis.
Parameters
ratio
An array of the scale values (1.0 is default).
Remarks
This function is also available in
RapidSequencer
.
Sample Code:
double
Xunits = MOTOR_RES_16 * REVS_PER_INCH_X;
double
Yunits = MOTOR_RES_16 * REVS_PER_INCH_Y;
double
[] XYRatio =
new
double
[2] { Xunits, Yunits };
multiAxisXY.
PathRatioSet
(XYRatio);
Note
Use with Path Motion for axes with different encoder resolutions or gearhead ratios. Do Not use UserUnits with PathMotion. Starting in version 4.0.2, this method should be called before PathListStart (but still works if called after).
See also
PathListStart
RSI::RapidCode::MultiAxis::PathRatioSet
void PathRatioSet(const double *const ratio)
Set the scale factor ratios for each axis.
RSI
RapidCode
MultiAxis
Generated on Thu Sep 28 2023 12:52:43 for RMP Motion Controller by
1.8.20