Park current tool during pause and play some tones
For a current project I need to pause the print at a point in the middle of the job. In order to park the current tool before the pause and pick it up after, I replaced the "Pause Print G-code" with:
G1 F{min(350.0, travel_speed)*60} ; Set fast travel speed P0 S1 ; Park the current tool M300 S500 P500 ; The next 7 lines play three notes as an alert G4 P300 M300 S300 P500 G4 P300 M300 S500 P500 M601 ; Initiate printer pause G4 P100 ; Wait 100ms T{current_extruder} S1 L0 D0 ; Pick up the current tool
The trick here is the G4 P100 after the M601. This isn't documented as being needed, but without it the command to pick up the current tool at the end is not executed. Took a bit of investigation to figure out what was going on, thought I'd pass it along in case anyone else needs this.
RE: Park current tool during pause and play some tones
Thank you for sharing this! I have been tending to a batch of parts this weekend that have two pauses where I insert jigs and I immediately reprint when complete. (I use support jigs that I tape in place to save a significant amount of time and waste and produce even cleaner overhangs than soluble interfaces). I was getting a significant amount oozing when the nozzle paused in the air, which caused the first few cm after resuming to not extrude. Parking should be the default behavior for the pause gcode on the XL.
Rather than beeping I use this script to sends push notifications to my mobile device when the machine needs attention:
https://gist.github.com/deckar01/7099fc92865c6173d8c9e04bd32015d5
RE: Park current tool during pause and play some tones
For reference, here's the code without the tones:
G1 F{min(350.0, travel_speed)*60} ; Set fast travel speed P0 S1 ; Park the current tool M601 ; Initiate printer pause G4 P100 ; Wait 100ms T{current_extruder} S1 L0 D0 ; Pick up the current tool
RE: Park current tool during pause and play some tones
This was EXACTLY what I was looking for today and works perfectly. Thanks!