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

Purge after tool select

Scheduled Pinned Locked Moved
General Discussion
2
4
214
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.
  • undefined
    cdl1701yahoo.com
    last edited by 17 Dec 2019, 01:35

    Making progress on my tool changer, so the next thing I need to fix is to get the purge to work. Here is what I have working so far.

    • Home X, Y, Z, & U. U is my tool lock actuator
    • T0 is picked up successfully from its dock and waits for temperatures to be reached.
    • Tool head moves to purge location (still in standby mode)

    This is where it stops. It should then purge the extruder and start printing but it gives me the "Attempting to extrude without a tool selected" error.
    I notice that at the beginning of the print in the DWC that the tool is set to Standby right off the bat instead of Active and I think that is what is causing the problem. Once I get the error though the tool goes active and pauses for about 30-60 seconds before it starts printing but it never does the purge.

    Here is my Tpre0.g and start gcode in S3D

    Tpre0.g
    M116
    G0 X58 Y278 F25000 ; Rapid to the approach position without any current tool.
    G1 Y357 F2000 ; Controlled move to the pickup position with tool-0.
    M400
    G4 P500
    M98 P"/macros/TOOL_CHANGE/Tool_Lock.g" ; Lock the tool
    M400
    G4 P500
    G1 Y278 F6000 ; Retract the entire tool.
    G1 X1 Y1 F6000 ; Move Head to front left
    M400
    G4 P500
    G1 E20 F500 ; Purge extruder
    G60 S2 ; Save this position as the reference point from which to later apply new tool offsets.

    S3D start gcode
    G28 ; home XY axes
    M561 ; Clear any bed transform that might be in place
    M375 ; Load height map
    T0

    Anyone spot where it is going wrong?

    undefined 1 Reply Last reply 17 Dec 2019, 01:54 Reply Quote 0
    • undefined
      cdl1701yahoo.com @cdl1701yahoo.com
      last edited by 17 Dec 2019, 01:54

      Sorry guys, I completely forgot about the Tpost0.g file. I moved my purge command to that location and now all works correctly.

      1 Reply Last reply Reply Quote 0
      • undefined
        Danal
        last edited by 17 Dec 2019, 02:56

        Move the purge commands to Tpost0.g.

        During pre, the tool is not actually selected; during post, it is.

        Here are the 0 files for a Jubilee. The other files are exactly the same, except for the X coordinate.

        tpre0.g tpost0.g tfree0.g

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • undefined
          Danal
          last edited by 17 Dec 2019, 02:56

          Ha! our comments "crossed in the night". Good that it is working.

          Delta / Kossel printer fanatic

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