How do you make the printer move the Y axis forward when the print is done so I don’t have to pull the bed forward? Is it the the line that says “G28 X0 Y0”? If I change that 0 to something like 200, would that work? Also, should it be a positive value? I assume so but I just wanted to ask.
Yeah, a safe bet, is that more positive values are towards the back of the plate. So you are correct in your assumption. I would add an “M190 R” for whatever temperature you are comfortable messing with the bed at before moving it forward.
Personally I would replace ‘G28 X0 Y0’ with a lift 5mm (or less depending on how close/often you max out the print height), then move to desired position:
G91 ; Set relative positioning
G1 Z5 F6000 ; move up 5mm
G90 ; Set absolute positioning
G1 X0 Y200 F6000 ; move bed/head so print can be accessed.
Play with values for the last line to get the head/bed where you want it.
(Edit: Had wrong code for setting absolute positioning)
@Alex_Wiebe What exactly does relative and absolute positioning do?
@Justin_Nesselrotte I’m not quite sure what you mean… Like the bed will stay back until it reaches X temp and THEN it’ll move forward?
Relative positioning means the values after the X,Y,Z,E are how far to travel and in what direction. (walk forward 5 paces)
Absolute positioning means the values after the X,Y,Z,E are where to end up. (go to the middle of the room)
Yep that’s correct
@Alex_Wiebe so then the code you posted says to go up 5mm, home X and set Y to 200mm?
Can be very handy when “floating” the nozzle above the bed/print. Just make sure to leave the printer in the correct configuration (typically absolute) when done. Almost all slicers will specify G90 at the start to ensure they are heading to the right place.
@Alex_Wiebe Also, is there a website that says what all the different GCode is? Like if I wanted to write my own, can i just look it up and then throw in my own values?
Being pedantic here: No, G1 means go somewhere. G28 means to go home.
Often “Home” is at X0 Y0 (when in absolute mode).
I assume you figured this out based on your your post about the Marlin gcode list?
Marlin has incredible documentation. http://marlinfw.org/meta/gcode/
http://marlinfw.org/meta/gcode/
I used G0 Y200 on my A8. You don’t need to move x.
@Ben_Malcheski yeah. That website really breaks things down and explains what does what.
I use this code:
G1 Z+0.5 E-2 X-20 Y-20 F{travel_speed}
;move Z up a bit and retract filament
G28 X0 Y0
;move X/Y to min endstops
G1 Y250 F3000
;Plate is moved forward
The G28 home makes sure that no matter where you are printing on the bed it moves from that point to present your print.
Make sure the G1 Y value does not exceed the limits of your bed.