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

HELP...SSR With Heater Channel on 3CH daughterboard

Scheduled Pinned Locked Moved
Duet Hardware and wiring
4
16
560
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
    Jordan_Miller41
    last edited by Jordan_Miller41 20 Apr 2021, 22:09

    So, I thought I understood how to set everything up correctly, but here I am.

    So reading some other threads, it sounded like you could use the "heater channel" for a hotend to trigger your SSR to turn on a bed or enclosure, or in my case, I need to do both independently.

    Here is a picture of what I have, it just keeps giving a heater fault when trying to turn on the bed heater, I've switched around polarity and I haven't been successful yet.

    Heater "1.out_1" (daughterboard) is being used to trigger the relay. I'm running 24V VIN.
    Here is the exact relay I am using: SSR

    I am using the same wiring setup as the diagram except that the input side of the SSR is on "1.out_1" as previously mentioned.

    Just need the guidance to get this online.

    Thanks.

    cae203ed-aa6a-4a43-af9c-4f9659c62913-image.png
    a9f259b4-575b-4ad5-9c80-dc42e5e70a94-image.png

    • Jordan
    undefined 1 Reply Last reply 20 Apr 2021, 23:43 Reply Quote 0
    • undefined
      Alex.cr @Jordan_Miller41
      last edited by 20 Apr 2021, 23:43

      @jordan_miller41

      Does the LED indicator on the SSR light up when you send the command to turn on your bed?

      Do you see any temp rise in DWC? Or does it fault immediately?
      What temp does your thermistor say in DWC at idle?

      Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

      undefined 1 Reply Last reply 21 Apr 2021, 00:42 Reply Quote 0
      • undefined
        Jordan_Miller41 @Alex.cr
        last edited by 21 Apr 2021, 00:42

        @alex-cr It faults right away. The temp it gives is 22.5C. Just double-checked again, it does not turn the light on.

        • Jordan
        undefined 1 Reply Last reply 21 Apr 2021, 00:52 Reply Quote 0
        • undefined
          Alex.cr @Jordan_Miller41
          last edited by 21 Apr 2021, 00:52

          @jordan_miller41

          Post your config.g file. If you run M98 P"config.g" do you get any errors?

          I just had a bad experience with ignoring the errors coming out of it because I thought I knew better, cost me a couple days...

          Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

          undefined 1 Reply Last reply 21 Apr 2021, 01:06 Reply Quote 0
          • undefined
            Jordan_Miller41 @Alex.cr
            last edited by 21 Apr 2021, 01:06

            @alex-cr I think your on to something, this makes sens sensor #0 and 3 not being configured, I was too ignoring them 🙂
            40a6b0ae-9289-48dd-84a9-bc121d246e71-image.png
            What do I need to do to fix it?

            ; Configuration file for Duet 3 (firmware version 3)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Apr 19 2021 17:15:29 GMT-0400 (EDT)

            ; General preferences
            G90 ; send absolute coordinates...
            M83 ; ...but relative extruder moves
            M550 P"Duet 3" ; set printer name
            M669 K1 ; select CoreXY mode

            ; Drives
            M569 P0.0 S1 ; physical drive 0.0 goes forwards
            M569 P0.1 S1 ; physical drive 0.1 goes forwards
            M569 P0.2 S1 ; physical drive 0.2 goes forwards
            M569 P0.3 S1 ; physical drive 0.3 goes forwards
            M569 P0.4 S1 ; physical drive 0.4 goes forwards
            M584 X0.0 Y0.1 Z0.2 E0.3:0.4 ; set drive mapping
            M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
            M92 X80.00 Y80.00 Z800.00 E145.51:145.51 ; set steps per mm
            M566 X900.00 Y900.00 Z60.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
            M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
            M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2)
            M906 X800 Y800 Z800 E800:800 I30 ; set motor currents (mA) and motor idle factor in per cent
            M84 S30 ; Set idle timeout

            ; Axis Limits
            M208 X0 Y0 Z0 S1 ; set axis minima
            M208 X400 Y400 Z440 S0 ; set axis maxima

            ; Endstops
            M574 X1 S1 P"io1.in" ; configure active-high endstop for low end on X via pin io1.in
            M574 Y2 S1 P"io0.in" ; configure active-high endstop for high end on Y via pin io0.in
            M574 Z1 S2 ; configure Z-probe endstop for low end on Z

            ; Z-Probe
            M558 P5 C"^io3.in" H15 F1200 T6000 ; set Z probe type to switch and the dive height + speeds
            G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
            M557 X15:400 Y50:400 S50 ; define mesh grid

            ; Heaters
            M308 S0 P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0
            M950 H0 C"1.out1" T0 ; create bed heater output on 1.out1 and map it to sensor 0
            M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
            M140 H0 ; map heated bed to heater 0
            M143 H0 S120 ; set temperature limit for heater 0 to 120C
            M308 S1 P"temp2" Y"thermistor" T500000 B4723 C1.19622e-7 ; configure sensor 1 as thermistor on pin temp2
            M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
            M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
            M143 H1 S455 ; set temperature limit for heater 1 to 455C
            M308 S2 P"temp3" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin temp3
            M950 H2 C"out2" T2 ; create nozzle heater output on out2 and map it to sensor 2
            M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
            M143 H2 S280 ; set temperature limit for heater 2 to 280C
            M308 S3 P"temp1" Y"thermistor" T10000 B4723 C1.19622e-7 ; configure sensor 3 as thermistor on pin temp1
            M950 H3 C"1.out0" T3 ; create chamber heater output on 1.out0 and map it to sensor 3
            M307 H3 B1 S1.00 ; enable bang-bang mode for the chamber heater and set PWM limit
            M141 H3 ; map chamber to heater 3
            M143 H3 S90 ; set temperature limit for heater 3 to 90C

            ; Fans
            M950 F0 C"!out4" Q25000 ; create fan 0 on pin !out4 and set its frequency
            M106 P0 C"FRONT PANEL" S1 H-1 ; set fan 0 name and value. Thermostatic control is turned off
            M950 F1 C"!out5" Q25000 ; create fan 1 on pin !out5 and set its frequency
            M106 P1 C"RAD 1 (TOP)" S1 H1 T45 ; set fan 1 name and value. Thermostatic control is turned on
            M950 F2 C"!out6" Q25000 ; create fan 2 on pin !out6 and set its frequency
            M106 P2 C"RAD 2 (BOTTOM)" S1 H1 T45 ; set fan 2 name and value. Thermostatic control is turned on
            M950 F3 C"1.out6" Q500 ; create fan 3 on pin 1.out6 and set its frequency
            M106 P3 C"Water Pump" S1 H-1 ; set fan 3 name and value. Thermostatic control is turned on
            M950 F4 C"out7" Q500 ; create fan 4 on pin out7 and set its frequency
            M106 P4 C"E3D V6 Hotend" S0.5 H2 T45 ; set fan 4 name and value. Thermostatic control is turned on

            ; Tools
            M563 P0 S"Mosquito Liquid" D0 H1 F-1 ; 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
            M563 P1 S"E3D V6" D1 H2 F-1 ; define tool 1
            G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
            G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

            ; Custom settings
            M584 X0 Y1 Z3:4:5 E4 ; three Z motors connected to driver outputs 2, 5 and 6
            M671 X-25.298:200.199:427.12 Y2.021:430.231:20.21 S0.5 ; ball screws at front left, back middle and front right

            M308 S10 P"1.temp0" Y"thermistor" T10000 B3988 A"Coolant Cold" ; Configure coolant sensor cold side
            M308 S11 P"1.temp1" Y"thermistor" T10000 B3988 A"Coolant Hot" ; Configure coolant sensor hot side

            ; Miscellaneous
            M501 ; load saved parameters from non-volatile memory
            M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss

            • Jordan
            undefined 1 Reply Last reply 21 Apr 2021, 01:27 Reply Quote 0
            • undefined
              Alex.cr @Jordan_Miller41
              last edited by Alex.cr 21 Apr 2021, 01:27

              @jordan_miller41 said in HELP...SSR With Heater Channel on 3CH daughterboard:

              M308 S0 P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0
              M950 H0 C"1.out1" T0 ; create bed heater output on 1.out1 and map it to sensor 0

              I think the problem might be that your temp sensor for this heater is defined as being plugged into the 6HC while your output is set on the 3HC. Is this supposed to be the case?
              Edit: I just read down further, can you move your coolant sensors over to the main board and your control thermistors over to the 3HC?

              I believe the firmware requires that temperature sensors that control heaters be plugged into the same board. It will need to be confirmed though.

              if your temp sensor is actually plugged into temp0 on the 3HC try changing the P command to the following:
              P"1.temp0"

              By the way it looks like a similar change will be needed for your chamber heater on H3.

              Edit: I just read down further, can you move your coolant sensors over to the main board and your heater control thermistors for H0 and H3 over to the 3HC?

              Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

              undefined 1 Reply Last reply 21 Apr 2021, 01:33 Reply Quote 0
              • undefined
                Jordan_Miller41 @Alex.cr
                last edited by 21 Apr 2021, 01:33

                @alex-cr Ahhhhh that makes sense, I will do that in the morning. I think that would have to be it, didn't even think of that. I'll report back tomorrow with hopefully good results!

                • Jordan
                undefined 1 Reply Last reply 21 Apr 2021, 06:55 Reply Quote 0
                • undefined
                  dc42 administrators @Jordan_Miller41
                  last edited by dc42 21 Apr 2021, 06:55

                  @jordan_miller41 see the second bullet point at https://duet3d.dozuki.com/Wiki/Duet_3_firmware_configuration_limitations.

                  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

                  undefined 2 Replies Last reply 21 Apr 2021, 12:22 Reply Quote 0
                  • undefined
                    Jordan_Miller41 @dc42
                    last edited by 21 Apr 2021, 12:22

                    @dc42 thank you, that clears it up!

                    • Jordan
                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Jordan_Miller41 @dc42
                      last edited by 21 Apr 2021, 18:01

                      @dc42 So got the thermisters remapped, the SSR kicks on and started heating the bed up, then it just faulted again after heating the bed from 18C to 30C. Only stays on for about 30-45 seconds. Thoughts?

                      • Jordan
                      undefined 1 Reply Last reply 22 Apr 2021, 02:06 Reply Quote 0
                      • undefined
                        Alex.cr @Jordan_Miller41
                        last edited by 22 Apr 2021, 02:06

                        @jordan_miller41

                        Have you performed an M303 command to get the heating model updated?

                        BTW you may have to do this manually depending on what firmware version you are currently running.

                        Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

                        undefined 1 Reply Last reply 23 Apr 2021, 01:03 Reply Quote 1
                        • undefined
                          Jordan_Miller41 @Alex.cr
                          last edited by 23 Apr 2021, 01:03

                          @alex-cr ok what if it is for bang-bang mode? So I have to tune the bed before it will heat all the way up?

                          • Jordan
                          1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator
                            last edited by 23 Apr 2021, 01:05

                            PID tuning is recommended so that the firmware has an idea of the heaters performance (heat up and cool down time). In bang-bang it can be too slow for the default watchdog and it times out.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            undefined 1 Reply Last reply 23 Apr 2021, 14:08 Reply Quote 0
                            • undefined
                              Jordan_Miller41 @Phaedrux
                              last edited by 23 Apr 2021, 14:08

                              @phaedrux understood, so for an enclosure heater, is there a way to adjust the "watchdog" parameters? I don't know how long it will take to heat my enclosure and I don't want it to time out.

                              • Jordan
                              Phaedruxundefined 1 Reply Last reply 23 Apr 2021, 18:34 Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator @Jordan_Miller41
                                last edited by 23 Apr 2021, 18:34

                                @jordan_miller41 said in HELP...SSR With Heater Channel on 3CH daughterboard:

                                is there a way to adjust the "watchdog" parameters?

                                Yes, PID tune the heater.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                undefined 1 Reply Last reply 23 Apr 2021, 21:06 Reply Quote 0
                                • undefined
                                  Jordan_Miller41 @Phaedrux
                                  last edited by 23 Apr 2021, 21:06

                                  @phaedrux ok

                                  • Jordan
                                  1 Reply Last reply Reply Quote 0
                                  2 out of 16
                                  • First post
                                    2/16
                                    Last post
                                  Unless otherwise noted, all forum content is licensed under CC-BY-SA