GCode Commands.xlsx
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
GCODE COMMANDS
2
G' CasesDefinition
3
G0Nothing
4
G1Move Stepper Motors at Full Speed
5
G2Create Clockwise Arc
6
G3
Create Counter-Clockwise Arc, declare values first, then calculates how many steps
7
G4
Delays Gcode Commands using 'P' command (i.e. G4 P200 means delay 200 ms)
8
G20Moves steps per inch
9
G21Moves steps per mm
10
G28Moves back to origin at full speed
11
G30Moves back to origin based provided a certain coordinate at full speed
12
G90Moves to coordinate at full speed
13
G91Moves in increments
14
G92Sets current position as origin
15
MPlaces in Arduino Code - Doesn't mean anything in Arduino Code
16
B' CasesDefinition
17
B5Moves A-Axis 45 Degrees
18
B10Moves A-Axis 90 Degrees
19
B15Moves A-Axis 135 Degrees
20
B20Moves A-Axis 180 Degrees
21
$' CasesDefinition
22
$1 Sets step pinouts
23
$2 Sets direction pinouts
24
$3 Sets limiting switch pinouts (for minimum)
25
$4 Sets limiting switch pinouts (for maximum)
26
$5 Enable Servo for Z-Axis *Removed for our purposes**
27
$6 Declares how many steps per mm should be moved
28
$7 Declares feedrate
29
CustomizedDefinition
30
$9 Turn on solenoid valve
31
$10 Turn off solenoid valve
32
$11 Move microservo 1
33
$12 Move microservo 2
34
$13 Move microservo 3
35
$14 Move microservo 4
36
$15 Move microservo 5
37
$16 Move microservo 6
38
$17 Move microservo 7
39
$18 Move microservo 8
40
$19 Move microservo 9
41
$20 Move microservo 10
42
$21 Move microservo 11
43
$22 Move microservo 12
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
 
 
 
Sheet1
Sheet2
Sheet3