Reprap G-Code Fields - KEYES ROSTOK Manual And Manual

Table of Contents

Advertisement

For the technically minded, Gcode line endings are Unix Line Endings (\n), but will accept
Windows Line Endings (\r\n), so you should not need to worry about converting between the two.

RepRap G-code fields

This section explains the letter-preceded fields. The numbers in the fields are represented by nnn.
Numbers can be integers, or can contain a decimal point, depending on context. For example an X
coordinate can be integer (X175) or fractional (X17.62), whereas trying to select extruder number
2.76 would make no sense.)
Letter
Gnnn
Standard GCode command, such as move to a point
Mnnn
RepRap-defined command, such as turn on a cooling fan
Tnnn
Select tool nnn. In RepRap, tools are extruders
Snnn
Command parameter, such as time in seconds; temperatures; voltage to send to a motor
Pnnn
Command parameter, such as time in milliseconds; proportional (Kp) in PID Tuning
Xnnn
A X coordinate, usually to move to. This can be an Integer or Fractional number.
Ynnn
A Y coordinate, usually to move to. This can be an Integer or Fractional number.
Znnn
A Z coordinate, usually to move to. This can be an Integer or Fractional number.
Innn
Parameter - X-offset in arc move; integral (Ki) in PID Tuning
Jnnn
Parameter - Y-offset in arc move
Fnnn
Feedrate in mm per minute. (Speed of print head movement)
Rnnn
Parameter - used for temperatures
Qnnn
Parameter - not currently used
Length of extrudate. This is exactly like X, Y and Z, but for the length of filament to
extrude. It is common for newer stepper based systems to interpret ... Better: Skeinforge
Ennn
40 and up interprets this as the absolute length of input filament to consume, rather than
the length of the extruded output.
Nnnn
Line number. Used to request repeat transmission in the case of communications errors.
*nnn
Checksum. Used to check for communications errors.
Meaning
78

Advertisement

Table of Contents
loading

Table of Contents