Resume print after color change in vase mode issue
-
I think the problem is no pause command is being issued, so the paused coordinates needed by the G1 R1 commands at the end are undefined.
-
Now I've tried it with M226, but this doesn't solve the problem. But I've seen, the z-height ist correct, it's just to slow and the filament is ozzing out while traveling (takes about 5sec).
The weird thing is, without vase mode, it works really nice. -
Without vase mode, my guess is that the slicer is inserting a move to the correct XYZ position immediately after that comment you are replacing and the associated tool change.
-
This is the gcode in normal mode:
G1 X-8.710 Y11.054 E0.0291
G1 X-9.300 Y10.635 E0.0291
G1 X-9.623 Y10.357 E0.0171
G1 X-9.850 Y10.161 F1019
G1 E-1.6000 F2100
G1 Z5.250 F15000
M98 P/macros/color change
; layer 21, Z = 5.200
M104 S215 T0
M140 S60
M106 S224
G1 X-9.855 Y10.156 F18000
G1 Z5.200 F15000
G1 E1.6000 F2100
G1 X-10.158 Y9.854 E0.0172 F1019
G1 X-10.399 Y9.587 E0.0144
G1 X-10.808 Y9.069 E0.0265and in vase mode:
G1 X-8.710 Y11.054 Z4.944 E0.0291
G1 X-9.300 Y10.635 Z4.946 E0.0291
G1 X-9.850 Y10.161 Z4.948 E0.0291
M98 P/macros/color change
; layer 21, Z = 5.200
M104 S215 T0
M140 S60
M106 S224
G1 X-10.158 Y9.854 Z4.950 E0.0175 F1019
G1 X-10.399 Y9.587 Z4.951 E0.0144
G1 X-10.808 Y9.069 Z4.952 E0.0265Maybe you find something what's going wrong.
-
So in normal mode you have this:
M98 P/macros/color change ; layer 21, Z = 5.200 M104 S215 T0 M140 S60 M106 S224 G1 X-9.855 Y10.156 F18000 G1 Z5.200 F15000 G1 E1.6000 F2100 G1 X-10.158 Y9.854 E0.0172 F1019
After the tool change it sets XY and then Z to the required position before it does any extrusion. In vase mode it does this:
M98 P/macros/color change ; layer 21, Z = 5.200 M104 S215 T0 M140 S60 M106 S224 G1 X-10.158 Y9.854 Z4.950 E0.0175 F1019
It doesn't reset the position before extruding again.
-
In normal mode, it's the startpoint of the next layer, in vase mode, there ist no startpoint, because there ist no endpoint from the last layer. Any suggestions how I could solve this?
-
I am implementing the G60 command in firmware 1.21RC3. I think using this will solve your problem.
-
Thank you very much David!
-
Unfortunately, nothing has changed. G60 S0 saves the current position and with G1 R0 the nozzle is going back to the saved position. But I do not think that's the problem. The position is simply approached very slowly. And as I said, the strange thing is, it only happens in vase mode. Otherwise the movement is normal fast.
From these lines, it is slow:
G1 R1 Z50 F6000 ; go to 50mm above position of the last print move
G1 R1 ; go back to the last print move
Then it goes on normally. -
G1 R0 does nothing at all because only axes that are mentioned are moved. Use these lines instead:
G1 R0 X0 Y0 Z50 F6000
G1 R0 X0 Y0 Z0I don't know why you use Z50, I use Z2 for this sort of thing.
-
The 50mm are only for the test so that there is more room for the extruded filament when changing. I'll try your suggestion later, I'm curious if this affects the travel speed.
-
You where right! Travel speed is now fast again! Thank you!