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

    standby temp

    Scheduled Pinned Locked Moved
    Duet Web Control
    2
    2
    172
    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.
    • Shueundefined
      Shue
      last edited by

      Hello
      Unfortunately I didn't find anything. Is there a possibility that the standby temp in webcontrol waits until the correct temp is reached before printing continues?
      As with the command in the slicer but in web control

      example in the slicer:

      ({IF NEWTOOL = 0} M104 S165 T1; set T1, inactive extruder to 165 C
      {IF NEWTOOL = 0} M109 S220 T0; Set T0, new active extruder to 220 and wait for it to reach temperature before proceeding.
      {IF NEWTOOL = 1} M109 S220 T1; set T1, Heat T1 to 220
      {IF NEWTOOL = 1} M104 S165 T0; Cool T0 to 165)

      I hope it is understandable what I write

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

        @Shue M109 won't work with standby temperatures. It's better to use G10 to set the active and standby temperatures for each tool (you can put this in the slicer start code if you want), and send M116 after tool changes, which waits for all temperatures and other slowly-changing variables to arrive at their set values.

        So you code would be something like this, which will turn on both tools, set T1 to be standby, T0 to active, then wait for temperatures to be reached:

        G10 P0 S220 R165 ; Set tool 0 active and standby temperatures
        G10 P1 S220 R165 ; Set tool 1 active and standby temperatures
        T1 P0 ; Select tool 1 to turn it on but don't execute tool change scripts
        T0 ; Select tool 0
        M116 ; Wait for all temperatures to be reached
        

        This is usually at the beginning of the gcode, but you can do this when changing tool. At tool changes, you just want

        T1 ; or T0, whichever tool change is next
        M116
        

        Rather than setting this up in the slicer, you can also use the tpre[tool_number].g and tpost[tool_number].g scripts to handle how tool changes are managed. See https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Tool_change_files

        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

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