Retraction issues

  • Good afternoon!

    So Ive gotten my Duet Wifi installed and setup for the most part, it does pretty well. The issue I am encountering is that when there is a retraction move the hotend stops in place, retracts, moves, stops at start point, primes after retraction, and then finally starts moving again. not sure if this is normal or not for this controller.

    Before on my stock Anet motherboard it would retract while performing the travel move.

    heres my "Anet", only things left are the motors. Note dont mind the piece of tint, was trying something.....


  • please share your config.g, your issue could be caused by too low extruder acceleration values...

  • You know what you may be right! Forgot about that I think I Have it set low. Grabbing info now.

    ; Drives
    M569 P0 S1 ; Drive 0 goes forwards
    M569 P1 S0 ; Drive 1 goes forwards
    M569 P2 S0 ; Drive 2 goes backwards
    M569 P3 S0 ; Drive 3 goes backwards
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X100 Y100 Z400 E470 ; Set steps per mm
    M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
    M201 X800 Y800 Z100 E250 ; Set accelerations (mm/s^2)
    M906 X800 Y1500 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent

    Y axis has a larger Nema 17 motor (the difference in motor current)

    the rest of my motors are the standard ones that come with the Anet, I do have a Titan geared extruder

  • Moderator

    Yup, pretty low.

    Here's mine for comparison. Titan Aero. I like it to be pretty zippy.

    ; ############################
    ; 5 - SPEEDS
    ; ############################

    M201 X9000 Y9000 Z600 E10000 ; Set maximum accelerations (mm/s^2)
    M203 X30000 Y30000 Z600 E10000 ; Set maximum speeds (mm/min)
    M204 P800 T4000 ; Set printing and travel accelerations
    M566 X500 Y500 Z60 E800 ; Set maximum instantaneous speed changes (mm/min) (Jerk)

    ; 20mm/s = F1200
    ; 70mm/s = F4200
    ; 120mm/s = F7200

    ; ############################
    ; ############################

    M207 S0.7 R-0.000 F10000 T1200 Z0.0

  • So just tested with 800 for Accel, no change, it still stops then retracts, you seem to have the firmware setting the retract. I have my Slicer doing it (cura) should I change that?

  • Moderator

    Your jerk settings are also very low. 2mm/s for the extruder.

    Also, what does your M207 command look like for retraction settings?
    Are you slicing with firmware retraction enabled?

  • for reference here are my settings on my P3Steel (i3 clone) with titan extruder:

    M201 X2000 Y2000 Z100 E1000            	; Accelerations (mm/s^2)
    M203 X15000 Y15000 Z800:800 E1800      	; Maximum speeds (mm/min)
    M566 X1200 Y1200 Z800:800 E300          ; Set allowable instantaneous speed change mm/min
    M207 S1.2 R0 F3000 			; firmware retraction

  • @phaedrux

    Cura is doing my retraction, I’ll use firmware if needed it’s just not something I’ve had to mess with until now.

  • @whosrdaddy

    You’re not my real dad! Lol. Thanks, I’ll start messing with some settings when I get off work.

    Thanks also to everyone who’s commented!

  • Moderator

    No, it's not needed to do firmware retraction. Cura has good retraction control. Just wondering what settings you're trying to use. The low jerk value could be preventing you from hitting it.

    If you're coming from Marlin you may be used to seeing the jerk values in mm/s rather than the mm/min in RRF.

  • @phaedrux

    I’m coming from Marlin, so this is all different haha. I’ll definitely up my jerk settings and see what happens.

    Also I have this issue where I can set a perfect offset from the bed for the first layer, but after a couple layers the nozzle starts touching the print. I’m thinking it’s my z steps but I had set those to what I had in Marlin firmware, So I’m not sure lol.

  • Moderator

    @stealthy_tt What are you using for a Z probe? What does your homez.g file look like?

  • @phaedrux

    Have no access to the home file at the moment, but I’m using dc42s mini ir probe

  • @phaedrux

    Heres my homez file

    ; homez.g
    ; called to home the Z axis
    ; generated by RepRapFirmware Configuration Tool on Sat Apr 14 2018 16:11:45 GMT-0700 (Pacific Daylight Time)
    ;G91 ; relative positioning
    ;G1 Z5 F6000 S2 ; lift Z relative to current position
    ;G1 S1 Z-405 F1800 ; move Z down until the switch triggers
    ;G92 Z2.5 ; set Z position to trigger height

    ; Uncomment the following lines to lift Z after probing
    G91 ; relative positioning
    G1 Z20 F100 S2 ; lift Z relative to current position
    G90 ; absolute positioning /
    g1 x180 y180 s2 f2000

    I know i probably messed something up here, was a crap shoot for me to get the probe to work haha.

  • administrators

    RepRapFirmware will do whatever the gcode generated by the slicer commands. It isn't normal to retract and travel at the same time, although some slicers have a "wipe while retracting" option.

  • @dc42

    The way im describing it is probably wrong. I know its not retracting correctly though. On my stock anet board the nozzle would never stop to retract, and if it did it wasnt long enough for me to think hey something is wrong. On the Duet the hotend stops dead in its tracks long enough for me to notice something is wrong with my settings or something. Ill have to get a video of it as I know im not describing it correctly lol.

  • administrators

    Perhaps you have the maximum extruder speed or acceleration set much too low in the M203 or M201 command?

  • @dc42
    Probably, im going to try some changes when i get off work. Are we able to upload videos directly or do we have to upload somewhere like youtube?

    Using my phone thats why I ask.

    Thanks dc42

  • administrators

    Upload to YouTube and post the link here.

  • @dc42

    Thanks will do when I get off work.

    Any ideas as to why when I get my nozzle offset corect after a first couple layers print the nozzle starts to scrape over the top of the print?

    I calibrated the extruder steps and when I extrude 100mm of filament 100mm is indeed what is taken up. So I dont think it can be that. I was thinking maybe the z axis steps, but thats the same as I had in Marlin. Is there like an offset per layer or something?

  • May have figured out my issue with the nozzle dragging on the print after the first layer or so. Searching around i found that a M8 rod 1.25 pitch at x16 should have a value of 2560 steps/mm i have mine set to 400 steps/mm ill have to try when i get home

  • Moderator

    @stealthy_tt Are you maybe skipping steps on the Z axis?

  • @phaedrux
    Not skipping that i am sure of, see my reply above you, i think i figured it out but wont know till later

  • Okay, So just messed with my Z steps/mm 400 is infact correct with my printer afaik. I homed z and took a measurement and then moved z up 10mm and it was exactly 10mm. so thats not my dragging issue.


    Heres the video of what it is doing. The hums you hear are it retracting and re extruding

Log in to reply