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

duet2 wifi with duex5 and multiple heated beds

Scheduled Pinned Locked Moved Solved
Duet Hardware and wiring
3
9
173
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.
  • undefined
    lorenjz
    last edited by 26 Nov 2024, 18:35

    I'm attempting to get three heated beds connected to our duet controller. I assume that the two leads of the SSR will connect to the terminal block on the right side (E2 Heater - E4 Heater) but does that block supply voltage that is capable of triggering a SSR. The ones we have are rated from 4V to 32V DC.

    Any help would be greatly appreciated!

    Loren

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 26 Nov 2024, 18:51

      Can you provide some more details about what you'r trying to accomplish?

      Are you planning to have the 3 beds independantly controlled or just ganged together?
      Are the beds AC or DC?
      What kind of SSR is it? Single or multiple?

      Generally speaking though, the heater outputs on the Duet are capable of switching the SSR input side. They would output at your VIN voltage, which should be in range for your SSR.

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 26 Nov 2024, 19:19 Reply Quote 0
      • undefined
        lorenjz @Phaedrux
        last edited by lorenjz 26 Nov 2024, 19:19

        @Phaedrux Thanks for looking into this. The printer has three completely separate heated beds. The printer came with three power supplies that contain a TCN4S-24R (small temperature controller) that runs a DC signal to a Fotek KSR-25 DA. The heaters are all set to run off of 220.

        Our hope is to have the duet control all three beds individually. My thought was output from the duet to the DC side. That would give us the ability to only have the beds that we need on and then the controller could turn them off once a print finishes. I do have the appropriate thermistors connected and are reading temperatures accurately.

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 26 Nov 2024, 19:59

          Have you seen this page on connecting bed heaters?

          https://docs.duet3d.com/en/User_manual/Connecting_hardware/Heaters_bed

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 1 Reply Last reply 26 Nov 2024, 20:15 Reply Quote 0
          • undefined
            lorenjz @Phaedrux
            last edited by 26 Nov 2024, 20:15

            @Phaedrux I have. The problem that I have is I think I've fried my controller. I've been referencing this diagram. I read that in the description here and probably misunderstood that the screw terminals were acting as a relay but in reality probably have enough voltage to run a hotbed or hotend. correct?

            undefined 1 Reply Last reply 27 Nov 2024, 11:15 Reply Quote 0
            • undefined
              droftarts administrators @lorenjz
              last edited by 27 Nov 2024, 11:15

              @lorenjz said in duet2 wifi with duex5 and multiple heated beds:

              The problem that I have is I think I've fried my controller.

              If you connected 220V AC to the Duet directly, then very likely yes. The Duet and Duex voltage input (VIN) should be 12V to 24V.

              ... probably misunderstood that the screw terminals were acting as a relay but in reality probably have enough voltage to run a hotbed or hotend. correct?

              The heater outputs on the Duex are meant for extruder heaters running on 12V to 24V (VIN), and are rated at 6A (though whole board is fused at 7.5A), which would not be enough to run a heated bed directly. As the output on these is VIN (ie 12V-24V) you can connect the heater outputs to the Fotek KSR-25 DA SSR, and control the beds through that. So yes, acting as a relay.

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              undefined 1 Reply Last reply 21 Apr 2025, 19:04 Reply Quote 0
              • undefined
                lorenjz @droftarts
                last edited by 21 Apr 2025, 19:04

                @droftarts We have our printer back up and running. I've learned a bunch through this process. I would like to power the ssr low voltage side with our duex5 heater outputs E2 through E4. I don't see any DC voltage on e4 heater output though when I attempt to set a temperature through the web gui. Should I?

                I did measure 24v on the power in connector.

                Here is the config file that I'm currently running:

                ; Modix Big-Meter, Duex Expansion, IDEX
                ; Configuration file for Duet WiFi (firmware version 3.4.5)
                ; Generated by Modix - Version 3.4.5 Config C 
                global config_version = "Version 3.4.5 Config C"
                global generation = 4 											; generation 4 printer
                global printhead  = 1 											; Griffin printhead
                global printheads = 2											; dual extruder
                global expansion = 1 											; Duex expansion board is installed
                global idex = 1													; idex setup
                ; for macro commands
                global pausetime = 0											; record pauzing time
                global fan_0_speed = 0 											; Used to store the fan0 speed
                global fan_1_speed = 0 											; Used to store the fan1 speed
                global filamentswitch = 0 										; filament switch disabled (edited) 
                global changer_count = 0 										; Counter for tool changer continous. 
                global toolstate = 0											; used for pauses
                
                ; General preferences_________________________________________________________
                G90																; send absolute coordinates...
                M83																; ...but relative extruder moves
                M555 P2															; Set output to look like Marlin
                M575 P1 B57600 S1												; Set auxiliary serial port baud rate and require checksum (for PanelDue)
                
                ; Network_____________________________________________________________________
                M550 P"Big Meter V4 - IDEX"										; set printer name
                ;M551 P"MODIX3D"												; Set password (optional)
                M98 P"config_networking.g"										; enable network
                G4 P300															; wait 300ms
                ;M552 P0.0.0.0													; Uncomment this command for using Duet Ethernet board
                
                ; Drives_________________________________________________________________________
                ;Main board______________________________________________________________________
                M569 P0 S1														; Physical drive 0. X-B-M
                M569 P1 S0														; Physical drive 1. X-F-M
                M569 P2 S0														; Physical drive 2. U Secondary
                M569 P3 S1                                                  	; Physical drive 3. E0-Extruder.
                M569 P4 S0                                                 		; Physical drive 4. E1-Extruder.
                ;Duex5 board_____________________________________________________________________
                M569 P5 S0														; Physical drive 5. Y
                M569 P6 S1														; Physical drive 6. Z-Back-Left (ZBL)
                M569 P7 S1														; Physical drive 7. Z-Front-Left (ZFL)
                M569 P8 S1														; Physical drive 8. Z-Front-Right (ZFR)  
                M569 P9 S1														; Physical drive 9. Z-Back-Right (ZBR) 
                
                ;Settings_________________________________________________________
                M584 X0:1 Y5 U2 Z6:7:8:9 E3:4 P4								; Driver mapping
                M671 X-185:-185:1068:1068 Y1068:-46:-46:1068 S30    			; Anticlockwise 
                ;___________________________________________________________________
                M350 X16 Y16 Z16 U16 E16:16 I1									; Configure microstepping with interpolation
                M92 X80 Y80 U80 Z2000 E415:415									; Set steps per mm
                M566 X500 Y500 U500 Z30 E3000:3000 P1 							; Set maximum instantaneous speed changes (mm/min)
                M203 X18000 Y18000 U18000 Z400 E6000:6000 						; Set maximum speeds (mm/min)
                M201 X3000 Y3000 U3000 Z240 E1000:1000 							; Set accelerations (mm/s^2)
                M204 P1000 T3000 												; Set print and travel accelerations  (mm/s^2)
                M906 X1800 Y1800 U1800 Z1800 E1000:1000 I50						; Set motor currents (mA) and motor idle factor in per cent
                M84 S100														; Set idle timeout - 100 seconds
                
                ; Axis Limits
                M208 X0 Y0 U0 Z-2 S1                               				; set axis minima
                M208 X980 Y1000 Z1000 S0                          				; set axis maxima
                M98 P"config_probe_offset_U.g"									; Load secondary axis offsets
                
                ; Endstops
                M574 X1 S1 P"duex.e5stop + duex.e6stop"							; configure switch-type (e.g. microswitch) endstop for low end on X via pin e5stop + e6stop
                M574 Y1 S1 P"duex.e4stop"										; configure switch-type (e.g. microswitch) endstop for low end on Y via pin e4stop
                M574 U2 S1 P"duex.e3stop"										; configure switch-type (e.g. microswitch) endstop for low end on Secondary via pin e3stop
                ; Automatic Z Offset Calibration____________________________________
                M574 Z1 S1 P"!duex.e2stop"										; configure switch-type for Automatic z-offset
                
                ; Z-Probe
                M558 P9 C"zprobe.in" H4 F180 T12000 A1 R0.5						; BLTouch probing settings
                M950 S0 C"duex.pwm5"											; sets the BLTouch probe
                M376 H100			                							; Height (mm) over which to taper off the bed compensation
                G31 P500 X0 Y32.4												; BLTouch X and Y offset
                M557 X{move.axes[0].min + sensors.probes[0].offsets[0] + 1, move.axes[0].max + sensors.probes[0].offsets[0] - 1} Y{move.axes[1].min + sensors.probes[0].offsets[1] + 1, move.axes[1].max + sensors.probes[0].offsets[1] - 1} P30:10
                																; The M557 is used to define the mesh grid area. It uses the P parameter to set the amount of probing points. P10:10 would be a 10x10 grid. Supports up to a 21x21 grid. 
                M98 P"config_probe.g"											; Load the Z-offset from the config_probe.g file
                																; The Z_offset value is now set in config_probe.g, not in config.g
                																; Adjust the values there, do not adjust anything here.
                
                ; Heaters___________________________________________________________
                ;M140 H-1                                       					; disable heated bed (overrides default heater mapping)
                
                ;lz Bed setup______
                M308 S2 P"spi.cs5" Y"thermocouple-max31856"  ; create sensor number 1 as a thermocouple, defaulting to type K in the first position on the Duet 2 daughter board connector
                M950 H2 C"duex.e4heat" T2
                M307 H2 B0 S1.00  
                M140 H2
                M143 H2 S120
                
                ;E0_________________________________________________________________
                ;M308 S0 P"e0temp" Y"thermistor" T100000 B4725   				; configure sensor 0 as thermistor on pin e0temp
                ;M308 S0 P"spi.cs1" Y"rtd-max31865"								; Configure sensor 0 as PT100 via the daughterboard
                M308 S0 P"e0temp" Y"pt1000"										; Configure sensor 0 as PT1000 on pin e0temp
                M950 H0 C"e0heat" T0                            				; create nozzle heater output on e0heat and map it to sensor 0
                M98 P"PID_tune_E0.g" R1										; PID calibration
                M143 H0 S300                                    				; set temperature limit for heater 0 to 285C
                
                ;E1_________________________________________________________________
                ;M308 S1 P"e1temp" Y"thermistor" T100000 B4725   				; configure sensor 1 as thermistor on pin e1temp
                ;M308 S1 P"spi.cs2" Y"rtd-max31865"								; Configure sensor 1 as PT100 via the daughterboard
                M308 S1 P"e1temp" Y"pt1000"										; Configure sensor 1 as PT1000 on pin e1temp
                M950 H1 C"e1heat" T1                            				; create nozzle heater output on e1heat and map it to sensor 1
                M98 P"PID_tune_E1.g" R1											; PID calibration
                M143 H1 S300                                    				; set temperature limit for heater 1 to 285C
                
                
                
                
                ; Fans______________________________________________________________
                M950 F0 C"fan0" Q500                            				; create fan 0 on pin fan0 and set its frequency
                M106 P0 S0 H-1 C"Primary blower fan"							; set fan 0 value. Thermostatic control is turned on
                M950 F1 C"fan1" Q500                            				; create fan 1 on pin fan1 and set its frequency
                M106 P1 S0 H-1 C"Secondary blower fan"							; set fan 1 value. Thermostatic control is turned on
                M950 F3 C"duex.fan5" Q500                       				; create fan 3 on pin fan5 and set its frequency
                M106 P3 S255 H0 T45                             				; set fan 3 value. Thermostatic control is turned on
                M950 F4 C"duex.fan6" Q500                       				; create fan 4 on pin fan6 and set its frequency
                M106 P4 S255 H1 T45                             				; set fan 4 value. Thermostatic control is turned on
                ; LED______________________________________________________________
                M950 F2 C"duex.fan7" Q500                            			; create LED on pin fan7 and set its frequency
                M106 P2 S0 H-1 C"LED Primary"                            		; Disable fan channel for LED
                M950 F5 C"duex.fan8" Q500                            			; create LED ENC on pin fan8 and set its frequency
                M106 P5 S0 H-1 C"LED ENC"                              			; Disable fan channel for LED
                M950 F6 C"duex.fan4" Q500                            			; create LED Secondary on pin fan4 and set its frequency
                M106 P6 S0 H-1 C"LED Secondary"                              	; Disable fan channel for LED
                M106 P5 S255													; Enclosure LED on by default
                M106 P2 S255													; Secondary LED on by default
                M106 P6 S255													; Primary LED on by default
                
                ; Tools______________________________________________________________
                ;T0_________________________________________________________________
                M563 P0 S"E0 Primary" D0 H0 F0 	                				; define tool 0
                G10 P0 X0 Y0 Z0                                 				; set tool 0 axis offsets
                G10 P0 S210 R180                                  				; set initial tool 0 active and standby temperatures to 210 and 180c by default
                
                ;T1_________________________________________________________________
                M563 P1 S"E1 Secondary" D1 H1 F1 Y3               				; define tool 1
                G10 P1 X0 Y0 Z-3                              					; set tool 1 axis offsets
                M98 P"config_probe_secondary.g"									; Set secondary Z-Offset
                M98 P"config_probe_offset_X.g"									; Set secondary Z-Offset
                G10 P1 S210 R180                                    			; set initial tool 1 active and standby temperatures to 210 and 180c by default
                
                ;T2 LZ attempt at dual print__________________________________________
                M563 P2 S"Dual Head Print" D0:1 H0:1 Y1:3 F0:1; tool 2 uses both extruders and hot end heaters, maps X to both X and U, and uses both print cooling fans
                G10 P2 X0 Y0 U-588
                M567 P2 E1:1 ; set mix ratio 100% on both extruders
                
                ; Automatic power saving____________________________________________
                M911 S22.0 R23.5 P"M913 X0 Y0 U0 G91 M83 G1 Z3 E-5 F1000"     	; Set voltage thresholds and actions to run on power loss. Power Failure Pause
                
                ; Primary hotend Clog detector__________________________________________________
                M591 D0 P7 C"e0stop" S1 L3.14 E10 R10:300						; Clog Detector E0 [Add-On]
                
                ;Secondary hotend Clog detector__________________________________________________
                M591 D1 P7 C"e1stop" S1 L3.14 E10 R10:300						; Clog Detector E1 [Add-On]
                
                ; Crash detector__________________________________________________
                M98 P"setup_crash_detector.g"
                
                ; Emergency stop button__________________________________________________
                M950 J3 C"ystop" 												; create Input Pin 3 on pin ystop to for M581 Command.
                M950 J4 C"xstop" 												; create Input Pin 4 on pin xstop to for M581 Command.
                M581 P3 T0 S1 R0 												; Emergency stop [Add-On]
                M581 P4 T0 S1 R0												; Emergency stop [Add-On]
                
                
                undefined undefined 2 Replies Last reply 21 Apr 2025, 19:27 Reply Quote 0
                • undefined
                  Phaedrux Moderator @lorenjz
                  last edited by 21 Apr 2025, 19:27

                  @lorenjz said in duet2 wifi with duex5 and multiple heated beds:

                  Here is the config file that I'm currently running:

                  I don't see any heaters defined using the Duex outputs. Am I missing it?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    lorenjz @lorenjz
                    last edited by 21 Apr 2025, 20:35

                    I think I figured it out. I had B0 instead of B1 in my M307 line. Seems to be working as it should now.

                    1 Reply Last reply Reply Quote 0
                    • undefined Phaedrux marked this topic as a question 21 Apr 2025, 23:02
                    • undefined Phaedrux has marked this topic as solved 21 Apr 2025, 23:02
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA