The RMP Motion Controller APIs

◆ GcodeUnitsSet()

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