The RMP Motion Controller APIs

◆ UnitsSet()

void UnitsSet ( LinearUnits units)
pure virtual
Description:
A setter for how your G-Code program currently interprets distance (in/mm) same as calling G20/21 during execution. Will automatically scale units to the unit of PathUnitsGet() before sending themotion command to cartesianPath class.
Parameters
unitsMillimeters / Inches / None
Warning
Does not modify feedrate or acceleration. Visit our Topic Page for more information.
Examples
GcodeMotion.cs.