G10/G11 hardware retraction changed in 1.19b5?

  • I upgraded from 1.18 to 1.19b5 today and while it seems to be a successful upgrade, I am finding G10/G11 hardware retraction is not working like it did before. It appears as if it's running at maximum extruder speed (3000) instead of the feedrate specified by M207 (800) and it also appears to be only moving forward (ie: both G10 and G11 advance the filament). Since it's max extruder speed, it just chews up the filament (or thunks the extruder motor) instead of actually feeding filament. Normal extraction moves are OK. Doing manual g-code retract and unretract works OK.

    I've got M207 set to[c] Retraction/un-retraction settings: length 1.50/1.50mm, speed 800/800mm/min, Z hop 0.00mm[/c]

    and my movement config is set to:

    M566 X900 Y900 Z24 E240 ; Set maximum instantaneous speed changes (mm/min)
    M203 X12000 Y12000 Z2500 E3000 ; Set maximum speeds (mm/min)
    M201 X2000 Y2000 Z050 E1500 ; Set accelerations (mm/s^2)
    ```and a sample piece of g-code using G10/G11:

    G92 E-4.00000
    G1 X112.350 Y93.686 Z0.250 F3600
    G92 E0.00000
    G1 X112.965 Y93.053 E0.01868 F2700
    G1 X113.634 Y92.477 E0.03736
    G1 X114.353 Y91.964 E0.05605

    These G10/G11 commands have been working properly for me in Marlin, RepRap, previous Duet releases, etc. Did anything change in regards to G10/G11/M207 behavior? Any clues what's going on? Really odd….

  • administrators

    Yes there was a change. Previously, G10/G11 did the Z hop and the extruder movement concurrently. In 1.19 G10 does the retraction first followed by the Z hop, and G11 undoes the Z hop and then undoes the retraction. There should be no difference in behaviour if you are not using Z hop.

    I have just tested G10/G11 in the latest beta. With or without any Z hop, the M207 feed rate parameter is working correctly, but I can confirm that G10 is advancing the filament instead of retracting it. I will fix this in the next beta, which I hope to release today.

  • Good to know I'm not completely crazy. 🙂 (Maybe just partially… )

    I'll look into what I'm doing wrong with the feedrate. Thanks!

  • administrators

    G10 retracts correctly in 1.19beta6.

Log in to reply