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

    Using Heat Bed Output as IO Pin

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    8
    966
    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.
    • PayTorundefined
      PayTor
      last edited by

      Hi, I'm trying to use the heat bed output of a DuetEthernet as a regular IO. I've used "M307 H0 A-1 C-1 D-1" command to disable the bed heater first. I can actually confirm that it's disabled with "M307 H0". But then when I use "M42 P0 S255" to turn it on manually, the bed heat LED on the board flashes and turns off quickly. Is there anything I'm missing here? I can control all other heater outputs like this (E0-E6). Bed heater is the only one I can't control.

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        You may need to send M140 H-1 to tell the firmware that there is no bed heater.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • PayTorundefined
          PayTor
          last edited by

          M140 H-1 removes the Bed Heater temperature control box from the web interface, but still the same issue. The LED flashes for second and turns off.

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            I have confirmed this as a bug, and I will try to include a fix in 1.19beta11.

            Edit: I found the problem. Temporary workaround: put the M140 H-1 command earlier in config.g than your M563 tool definition commands.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • PayTorundefined
              PayTor
              last edited by

              I don't have an M563 tool definition command. I put M140 H-1 on top of my config.g, still didn't work.

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators
                last edited by

                After your M140 H-1 command, create a tool with M563, then delete it.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                1 Reply Last reply Reply Quote 0
                • PayTorundefined
                  PayTor
                  last edited by

                  Works perfectly, Thanks.

                  1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators
                    last edited by

                    Fixed in 1.19beta10+2 which I released earlier today.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

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