Skip to content

Instantly share code, notes, and snippets.

@moonthug
Last active July 18, 2023 04:25
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moonthug/00be814d0ed82fc0bdde39e5337f02a6 to your computer and use it in GitHub Desktop.
Save moonthug/00be814d0ed82fc0bdde39e5337f02a6 to your computer and use it in GitHub Desktop.
Ender 6 Start GCode
M117 Setup Machine...;
M201 X500.00 Y500.00 Z100.00 E5000.00 ; Setup machine max acceleration
M203 X500.00 Y500.00 Z10.00 E50.00 ; Setup machine max feed-rate
M204 P500.00 R1000.00 T500.00 ; Setup Print/Retract/Travel acceleration
M205 X8.00 Y8.00 Z0.40 E5.00 ; Setup Jerk
M412 S1 ; Enable fillament sensor
M413 S0 ; Disable print powerloss recovery
M220 S100 ; Reset Feedrate
M221 S100 ; Reset Flowrate
M117 Start warming...;
M104 S{material_print_temperature} ; Start warming hot-end
M140 S{material_bed_temperature_layer_0} ; Start warming bed
G28 ; Home all axes
M117 Waiting for Temperature...;
M190 S{material_bed_temperature_layer_0} ; Wait for bed
;M117 Leveling...;
;M155 S30 ; Reduce temperature reporting rate to reduce output pollution
;@BEDLEVELVISUALIZER ; Tell the plugin to watch for reported mesh
;G29 T ; Auto bed-level with report (BL-Touch)
;M155 S3 ; Reset temperature reporting
M117 Waiting for Hot-end...;
M109 S{material_print_temperature} ; Wait for hot-end
G92 E0 ; Reset Extruder
M117 Preparing...;
G1 Z2.0 F3000 ; Move Z Axis up
G1 X10 Y10 Z0.3 F5000.0 ; Move to start position
G1 X200 Y10.0 Z0.3 F1500.0 E15 ; Draw the first line
G1 X200 Y9.7 Z0.3 F5000.0 ; Move to side a little
G1 X10 Y9.7 Z0.3 F1500.0 E30 ; Draw the second line M117 Setup Machine...;
M201 X500.00 Y500.00 Z100.00 E5000.00 ; Setup machine max acceleration
M203 X500.00 Y500.00 Z10.00 E50.00 ; Setup machine max feed-rate
M204 P500.00 R1000.00 T500.00 ; Setup Print/Retract/Travel acceleration
M205 X8.00 Y8.00 Z0.40 E5.00 ; Setup Jerk
M412 S1 ; Enable fillament sensor
M413 S0 ; Disable print powerloss recovery
M220 S100 ; Reset Feedrate
M221 S100 ; Reset Flowrate
M117 Start warming...;
M104 S{material_print_temperature} ; Start warming hot-end
M140 S{material_bed_temperature_layer_0} ; Start warming bed
G28 ; Home all axes
M117 Waiting for Temperature...;
M190 S{material_bed_temperature_layer_0} ; Wait for bed
; Bed Leveling disabled
;M117 Leveling...;
;M155 S30 ; Reduce temperature reporting rate to reduce output pollution
;@BEDLEVELVISUALIZER ; Tell the plugin to watch for reported mesh
;G29 T ; Auto bed-level with report (BL-Touch)
;M155 S3 ; Reset temperature reporting
M117 Waiting for Hot-end...;
M109 S{material_print_temperature} ; Wait for hot-end
G92 E0 ; Reset Extruder
M117 Preparing...;
G1 Z2.0 F3000 ; Move Z Axis up
G1 X10 Y10 Z0.3 F5000.0 ; Move to start position
G1 X200 Y10.0 Z0.3 F1500.0 E15 ; Draw the first line
G1 X200 Y9.7 Z0.3 F5000.0 ; Move to side a little
G1 X10 Y9.7 Z0.3 F1500.0 E30 ; Draw the second line
@moonthug
Copy link
Author

moonthug commented Oct 2, 2021

It is designed for an Ender 6 + BLTouch, with OctoPrint and the Bed Visualiser plugin enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment