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

Initial Config Query

Scheduled Pinned Locked Moved Solved
General Discussion
4
41
1.3k
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
    900turbo @900turbo
    last edited by 18 Apr 2023, 14:09

    @jay_s_uk Going through commissioning my extruder heater works perfectly and I have run it through Tuning successfully . However my bed will not change temperature despite the sensor now reading a realistic Temp SSR is wired into out 0 as recommended , current config is below. Also cannot move any axis despite sending M564 S0 H0 no warnings or errors come up however not sure why this is.
    If you could help it would be greatly appreciated.
    Thank You.
    M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
    M950 H0 C"out0" T0 ; create bed heater output on out0 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 S70 ; set temperature limit for heater 0 to 70C

    undefined 1 Reply Last reply 18 Apr 2023, 14:10 Reply Quote 0
    • undefined
      900turbo @900turbo
      last edited by 18 Apr 2023, 14:10

      @900turbo 7ce5ebf2-a134-49e1-82bf-058ec333eabc-image.png

      undefined 1 Reply Last reply 18 Apr 2023, 14:12 Reply Quote 0
      • undefined
        jay_s_uk @900turbo
        last edited by 18 Apr 2023, 14:12

        @900turbo that mostly looks right although its more then likely a B3950 rather than a B4138.
        If using an SSR add Q10 to the end of the M950 command.
        Have you tried tuning the Bed with M303 H0 S60?

        What drivers are you using? how have you wired them? post your complete config

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        undefined 3 Replies Last reply 18 Apr 2023, 14:18 Reply Quote 0
        • undefined
          900turbo @jay_s_uk
          last edited by 18 Apr 2023, 14:18

          @jay_s_uk 02d0ad8c-b0d8-42d9-a95f-0a712ce69de0-image.png This is what i receive when trying to tune.
          Will take photos and post config.

          1 Reply Last reply Reply Quote 1
          • undefined
            900turbo @jay_s_uk
            last edited by 18 Apr 2023, 14:20

            @jay_s_uk ; Configuration file for Duet 3 MB 6XD (firmware version 3.3)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v3.3.16 on Mon Apr 17 2023 13:03:57 GMT+0100 (British Summer Time)

            ; General preferences
            M575 P1 S1 B57600 ; enable support for PanelDue
            G90 ; send absolute coordinates...
            M83 ; ...but relative extruder moves
            M550 P"Duet 3" ; set printer name
            M669 K1 ; select CoreXY mode

            ; Drives
            M569 P0.5 S1 ; physical drive 0.5 goes forwards
            M569 P0.4 S1 ; physical drive 0.4 goes forwards
            M569 P0.1 S1 ; physical drive 0.1 goes forwards
            M569 P0.3 S1 ; physical drive 0.3 goes forwards
            M584 X0.5 Y0.4 Z0.1 E0.3 ; set drive mapping
            M92 X53.33 Y53.33 Z53.33 E436.54 ; set steps per mm
            M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
            M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
            M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
            M906 X3000 Y3000 Z3000 E1000 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 X700 Y700 Z1700 S0 ; set axis maxima

            ; Endstops
            M574 X1 S1 P"121.io2.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin 121.io2.in
            M574 Y1 S1 P"io0.in" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin io0.in
            M574 Z1 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin io1.in

            ; Z-Probe
            M950 S0 C"121.io0.out" ; create servo pin 0 for BLTouch
            M558 P9 C"121.io0.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
            M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
            G31 P500 X0 Y23.56 Z2.5 ; set Z probe trigger value, offset and trigger height
            M557 X0:700 Y23.56:700 S34.4; define mesh grid

            ; Heaters
            M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
            M950 H0 C"out0" T0 ; create bed heater output on out0 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 S70 ; set temperature limit for heater 0 to 70C
            M308 S1 P"121.temp0" Y"thermistor" T100000 B4725 C7.060000e-8
            M950 H1 C"121.out0" T1 ; create nozzle heater output on 121.out0 and map it to sensor 1
            M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
            M143 H1 S300 ; set temperature limit for heater 1 to 300C

            ; Fans
            M950 F0 C"121.out1" Q500 ; create fan 0 on pin 121.out1 and set its frequency
            M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
            M950 F1 C"121.out2" Q500 ; create fan 1 on pin 121.out2 and set its frequency
            M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on

            ; Tools
            M563 P0 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

            ; Custom settings are not defined

            ; 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
            T0 ; select first tool

            1 Reply Last reply Reply Quote 0
            • undefined
              900turbo @jay_s_uk
              last edited by 18 Apr 2023, 14:23

              @jay_s_uk 321BFC1A-7541-4A8A-B377-7DA22D0DBF7F.jpeg C3D695D0-83EE-463F-86E4-4439A8BDDC4A.jpeg
              Here are my drivers and how I’ve wired them as recommended by Duet

              undefined 1 Reply Last reply 18 Apr 2023, 16:08 Reply Quote 0
              • undefined
                chrishamm administrators @900turbo
                last edited by chrishamm 18 Apr 2023, 16:08

                @900turbo Try to add Q10 to your config as @jay_s_uk suggested. The default PWM frequency is way too high for an SSR:

                M950 H0 C"out0" T0 Q10 ; create bed heater output on out0 driven at 10Hz and map it to sensor 0
                

                Bang-bang control may be even better for an SSR.

                Duet software engineer

                undefined 2 Replies Last reply 19 Apr 2023, 07:42 Reply Quote 0
                • undefined
                  900turbo @chrishamm
                  last edited by 19 Apr 2023, 07:42

                  @chrishamm Thanks for the advice added this to my config but Im still having the same issue.
                  e689b89a-5d98-49f2-a920-e04d85daebc8-image.png

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    900turbo @chrishamm
                    last edited by 19 Apr 2023, 07:46

                    @chrishamm I should note I do also currently have bang-bang mode enabled on the config.

                    undefined 1 Reply Last reply 19 Apr 2023, 07:48 Reply Quote 0
                    • undefined
                      chrishamm administrators @900turbo
                      last edited by 19 Apr 2023, 07:48

                      @900turbo Please check your SSR, it looks like it does not turn on. If it does, the connection between SSR and your heated bed may be dodgy. Also, you should tune your heaters before you actually try to use them or you will get more heater faults.

                      Note that the heater should turn on as well as soon as you start heater tuning.

                      Duet software engineer

                      undefined 1 Reply Last reply 19 Apr 2023, 08:04 Reply Quote 0
                      • undefined
                        900turbo @chrishamm
                        last edited by 19 Apr 2023, 08:04

                        @chrishamm Checked my SSR with a multimeter and its reading 0.8 which suggests it Is not burnt out. I have gone back over the connection to the heated bed and there is no damage or exposed wiring or a open circuit. So I am a bit lost as to what's wrong.

                        undefined 1 Reply Last reply 19 Apr 2023, 08:06 Reply Quote 0
                        • undefined
                          chrishamm administrators @900turbo
                          last edited by 19 Apr 2023, 08:06

                          @900turbo Does the LED next to out0 turn on when you start heater tuning? And do you measure Vin or 12V across the inputs of the SSR while it's lit?

                          Duet software engineer

                          undefined 1 Reply Last reply 19 Apr 2023, 08:14 Reply Quote 0
                          • undefined
                            900turbo @chrishamm
                            last edited by 19 Apr 2023, 08:14

                            @chrishamm The LED next to out0 does turn on. I should note the heated bed is extremely big 700x700mm could this have any effect? What do you mean by that is in take those measurements whilst the SSR is on?

                            undefined 1 Reply Last reply 19 Apr 2023, 08:22 Reply Quote 0
                            • undefined
                              chrishamm administrators @900turbo
                              last edited by 19 Apr 2023, 08:22

                              @900turbo It depends on the power of your bed heater but there should be at least some temperature rise, which is not detected by the firmware. Hence my suspicion that the control signal from the Duet does not turn on your SSR. That's why I suggest to check if there is enough voltage across the control input of the SSR to make it turn on.

                              Duet software engineer

                              undefined 1 Reply Last reply 19 Apr 2023, 08:26 Reply Quote 0
                              • undefined
                                900turbo @chrishamm
                                last edited by 19 Apr 2023, 08:26

                                @chrishamm just checked the SSR is getting 21.9 V more than enough to turn it on not just that but its green LED is constantly on suggesting its receiving more than enough power to function properly.

                                undefined 1 Reply Last reply 19 Apr 2023, 08:27 Reply Quote 0
                                • undefined
                                  900turbo @900turbo
                                  last edited by 19 Apr 2023, 08:27

                                  @900turbo
                                  Here is the entire Heater Config
                                  ; Heaters
                                  M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
                                  M950 H0 C"out0" T0 Q10 ; create bed heater output on out0 driven at 10Hz 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 S70 ; set temperature limit for heater 0 to 70C
                                  M308 S1 P"121.temp0" Y"thermistor" T100000 B4725 C7.060000e-8
                                  M950 H1 C"121.out0" T1 ; create nozzle heater output on 121.out0 and map it to sensor 1
                                  M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
                                  M143 H1 S300 ; set temperature limit for heater 1 to 300C

                                  undefined 1 Reply Last reply 19 Apr 2023, 08:31 Reply Quote 0
                                  • undefined
                                    chrishamm administrators @900turbo
                                    last edited by 19 Apr 2023, 08:31

                                    @900turbo So how much power does your bed heater have? How long does it take with the heater turned on before you can actually see a difference in temperature?

                                    Duet software engineer

                                    undefined 1 Reply Last reply 19 Apr 2023, 08:33 Reply Quote 0
                                    • undefined
                                      900turbo @chrishamm
                                      last edited by 19 Apr 2023, 08:33

                                      @chrishamm How would I find that out ? Nothing happens when you try to raise the temperature I get this notification.
                                      45584e2e-3ec1-45e0-b8d3-0e3641a41dd8-image.png

                                      undefined undefined 2 Replies Last reply 19 Apr 2023, 08:41 Reply Quote 0
                                      • undefined
                                        chrishamm administrators @900turbo
                                        last edited by 19 Apr 2023, 08:41

                                        @900turbo Check the resistance of the bed heater and check if there is sufficient input voltage to drive it. To see if it does anything, you could use a manual switch instead of the SSR and check if the bed heater gets warm at all. If it does, you should see a temperature increase on the web UI as well.

                                        The firmware does not see any change in temperature indicating that your bed heater element is not working. Your config and SSR input voltage look fine to me.

                                        Duet software engineer

                                        undefined 1 Reply Last reply 19 Apr 2023, 09:00 Reply Quote 0
                                        • undefined
                                          deckingman @900turbo
                                          last edited by 19 Apr 2023, 08:51

                                          @900turbo I've only had a quick scan through this thread so I may have missed something, but it seems to me that the SSR is being turned on but that the heater isn't actually heating. Which would indicate that there is no power reaching the heater from the output side of the SSR - or the heater itself might be faulty. As @chrishamm has said, the first thing to check would be heater itself. Without any power, disconnect the heater and check the resistance across the two wires. We'd need to know what the rated voltage and wattage of the heater is in order to calculate what the resistance should be. As an example, for a 700mm x 700mm build plate, I'd assume something like 800 watts? If it was 240 V then the current draw would be about 3 amps so we'd expect a resistance in the order of about 3.3 A which would mean the resistance ought to be in the region of 80 Ohms. But we'd need to know the actual voltage and wattage specification of the heater to calculate roughly what resistance it should be. If the resistance is about right, check the voltage across the heater itself but be very careful as you are likely dealing with mains voltage.

                                          Ian
                                          https://somei3deas.wordpress.com/
                                          https://www.youtube.com/@deckingman

                                          undefined 1 Reply Last reply 19 Apr 2023, 09:05 Reply Quote 2
                                          16 out of 41
                                          • First post
                                            16/41
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA