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

    M42 For LED Control Not Working

    Scheduled Pinned Locked Moved
    General Discussion
    2
    5
    483
    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.
    • Eth7anundefined
      Eth7an
      last edited by

      I have been reading up on the GCode necessary to convert one of my Pwm fan headers into a dimmable LED control. To do this I have disabled the fan using M106 P2 I-1 and then tried to use the M42 Command to activate that pin. I still have the header connected to a fan while I try to get it working, but the command does nothing to the fan and returns an error:
      0_1548598789387_8fe1cdc3-aa82-4a5a-b6f8-492f648f55bb-image.png
      If anybody knows what Ive done wrong, that would be a ton of help!

      Thanks for the help, Ethan

      Eth7anundefined 1 Reply Last reply Reply Quote 0
      • Eth7anundefined
        Eth7an @Eth7an
        last edited by

        @eth7an If it helps, I'm using a DUET 2 Ethernet on the latest firmware version. I have the fan connected to the Fan header 2 as well, even though I have tried all of them.

        1 Reply Last reply Reply Quote 0
        • Eth7anundefined
          Eth7an
          last edited by

          I have also tried these, however none of them have any effect on my connected fan 😞0_1548599069396_57372944-3725-4c21-a658-c7ef65db6a2e-image.png

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

            Fan 2 output is logical pin 22, not 2. Logical pin 2 is heater 2 output.

            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
            • Eth7anundefined
              Eth7an
              last edited by

              Thank you, that worked!

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