fantome
Posts: 12
Joined: Thu Jan 01, 2015 10:07 pm
Contact: Website

Re: Pause at z pos

No, the M226 code doesn't work on the DaVinci 1.0. Here's a few lines of gcode I used to pause the printer at a desired layer and then move the extruder out of the way. It stays out of the way for about 50 seconds. If you need more time you can play around with the F value. (Feedrate)
Place this at the beginning of the layer you want the printer to pause at. The gcode file will return the extruder to the correct place and speed. Note that pressing the printers' pause button doesn't seem to pause it while it is doing the following code. I don't know why but it doesn't matter, for me anyways.

;-------------------------------- simulated DaVinci pause / dance ------------------------
;move extruder out of way and then pause by slowly moving the extruder back and forth (PWB)
G1 X100 Y0 Z5
; slow the motors down
G1 F192
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
;-------------------------------- simulated DaVinci pause / dance ------------------------
JoeJ
Posts: 1435
Joined: Sun Feb 16, 2014 10:52 am

Re: Pause at z pos

It looks like those commands move the head around at a height of z=5mm, is that correct? If so, people should be very careful using this if their build is more than 5mm tall. You could easily ram the head into the part!
fantome
Posts: 12
Joined: Thu Jan 01, 2015 10:07 pm
Contact: Website

Re: Pause at z pos

No worries about that since it is pausing the print before the tall part of the print has been printed. Also, the bed moves down 5 mm while moving the head back and forth. There is no chance of hitting any part of the print since nothing higher than the layer being paused at has been printed at the time of the pause.

This technique works for the DaVinci and for other printers the only caution would be to make sure that the X110 Y0 is within your print area for your printer.
It looks like those commands move the head around at a height of z=5mm, is that correct? If so, people should be very careful using this if their build is more than 5mm tall. You could easily ram the head into the part!
fantome
Posts: 12
Joined: Thu Jan 01, 2015 10:07 pm
Contact: Website

Re: Pause at z pos

OK I just looked at that again. You are right, if some one were to put that gcode at a layer larger than 5mm, the bed would be moved back to 5mm and then disaster! Good catch.

You should just leave out the Z5 part of the code, that way it can't bump into part of the print, unless part of the print is at X110-X90 Y0.

;-------------------------------- simulated DaVinci pause / dance ------------------------
;move extruder out of way and then pause by slowly moving the extruder back and forth(PWB)
G1 X100 Y0
; slow the motors down
G1 F192
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
G1 X90 Y0
G1 X110 Y0
;-------------------------------- simulated DaVinci pause / dance ------------------------

Return to “General Discussion and Tips”