The RMP Motion Controller API

◆ GcodeProgrammingModeSet()

virtual void GcodeProgrammingModeSet ( RSITargetMode  mode)
pure virtual

Sets the programming mode (Relative/Absolute).

Description:
Distances after this command will be interpreted as G90 ABSOLUTE (relative to origin 0, 0, 0) OR G91 RELATIVE/INCREMENTAL (relative to current position at start of move) A getter for how your G-Code program currently interprets distance (in/mm) as set by G20/21 during execution.
Parameters
modeRSITargetModeABSOLUTE / RSITargetModeRELATIVE
See also
GcodeProgrammingModeGet() Part of the G-Code method group. Visit our Topic Page for more information.