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

    all duex heaters shorted...

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    38
    1.7k
    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.
    • matt3oundefined
      matt3o @Phaedrux
      last edited by matt3o

      @phaedrux sure thing

      ; --------------------------------------------------
      ; General preferences
      ; --------------------------------------------------
      
      G90                                                       ; send absolute coordinates...
      M83                                                       ; ...but relative extruder moves
      M550 P"Agony"                                            ; set printer name
      
      M552 S1                                                   ; enable network
      M586 P0 S1                                                ; enable HTTP
      M586 P1 S0                                                ; disable FTP
      M586 P2 S0                                                ; disable Telnet
      
      
      ; --------------------------------------------------
      ; Drives
      ; --------------------------------------------------
      
      M569 P2 S1                                                ; X1 (Z stepper)
      M569 P1 S0                                                ; X2 (Y stepper)
      M569 P0 S0                                                ; Y1 (X stepper)
      M569 P3 S1                                                ; Y2 (E0 stepper)
      M569 P4 S1                                                ; Z1 (E1 stepper)
      M569 P5 S1                                                ; Z2 (E2 stepper DEX)
      M569 P6 S1                                                ; Z3 (E3 stepper DEX)
      M569 P7 S1                                                ; Extruder1 (E4 stepper DEX)
      
      M584 X2:1 Y0:3 Z4:5:6 E7                                  ; set drive mapping
      
      M906 X1300 Y1300 Z1300 E500 I40                           ; set motor currents (mA) and motor idle factor in per cent
      M350 X16 Y16 Z16 E16 I1                                   ; configure microstepping with interpolation
      M92 X160.00 Y160.00 Z1600.00 E698                         ; set steps per mm
      M84 S30                                                   ; Set idle timeout
      
      M566 X900.00 Y900.00 Z60.00 E120.00                       ; set maximum instantaneous speed changes (mm/min)
      M203 X30000.00 Y30000.00 Z600.00 E7200.00                 ; set maximum speeds (mm/min)
      M201 X6000.00 Y6000.00 Z20.00 E600.00                     ; set accelerations (mm/s^2)
      
      
      ; --------------------------------------------------
      ; Axis Limits
      ; --------------------------------------------------
      
      M208 X0 Y0 Z0 S1                                          ; set axis minima
      M208 X380 Y385 Z350 S0                                    ; set axis maxima
      
      ; Leadscrews position
      M671 X368.5:-21.5:173.5 Y341.85:341.85:1.85 S20
      
      ; Endstops
      M574 X2 S1 P"xstop"                                       ; configure active-high endstop for high end on X via pin xstop
      M574 Y1 S1 P"ystop"                                       ; configure active-high endstop for low end on Y via pin ystop
      M574 Z1 S2                                                ; configure Z-probe endstop for low end on Z
      
      ; Z-Probe
      M558 P5 C"^zstop" H5 F120 T6000 A3                        ; set Z probe type to switch and the dive height + speeds
      G31 P500 X-5.85 Y33 Z3.85                                 ; set Z probe trigger value, offset and trigger height
      M557 X20:370 Y20:370 S50                                  ; define mesh grid
      
      
      ; --------------------------------------------------
      ; Heaters
      ; --------------------------------------------------
      
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4138            ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"bedheat" T0 Q10                                 ; create bed heater output on bedheat and map it to sensor 0
      M307 H0 B0 R0.724 C695.9 D3.76 S0.80                      ; auto-tune
      M140 H0                                                   ; map heated bed to heater 0
      M143 H0 S120                                              ; set temperature limit for heater 0 to 120C
      M308 S1 P"e4temp" Y"thermistor" T500000 B4723 C1.19622e-7 ; configure sensor 1 as thermistor on pin e0temp
      M950 H1 C"e0heat" T1                                      ; create nozzle heater output on e0heat and map it to sensor 1
      M307 H1 B0 R2.573 C190.5:106.0 D4.28 S1.00                ; auto-tune
      M143 H1 S350                                              ; set temperature limit
      
      
      ; --------------------------------------------------
      ; Fans
      ; --------------------------------------------------
      
      M950 F0 C"duex.fan3" Q500                                  ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0 H-1                                            ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"duex.fan4" Q500                                      ; create fan 1 on pin fan1 and set its frequency
      M106 P1 S1 H1 T45                                         ; set fan 1 value. Thermostatic control is turned on
      
      
      ; --------------------------------------------------
      ; Tools
      ; --------------------------------------------------
      M563 P0 S"Mosquito" D0 H1 F0                               ; define tool 0
      G10 P0 X0 Y0 Z0                                           ; set tool 0 axis offsets
      G10 P0 R0 S0                                              ; set initial tool 0 active and standby temperatures to 0C
      
      
      ; --------------------------------------------------
      ; Closing
      ; --------------------------------------------------
      M593 F48 ; input shaper
      T0                                             ; select tool
      

      it's configured with the heater on the duet2, all I have to do to make it fail is to use any duex heater name like (duex.e2heat)

      1 Reply Last reply Reply Quote 0
      • 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