Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Resume.g - Extrude some filament and pause before resume

    Scheduled Pinned Locked Moved
    General Discussion
    2
    3
    141
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • guitartoysundefined
      guitartoys
      last edited by

      Hi,

      I finally added a filament sensor, which seems to be working fine.

      When the out of filament sensor trips, the pause.g seems to work fine. And it looks like it retracts 10mm of filament with the pause.

      pause.g (made no changes)

      M83
      G1 E-10 F3600
      G91
      G1 Z5 F360
      G90
      G1 X0 Y0 F6000

      But the resume.g moved the head back to position, and then does a 10mm filament push before restarting the print.

      G1 R1 X0 Y0 Z5 F6000
      G1 R1 X0 Y0
      M83
      G1 E10 F3600

      What I'd like to do is 1st push some filament through the nozzle, and have it wait, so I can clean it with my toothbrush, and then resume the print. But the following doesn't work.

      G1 E10 F3600
      G4 S010
      G1 R1 X0 Y0 Z5 F6000
      G1 R1 X0 Y0
      M83

      What am I doing wrong?

      Thanks.

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @guitartoys
        last edited by

        @guitartoys What firmware version are you using?
        Have you changed resume.g to include your code above?
        If so, what part of the resume.g macro doesn't work; the 10mm extrusion, the pause, or the returning to the XYZ position?
        Rather than using pause and resume, if you're using RRF 3.4 or later, you can use the 'filament error' event, see https://docs.duet3d.com/en/User_manual/RepRapFirmware/Events

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        guitartoysundefined 1 Reply Last reply Reply Quote 0
        • guitartoysundefined
          guitartoys @droftarts
          last edited by

          @droftarts Hi,

          I'm just an idiot. I didn't realize that while the printer is paused, I could manually extrude filament.

          I thought since it was paused, I wouldn't have access to any of the normal controls.

          I'm good for now. The pause and resume are working as I would like them to.

          But I will still look into the Filament Error to see what it's capable of doing.

          Thanks.

          Michael

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA