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

    Time Based Heating

    Scheduled Pinned Locked Moved Solved
    Gcode meta commands
    3
    5
    252
    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.
    • JRCLundefined
      JRCL
      last edited by JRCL

      I have a higher voltage heating element that is being controlled by a SSR. I have successfully set it up as tool and chamber before when I was playing around with it but I'm not sure the best way to categorize it as I hope to raise it to a temperature then have it hold at that temperature for prescribed amount of time. Recommendations on best way to go about this? Cheers and Happy Friday

      1 Reply Last reply Reply Quote 0
      • JRCLundefined JRCL marked this topic as a question
      • Phaedruxundefined Phaedrux moved this topic from General Discussion
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Is this for a chamber heater?

        Z-Bot CoreXY Build | Thingiverse Profile

        JRCLundefined 1 Reply Last reply Reply Quote 0
        • JRCLundefined
          JRCL @Phaedrux
          last edited by

          @phaedrux Not necessarily. Its being used in a thermoforming process to heat up the forming sheet so it could go either way.

          OwenDundefined 1 Reply Last reply Reply Quote 0
          • OwenDundefined
            OwenD @JRCL
            last edited by

            @jrcl
            It depends on whether the machine needs to be active and doing something during the heating period.

            If it's not then a simple G4 command would suffice between the commands to turn on/off the heater

            If it does then you need to create/update a global variable and use daemon.g to monitor the elapsed time.

            if !exists(global.offTime)
               global offTime = state.time + (your delay time)
            

            Then in daemon.g use

            if exists(global.offTime)
               if (global.offTime > state.Time)
                  "Code to turn off heaters here"
            

            You will need extra code to check if heating is on progress and it's above a certain temp as daemon.g will be running all the time.
            This is just a framework.

            JRCLundefined 1 Reply Last reply Reply Quote 2
            • JRCLundefined
              JRCL @OwenD
              last edited by

              @owend That G4 should do it! Everything else remains idle. Thank you!

              1 Reply Last reply Reply Quote 0
              • JRCLundefined JRCL has marked this topic as solved
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA