Auto Home G28
Usage:
G28 [X] [Y] [Z]
You can specify X, Y, or Z.
Or any combination. Note: If no axsis is specified, ALL will home.
Example:
G28 X Y ;Home X and Y
G28 ; Auto home all
Linear Move G0 or G1
Usage:
G0 or G1 [E] [F] [S] [X] [Y] [Z]
G0 non extrude move. G1 move while extruding.
The move is absolute or realative set by G90 or G91.
F=rate, X, Y, Z and E set position.
Examples:
G1 E10 F500 X100 Y20 ;Move X 100 Y 20 at 500mm/sec extrude 10mm
Dwell G4
Usage:
G4 [P] [S]
P dwell time in ms
S dwell time in seconds
Example:
G4 S30 ;dwell for 30 seconds
G4 P500 ;dwell for 500 ms or 1/2 second
Position Mode G90/G91
Usage:
G90 ;Set all axes to absolute
G91 ;Set all axes to relative
Note: to overrde extruder use
M82 for absolute and
M83 for relative
Temperture Set Bed/Hotend M140 M190 M109
Usage;
M140 [S] ;set bed temp to S, continue with out waiting
M190 [S] ;set bed temp to S and wait till temp to continue.
M109 [R] [S] ;set hotend temp to R/S.
If R is set, wait for heating or cooling. If S is set, wait only for heating.
Examples:
M190 S50 ;set bed to 50 and wait
M109 S220 ;set hotend to 220 and wait
Arc G2 or G3
Usage:
G2 [E] [F] [I] [J] [R] [X] [Y] ;move clockwise
G3 [E] [F] [I] [J] [R] [X] [Y] ;move counter-clockwise
Notes:
I J form I is X offset and J is Y offset (at least one of I J required)
X and Y can be omitted for complete circle.
R form R is the radius. X or Y are required and must be different from
current XY position.
Mixing R with I or J will throw an error.
E<pos> Amount to extrude between start and end.
F<rate> Maximun rate of move between start and end.
I<offset> Offset from current X pos to use as arc center.
J<offset> Offset from current Y pos to use as arc center.
P<count> Number of completet circles. (requires ARC_P_CIRCLES)
R<radius> Radius from current XY to use as arc center.
X<pos> A coordinate on the X axis.
Y<pos> A coordinate on the Y axis
Z<pos> A coordinate on the Z axis
Notes:
gcode is plain text and can be written with any text editor. Save file without formatting and use gcode as the extention.
Example:
testrun.gcode
Comments are preceded with a semicolon
Example:
;this is a comment
M600 Filament Change
Usage:
M600 [B] [E] [L] [R] [T] [U] [X] [Y] [Z]
B<beeps> Number of beeps to alert user.
E<pos> Retract before move to change position.
L<pos> Load length.
R<temp> Resume temperature
T<index> Targret extruder
U<pos> Amount of retraction for unload
X<pos> X position for filament change
Y<pos> Y position for filament change
Z<pos> Z realtive lift for filament change position
Notes:
Requires ADVANCED_PAUSE_FEATURE. Settings found in Configuration_adv.h
M600 requires LCD controller
Example:
M600 B3 Z25 ;Beep 3 times, move Z axis up 25 mm, execute filiament change
LCD Message M117
Usage:
M117 msg
msg is displayed on the LCD
Example:
M117 Hello World!
Hello World! will be displayed on the LCD