Supported G-Codes

This page lists the G-codes and their support status in two different modes: DMC File Mode and Streaming Mode.

G-CodeDMC File ModeStreaming Mode
G0SupportedSupported
G1SupportedSupported
G2SupportedIn DevelopmentIn Development
G3SupportedIn DevelopmentIn Development
G4SupportedSupported
G17SupportedIn DevelopmentIn Development
G18SupportedIn DevelopmentIn Development
G19SupportedIn DevelopmentIn Development
G20SupportedSupported
G21SupportedSupported
G28SupportedSupported
G29Not SupportedSupported
G90SupportedSupported
G91SupportedIn DevelopmentIn Development
G92SupportedSupported
M02SupportedIn DevelopmentIn Development
M17SupportedSupported
M18SupportedSupported
M82SupportedIn DevelopmentIn Development
M83SupportedSupported
M84SupportedSupported
M98SupportedIn DevelopmentIn Development
M99SupportedIn DevelopmentIn Development
M104Not SupportedSupported
M106Not SupportedSupported
M107Not SupportedSupported
M109Not SupportedSupported
M140Not SupportedSupported
M190Not SupportedSupported

G-Code Descriptions and Parameters

G0DMC File ModeStreaming Mode

Description: Rapid Linear Move

Parameters:
  • X, Y, Z, E - target position
  • F - feedrate

G1DMC File ModeStreaming Mode

Description: Linear Move

Parameters:
  • X, Y, Z, E - target position
  • F - feedrate

G2DMC File Mode

Description: Clockwise Arc Move

Parameters:
  • X, Y, Z - end point
  • I, J, K - center offset
  • R - radius
  • F - feedrate

G3DMC File Mode

Description: Counter-Clockwise Arc Move

Parameters:
  • X, Y, Z - end point
  • I, J, K - center offset
  • R - radius
  • F - feedrate

G4DMC File ModeStreaming Mode

Description: Dwell

Parameters:
  • P - time in milliseconds
  • S - time in seconds

G17DMC File Mode

Description: XY Plane Selection

Parameters:None

G18DMC File Mode

Description: XZ Plane Selection

Parameters:None

G19DMC File Mode

Description: YZ Plane Selection

Parameters:None

G20DMC File ModeStreaming Mode

Description: Set Units to Inches

Parameters:None

G21DMC File ModeStreaming Mode

Description: Set Units to Millimeters

Parameters:None

G28DMC File ModeStreaming Mode

Description: Move to Origin (Home)

Parameters:
  • X, Y, Z - axes to home (optional)

G29Streaming Mode

Description: Bed Leveling

Parameters:None

G90DMC File ModeStreaming Mode

Description: Set to Absolute Positioning

Parameters:None

G91DMC File Mode

Description: Set to Relative Positioning

Parameters:None

G92DMC File ModeStreaming Mode

Description: Set Position

Parameters:
  • X, Y, Z, E - new position values

M02DMC File Mode

Description: End Program

Parameters:None

M17DMC File ModeStreaming Mode

Description: Enable Stepper Motors

Parameters:None

M18DMC File ModeStreaming Mode

Description: Disable Stepper Motors

Parameters:None

M82DMC File Mode

Description: Set Extruder to Absolute Mode

Parameters:None

M83DMC File ModeStreaming Mode

Description: Set Extruder to Relative Mode

Parameters:None

M84DMC File ModeStreaming Mode

Description: Disable Steppers

Parameters:None

M98DMC File Mode

Description: Call Subroutine

Parameters:
  • P - program number
  • L - repeat count

M99DMC File Mode

Description: Return from Subroutine

Parameters:None

Temperature Control G-Codes

Important: The following temperature-related G-codes require additional hardware setup:

  • Galil RIO-47000 controller must on the same network as your machine.
  • Temperature control DMC program (provided with GCode Streaming API Installation) must be running on the RIO-47000 controller.

M104Streaming Mode

Description: Set Hotend Temperature

Parameters:
  • S - temperature in celsius

M106Streaming Mode

Description: Set Fan Speed

Parameters:
  • S - fan speed (0-255)

M107Streaming Mode

Description: Fan Off

Parameters:None

M109Streaming Mode

Description: Set Hotend Temperature and Wait

Parameters:
  • S - target temperature in celsius (wait only when heating)
  • R - target temperature in celsius (wait when heating or cooling)

M140Streaming Mode

Description: Set Bed Temperature

Parameters:
  • S - temperature in celsius

M190Streaming Mode

Description: Set Bed Temperature and Wait

Parameters:
  • S - target temperature in celsius (wait only when heating)
  • R - target temperature in celsius (wait when heating or cooling)