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

    Heater idling - automatic shutdown

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    166
    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.
    • vmario89undefined
      vmario89
      last edited by

      Hi,

      i checked the docs and forums but did not find any proper G/M code for setting some idle timeout for heaters. I want to say the firwmare that it automatically shuts down heaters which are left active but lets say did not extrude past 15 minutes or in the past 15 minutes no XY coordinate was triggered so printer does not print. Would appreciate some hint to configure or maybe some script or so.

      regards, Mario 🙂

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

        @vmario89 I asked @dc42 if this was possible. He suggested that, using the latest 3.01 firmware, you can create a daemon.g file (this always runs in the background), to query the Object Model, check states and run code as necessary. So you could implement this with two loops in daemon.g; the outer loop runs forever, while the inner loop runs when stats.status is idle, doing a G4 delay command, but if 'iterations' get high enough does M81 then M99.

        If that sets you on the right track, let us know how you get on! (I'm not a programmer!)

        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