Printer actions after filament run out
-
Hello. I need some help creating a filament-runout.g. When the printer runs out of filament, I would like it to move the bed down my 10mm, then move to X0 Y0 and pause, then wait for filament to be loaded, then home X and Y ONLY, and then when I press the resume print button, it should resume.
-
-
take a look here
https://forum.duet3d.com/topic/9891/filament-change-g -
@tratoon said in Printer actions after filament run out:
Hello. I need some help creating a filament-runout.g. When the printer runs out of filament, I would like it to move the bed down my 10mm, then move to X0 Y0 and pause, then wait for filament to be loaded, then home X and Y ONLY, and then when I press the resume print button, it should resume.
I wouldn't home X and Y because it would be likely to introduce some inaccuracies (limit switches positions aren't totally repeatable).
Is there a specific reason why you'd want to do that?On my printer I just resume the print from wherever the print head was parked during the filament change procedure. Just mke sure the steppers stay energized long enough and at sufficient power so they hold their position and everything should be fine.
-
-
-
@mrdui yes, as sometimes when I load filament, I accidentally put too much pressure on the Y axis, causing the gantry to move. I just realized your point about inaccuracies, is there a way to home the printer while it is paused in case I do do that?
-
I would be less worried about endstop reliability errors than I would about accidentally forcing the gantry out of position. Some commercial printers will home the XY axis every layer as a means of combating layer shifts from curling or nozzle drag. I would say even a cheap micro switch endstop securely mounted should be pretty accurate and repeatable.
When paused you should be able to send a normal homing command like G28 XY. Just be careful that your homing macro isn't going to ram the head into the printed part or something.
-
@phaedrux OK, thanks
-