FlashForge Dreamer NX Start End G Codes examples - moonglow/FlashForge_Marlin GitHub Wiki
Start/End G-codes it is a part of mostly all slicer configuration.
Start:
G90 ; use absolute coordinates
M140 S{material_bed_temperature_layer_0} ; set bed temp
M190 S{material_bed_temperature_layer_0} ; wait for bed temp
M104 S{material_print_temperature_layer_0} ; set extruder temp
M109 S{material_print_temperature_layer_0} ; wait for extruder temp
G28 ; home all
G92 E0 ;reset extruder position
; useful if you has border clamps
G1 Z5 F800
G1 X0 Y0 F3000
End:
M140 S0 ; turn off heatbed
M104 S0 ; turn off temperature
M107 ; turn off fan
M84 X Y E ; disable motors
Start:
G90 ; use absolute coordinates
M140 S[first_layer_bed_temperature] ; set bed temp
M190 S[first_layer_bed_temperature] ; wait for bed temp
M104 S[first_layer_temperature] ; set extruder temp
M109 S[first_layer_temperature] ; wait for extruder temp
G28 ; home all
G92 E0 ;reset extruder position
; useful if you has border clamps
G1 Z5 F800
G1 X0 Y0 F3000
End:
M140 S0 ; turn off heatbed
M104 S0 ; turn off temperature
M107 ; turn off fan
M84 X Y E ; disable motors
Start:
G90 ; use absolute coordinates
M140 S[first_layer_bed_temperature] ; set bed temp
M190 S[first_layer_bed_temperature] ; wait for bed temp
M104 S[first_layer_temperature_0] ; set extruder temp
M109 S[first_layer_temperature_0] ; wait for extruder temp
G28 ; home all
G92 E0 ;reset extruder position
; useful if you has border clamps
G1 Z5 F800
G1 X0 Y0 F3000
End:
M140 S0 ; turn off heatbed
M104 S0 ; turn off temperature
M107 ; turn off fan
M84 X Y E ; disable motors
Start:
;Start Gcode
G90
M140 S{temperature_heatbed} ;Heat bed up to first layer temperature
M190 S{temperature_heatbed} ;Wait for Heat Bed temperature
M104 S{temperature_extruder1} ;Set nozzle temperature to first layer temperature
M109 S{temperature_extruder1} ;Wait for Extruder temperature
M107 ;start with the fan off
G28
M117 Purge extruder...
G1 Z{print_pos_min_z} F420
;Purge line
G1 X-110.00 Y-60.00 F4800
G1 Z{print_pos_min_z} F420
G92 E0
G1 X-110.00 Y60.00 E17,4 F1200
;Purge line end
G92 E0
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
M117 Printing...
End:
;end gcode
M140 S0 ; turn off heatbed
M104 S0 ; turn off temperature
G28 X Y
M84 X Y E ; disable motors