gcode – XY Drucker

Hier Beispiele für den Start/Stop gcode für einen XY Drucker

XY Printer

#### Start Codes ####

Aktuelle Einstellung

G21			;Set Units to Millimeters
G90			;Set to Absolute Positioning
M82			;Set extruder to absolute mode
M107			;start with the fan off
G28 X0 Y0		;Move to Origin (Home) X/Y to min endstops
G28 Z0			;Move to Origin (Home) Z to min endstops
G1 Z15.0 F9000	;move the platform down 15mm
G92 E0			;zero the extruded length
G1 F200 E5		;extrude 5mm of feed stock
G92 E0			;zero the extruded length again
G1 F9000		;Set feedrate to 9000mm/m - move between the starting point and ending point (if supplied)
M117 Druck in arbeit    ;Display Message


----------------------------------------------

Start G-Code hab ich hier
M104 S180		;Set Extruder temperature
M140 S{material_bed_temperature_layer_0} ; Set Heat Bed temperature
M190 S{material_bed_temperature_layer_0} ; Wait for Heat Bed temperature
M109 S{material_print_temperature_layer_0} ; Wait for Extruder temperature
G21			;metric values
G90			;absolute positioning
M82			;set extruder to absolute mode
M107			;start with the fan off
G28 X0 Y0               ;move X/Y to min endstops
G28 Z0			;move Z to min endstops
G1 Z15.0 F9000	        ;move the platform down 15mm
G92 E0			;zero the extruded length
G1 F200 E3		;extrude 3mm of feed stock
G92 E0			;zero the extruded length again
G1 F9000		;Put printing message on LCD screen
M117 Printing...





#### Stop Codes ####

Aktuelle Einstellung

G91			;relative positioning
G1 E-1 F300		;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more
G28 X0 Y0		;move X/Y to min endstops, so the head is out of the way
G90			;Set to Absolute Positioning
G1 Y190 F9000	;use this line if you want the bed to move to the front
M117 Bed fahrt vor      ;Display Message
G4 P1000		;Wait for 1 second
G1 Y210 F1000	        ;move to the front limit end switch (if you have one) to switch off the printer
M84			;steppers off
M107			;shut off fan
M81			;ATX Power Off
M117 Fertig		;Display Message

----------------------------------------------

G91 			;relative positioning
G1 E-1 F300		;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more
G28 X0 Y0		;move X/Y to min endstops, so the head is out of the way
G90			;absolute positioning
G1 Y190 F9000	        ;use this line if you want the bed to move to the front. delete if not.
M117 Good by :-)
G4 P2000		;Wait for 2 second
G1 Y210 F1000	        ;move to the front limit end switch (if you have one) to switch off the printer
M84			;steppers off
M81			;ATX Power Off
 
----------------------------------------------

M104 S0			;extruder heater off
M140 S0			;heated bed heater off (if you have it)
G91			;relative positioning
G1 E-1 F300		;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-2 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more
G28 X0 Y300		;move X/Y to min endstops, so the head is out of the way
M84			;steppers off
G90			;absolute positioning