|
@@ -1,26 +1,13 @@
|
1
|
1
|
# Implemented G Codes
|
2
|
2
|
|
3
|
|
-## G Codes
|
4
|
|
-
|
|
3
|
+## Movement G and M Codes
|
5
|
4
|
```
|
6
|
5
|
G0 -> G1
|
7
|
6
|
G1 - Coordinated Movement X Y Z E
|
8
|
7
|
G2 - CW ARC
|
9
|
8
|
G3 - CCW ARC
|
10
|
9
|
G4 - Dwell S[seconds] or P[milliseconds]
|
11
|
|
-G10 - Retract filament according to settings of M207
|
12
|
|
-G11 - Retract recover filament according to settings of M208
|
13
|
|
-G28 - Home all Axis
|
14
|
|
-G29 - Detailed Z-Probe, probes the bed at 3 or more points. The printer must be homed with G28 before G29.
|
15
|
|
-G30 - Single Z Probe, probes bed at current XY location.
|
16
|
|
-G31 - Dock Z Probe sled (if enabled)
|
17
|
|
-G32 - Undock Z Probe sled (if enabled)
|
18
|
|
-G90 - Use Absolute Coordinates
|
19
|
|
-G91 - Use Relative Coordinates
|
20
|
10
|
G92 - Set current position to cordinates given
|
21
|
|
-```
|
22
|
|
-## Movement M Codes
|
23
|
|
-```
|
24
|
11
|
M0 - Wait for user, with optional prompt message (to press the LCD button, requires ULTRA_LCD)
|
25
|
12
|
M0 Click When Ready ; show "Click When Ready" until the button is pressed.
|
26
|
13
|
M1 - Same as M0
|
|
@@ -105,8 +92,10 @@ M380 - Activate solenoid on active extruder
|
105
|
92
|
M381 - Disable all solenoids
|
106
|
93
|
M600 - Pause for filament change X<xpos> Y<ypos> Z<lift> E<initial retract> L<later retract for removal>
|
107
|
94
|
```
|
108
|
|
-### Units and Measures M Codes
|
|
95
|
+### Units and Measures G and M Codes
|
109
|
96
|
```
|
|
97
|
+G90 - Use Absolute Coordinates
|
|
98
|
+G91 - Use Relative Coordinates
|
110
|
99
|
M82 - Set E codes absolute (default)
|
111
|
100
|
M83 - Set E codes relative while in Absolute Coordinates (G90) mode
|
112
|
101
|
M92 - Set axis_steps_per_unit - same syntax as G92
|
|
@@ -121,14 +110,21 @@ M218 - Set hotend offset (in mm): T<extruder_number> X<offset_on_X> Y<offset_on_
|
121
|
110
|
M220 - Set speed factor override percentage: S<factor in percent>
|
122
|
111
|
M221 - Set extrude factor override percentage: S<factor in percent>
|
123
|
112
|
```
|
124
|
|
-### Firmware Retraction M Codes
|
|
113
|
+### Firmware Retraction G and M Codes
|
125
|
114
|
```
|
|
115
|
+G10 - Retract filament according to settings of M207
|
|
116
|
+G11 - Retract recover filament according to settings of M208
|
126
|
117
|
M207 - Set retract length S[positive mm] F[feedrate mm/min] Z[additional zlift/hop], stays in mm regardless of M200 setting
|
127
|
118
|
M208 - Set recover=unretract length S[positive mm surplus to the M207 S*] F[feedrate mm/s]
|
128
|
119
|
M209 - S<1=true/0=false> enable automatic retract detect if the slicer did not support G10/11: every normal extrude-only move will be classified as retract depending on the direction
|
129
|
120
|
```
|
130
|
|
-### Z Probe M Codes
|
|
121
|
+### Z Probe G and M Codes
|
131
|
122
|
```
|
|
123
|
+G28 - Home all Axis
|
|
124
|
+G29 - Detailed Z-Probe, probes the bed at 3 or more points. The printer must be homed with G28 before G29.
|
|
125
|
+G30 - Single Z Probe, probes bed at current XY location.
|
|
126
|
+G31 - Dock Z Probe sled (if enabled)
|
|
127
|
+G32 - Undock Z Probe sled (if enabled)
|
132
|
128
|
M48 - Measure Z_Probe repeatability: P<points> X<xpos> Y<ypos> V<verbosity> E=engage L<legs of travel>
|
133
|
129
|
As with G29, the E flag causes the probe to stow after each probe.
|
134
|
130
|
M401 - Lower Z-probe (if present)
|