Custom g-code for A1 bed

hi guys, im after some advice,
basically i want to add g-code so that when the printer reaches a defined ‘pause’ the build plate moves to the front, then when ‘Resume Printing’ is selected the print bed returns and printing resumes…

any help would be greatly appreciated

In “Printer settings”, under the “Machine gcode” tab you will need to add gcode to move the bed forward before the M400 U1.

@JonRaymond
I would like to “present” the bed on pause (G1 Y256).
M400 seem to park the toolhead all the way to the left, and move bed to Y128 ish.
Any idea if it’s possible to achieve?

Welcome to the forum.

While you can’t modify what the M400 U1 does (as this cycle is build into the printer firmware), you can use it to pause the print till you are in front of the printer to perform whatever you need done. When you click resume, it will move the bed forward, pause for 30 seconds and then continue on with the print.

M400 U1 ; Stops print till user presses ‘Resume’
G1 Y256 ; Could use G0 for rapid move - Moves bed forward
M400 S30 ; Delay 30 seconds for user interaction

Thank you!
I’ll give that a go, and see how it fits my use case:slight_smile: