Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi, see below the code:
- START G CODE:
- G28 ; Home all axes
- M851 Z0.05 ; Apply Z offset
- M500 ; Save to EEPROM
- G1 Z15.0 F6000 ; Move the platform down 25mm
- ; Prime the extruder
- G92 E0
- G1 F200 E3
- G92 E0
- END G CODE:
- ; === Standard shutdown ===
- M104 S0 ; turn off hotend
- M140 S0 ; turn off bed
- M107 ; turn off part cooling fan immediately after print
- G91
- G1 Z+10 E-2 F300 ; lift nozzle 10mm and retract filament slightly
- G90
- ; Move printhead to back for easy removal
- G28 X0 Y0 ; home X and Y
- G1 Y250 F6000 ; move Y to back of the bed (adjust if your bed Y max is different)
- G1 X20 F6000 ; move X slightly to the side so prints are easier to grab
- M84 ; disable steppers
- ; === Cooldown Fan Sequence ===
- M106 S204 ; set fan to 80% speed
- G4 S600 ; keep fan running for 10 minutes
- M107 ; stop fan after 2 minutes
- EXTRUDER START GCODE:
- ; --- Centauri Carbon PLA+ USB Start ---
- ; Prestart: home first so we don't cook filament in place
- G90 ; absolute positioning
- M82 ; absolute extrusion mode
- G28 ; home all axes
- G92 E0 ; reset extruder
- G1 Z5 F3000 ; lift nozzle 5mm to avoid bed
- ; Heat sequence
- M140 S{material_bed_temperature_layer_0} ; start bed heating
- M104 S{material_print_temperature_layer_0} ; start nozzle heating
- M190 S{material_bed_temperature_layer_0} ; wait for bed
- M109 S{material_print_temperature_layer_0} ; wait for nozzle
- ; Prime line to flush nozzle
- G92 E0
- G1 X5 Y5 F6000
- G1 Z0.3 F6000
- G1 X200 E15 F1000
- G92 E0
- ; --- End Start ---
- EXTRUDER END GCODE:
- ; --- Centauri Carbon PLA+ End ---
- M104 S0 ; turn off hotend
- M140 S0 ; turn off bed
- M107 ; turn off fan
- G91 ; relative positioning
- G1 E-3 F1800 ; retract a bit
- G1 Z10 F3000 ; lift nozzle
- G90 ; absolute
- G1 X10 Y10 F6000 ; park head front-left
- M84 ; disable steppers
- ; --- End End ---
- SDVSF
- let me know if it works or if you improve it in any way
Advertisement
Add Comment
Please, Sign In to add comment