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

    M116 in tpost macros...

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    3
    460
    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.
    • mhackneyundefined
      mhackney
      last edited by mhackney

      I'm working on optimizing the macros for the E3D tool changer beta printer. I set the standby and active temps with G10 for all 4 tools. Then, in my tpost macros I call M116 Px before picking up the tool from the dock. I expect this to wait until the tool is up to active temp but it is not. It picks up at the standby temp. Then after picking up, the tool goes to the wipe area, wipes and then waits for the temp to rise before starting to print. This, of course, creates a string that gets dragged on the print. Any ideas on why M116 is only waiting for the standby temp? What can I do to wait until the tool reaches the active temp?

      Here is my tpost0.g macro:

      ; called after tool 0 has been selected
      ;
      
      ; unlock coupler
      M98 P/macros/Coupler - Unlock
      
      ; move to dock
      G1 X-15.5 Y225 F15000
      
      ; wait for warm up
      G1 X-15.5 Y270 F15000
      T0
      M116 P0
      
      ; move to tool
      G1 X-15.5 Y280.75 F5000
      G4 P250
      
      ; close coupler
      M98 P/macros/Coupler - Lock
      
      ; back out
      G1 X-15.5 Y200 F15000
      
      ; fan on
      M106 P2 S127
      
      M98 P/sys/twipe.g```

      My 3D Printing blog: http://www.sublimelayers.com
      Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

      garyd9undefined deckingmanundefined 2 Replies Last reply Reply Quote 0
      • garyd9undefined
        garyd9 @mhackney
        last edited by

        @mhackney

        WAG: What if you remove the "T0" before the M116? At the time tpost0.g is run, the tool should already be selected.

        If that doesn't work, what happens if you replace the M116 with M109 (and specify the proper temperature?)

        "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

        1 Reply Last reply Reply Quote 0
        • deckingmanundefined
          deckingman @mhackney
          last edited by deckingman

          @mhackney It's been a very long time since I last played around with those tool change macros but as @garyd9 mentioned above, I suspect the "T0" command within that macro might trigger tpre0.g which might be why it gets upset. As that tpost0.g macro only gets run when T0 is selected, there should be no need to specify T0 again from within that macro.

          Ian
          https://somei3deas.wordpress.com/
          https://www.youtube.com/@deckingman

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