The RMP Motion Controller APIs

◆ GcodeUnitsSet()

void GcodeUnitsSet ( 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
(LinearUnits)Millimeters / Inches / None Part of the G-Code method group.
Warning
Does not modify feedrate or acceleration. Visit our Topic Page for more information.