Pause Continue Issue with Z
I am doing a pause continue in order to change filaments. I have two issues. First, when the server acts on the continue it does the xy first and then z. This is ok only if my pause or continue script finished with Z being higher than where we left off at the point of pause. However, in my case I am moving z down to 0.3, in the continue script, to do a purge line in a safe area with the new color filament. So, my z will be lower than where we paused. The result is the nozzle slams into the printed object when just xy is set, and then gets to the right location after z is set by the server.
So I set out to return myself to the correct z in my continue script by using G60 S0 in my pause script and G61 Z S0 in my continue script to put my z at the correct elevation before letting the server reposition to the original location. However, it didnt work. I did a log and didnt see the G60 or G61 commands going out. I have my printer configuration set to Marlin and Marlin supports G60 and G61.
What am I doing wrong?
Run on pause script:
So I set out to return myself to the correct z in my continue script by using G60 S0 in my pause script and G61 Z S0 in my continue script to put my z at the correct elevation before letting the server reposition to the original location. However, it didnt work. I did a log and didnt see the G60 or G61 commands going out. I have my printer configuration set to Marlin and Marlin supports G60 and G61.
What am I doing wrong?
Run on pause script:
G60 S0 ;save current pos
G91 ; set relative positioning
G1 E-6 F500 ; retract filament slightly to avoid drips
G1 Z5 F5000; move extruder up 5mm
G90 ; return to absolute positioning
G1 X0 Y0 ;park XY
Run on Continue Script
Run on Continue Script
M117 Purging extruder...
G92 E0 ; reset extruder
G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
G1 X2 Y20 Z0.3 F5000.0 ; move to start-line position
G1 X2 Y100.0 Z0.3 F500.0 E15 ; draw 1st line
G1 X2.3 Y100.0 Z0.3 F5000.0 ; move to side a little
G1 X2.3 Y20 Z0.3 F500.0 E30 ; draw 2nd line
G92 E0 ; reset extruder
G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
G1 E-2 F500 ; retract filament slightly to avoid drips
G61 Z S0 ;Return to last Z height