Topic: Home G-code for repetier host?
What is the G-code I should use and where do I place it in my start code so that the bed and head go to home position before it starts a print?
You are not logged in. Please login or register.
SoliForum - 3D Printing Community → XYZ Printing DaVinci → Home G-code for repetier host?
What is the G-code I should use and where do I place it in my start code so that the bed and head go to home position before it starts a print?
Use gcode: G28
just type it in at the top?
Here is my End g-code ( put into Slic3r)
End -
M117 Done
G92 E0 ; reset extrusion distance
G1 E-3 F600 ; Retract
M104 S0 ; turn off extruder
M140 S0 ; turn off Bed
G90 ; Absolute
G28 X-33 Y-12 ; home x & y
G1 Z100 ; Lower bed
M117 Down Bed
M100 ; Cleaning
M117 Cleaning
G28 X-33 Y-12 ; home x & y
M84 ; Disable motors
M117 Remove Print
You need to uncheck the last 3 boxes under the Behavior tab in Repetier Host - or that will override your g-code.
Here is my Start g-code ( put into Slic3r)
Start -
M140 S[first_layer_bed_temperature] ; Bed (no wait)
M106
S255 ; Start fan
G90 ; set absolute coordinates
G28 ; home all axis
M190 S[first_layer_bed_temperature] ; Bed (wait)
M104 S[first_layer_temperature] ; Extruder (no wait)
M109 S[first_layer_temperature] ; Extruder (wait)
M117 Start
M117 Cleaning
M100 ; Cleaning
G1 Z5 F1500
G1 X0 Y15 F1000
G1 X32 Y30 F1000
G92 E0 ; reset extrusion distance
G1 Z[first_layer_height] F4800.00
M117 Printing
SoliForum - 3D Printing Community → XYZ Printing DaVinci → Home G-code for repetier host?
Powered by PunBB, supported by Informer Technologies, Inc.