Welcome! Log In Create A New Profile

Advanced

Pause/Cancel

Posted by joestefano 
Pause/Cancel
July 28, 2016 03:30PM
I don't need pause right now. I need a cancel button. I want to change the pause script to:
1) Stop printing
2) Retract some filament
3) Move heads to X25 Y250 Z5
4) Shut off heaters

I am having problems with #3 the heads go to the correct Y & Z coordinates but X moves to 0 but reads 42.0 I cant home X and because of this when I try to home Z the bed crashes into the nozzles because my black sensor paper is located at X25 Y250.
Where is the 42.0 coming from???

; Pause macro file
;M83 ; relative extruder moves
G1 E-4 F2500 ; retract 4mm
G1 X25 Y250 Z5 F5000 ; raise nozzles
M104 S0 ; turn off heater
Re: Pause/Cancel
July 28, 2016 04:07PM
Can you post your config.g file? I'm wondering whether you have an M208 command that sets the X axis lower limit to 42mm.

btw that script will still leave the firmware thinking that the printer is still in the paused state. To cancel the print, I think you need to add M0 to the end of the pause.g file.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Pause/Cancel
July 28, 2016 04:10PM
When I hit pause on the printers that are using the Duet 0.8.5, after it pauses the buttons change to resume and cancel, essentially the function is already there for a cancel after it is paused.
Sorry, only registered users may post in this forum.

Click here to login