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

    all duex heaters shorted...

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    38
    1.8k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by Phaedrux

      https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Pin_names_for_Duet_2_WiFi_Ethernet

      Notice how the Duex heater pins are inverted in the listing.

      exp.heater3, exp.8, !duex.e2heat, !duex.pwm1
      exp.heater4, exp.13, !duex.e3heat, !duex.pwm2
      exp.heater5, exp.18, !duex.e4heat, !duex.pwm3
      exp.heater6, exp.23, !duex.e5heat, !duex.pwm4
      exp.heater7, exp.31, !duex.e6heat, !duex.pwm5
      

      So try using: !duex.e2heat

      Z-Bot CoreXY Build | Thingiverse Profile

      jens55undefined 1 Reply Last reply Reply Quote 0
      • jens55undefined
        jens55 @Phaedrux
        last edited by

        @phaedrux said in all duex heaters shorted...:

        https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Pin_names_for_Duet_2_WiFi_Ethernet

        Notice how the Duex heater pins are inverted in the listing.

        exp.heater3, exp.8, !duex.e2heat, !duex.pwm1
        exp.heater4, exp.13, !duex.e3heat, !duex.pwm2
        exp.heater5, exp.18, !duex.e4heat, !duex.pwm3
        exp.heater6, exp.23, !duex.e5heat, !duex.pwm4
        exp.heater7, exp.31, !duex.e6heat, !duex.pwm5
        

        So try using: !duex.e2heat

        You mean to say duex.e2heat (no bang) ?

        matt3oundefined 1 Reply Last reply Reply Quote 0
        • matt3oundefined
          matt3o @jens55
          last edited by

          I'm lost, it's inverted so it should not have the " ! ", right?

          jens55undefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
          • jens55undefined
            jens55 @matt3o
            last edited by

            @matt3o, that is my interpretation .... but then I am no expert on config.g .....

            SIamundefined 1 Reply Last reply Reply Quote 0
            • SIamundefined
              SIam @jens55
              last edited by SIam

              @jens55

              Example:
              
              !fan2
              
              This means the pin labelled FAN2 on the Duet, but with the drive signal inverted.
              

              Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
              Duet WiFi 1.02 or later + DueX5
              RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
              Duet WiFi Server: 1.26
              Duet Web Control 3.4.0beta4 (2021-09-27)

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @matt3o
                last edited by

                @matt3o said in all duex heaters shorted...:

                I'm lost, it's inverted so it should not have the " ! ", right?

                Some of the Duex signals are pre-inverted by the connection to the Duex, so to use the pin names, you need to add the ! to invert them again.

                Z-Bot CoreXY Build | Thingiverse Profile

                matt3oundefined 1 Reply Last reply Reply Quote 0
                • matt3oundefined
                  matt3o @Phaedrux
                  last edited by matt3o

                  @Phaedrux okay, the behavior was too erratic, I took the time to re-wire everything. On both the duet and duex. What drove me off is that all heaters were shorted when this started happening.

                  I use CAT6 wires for all not power hungry connections. I realized that they are convenient but also not easy to peel and crimp. They are just one stiff strand of wire. When you peel or crimp they tend to weaken in one tiny spot and break. Everything seems fine at the beginning but they eventually fail if damaged.

                  Now I've been very careful when peeling and I loosened the crimping tool so it applies less force.

                  I believe that was the problem. Everything seems to be working now. BTW, it works without the ! in the heater name. That part is a bit confusing in the doc... well at least for a total noob like me.

                  Thanks everybody for the help... I hope this is fixed...

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    Let us know how it goes.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    matt3oundefined 1 Reply Last reply Reply Quote 0
                    • matt3oundefined
                      matt3o @Phaedrux
                      last edited by

                      I think I got the heater naming....

                      exp.heater3 is an alias on !duex.e2heat (note the !). So to invert it you either use !exp.heater3 with an ! or duex.e2heat without it. At least this is my interpretation...

                      1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator
                        last edited by

                        Multiple names on a line are aliases for a single pin. Some pins (primarily heater pins) have an inversion between the processor and the corresponding output, RRF3 will automatically allow for this inversion. These pins are marked with a * after the pin name in the list below. For legacy reasons some Duex pins are inverted or not, depending on the name/alias used to access them. This is indicated with a ! in front of the pin name in the sable below. e.g. exp.heater3 is the same pin as !duex.e2heat the ! indicates that the logic of the pin is inverted when referred to as "duex.e2heat"

                        Z-Bot CoreXY Build | Thingiverse Profile

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