• 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
    last edited by 18 Apr 2023, 08:57

    I have uploaded my config.g had a error code for bed compensation which I have corrected. However I have Error codes for both heaters. I have read the commissioning guide checked for incorrect wiring , grounding and incorrect firmware. If anyone can help I would greatly appreciate it. Thank You.17bf1b0c-9a30-435e-838c-5a4a52997ae2-image.png
    ; Heaters
    M308 S0 P"temp0" Y"thermistor" T100000 B3950 ; 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"pt1000" ; configure sensor 1 as PT1000 on pin 121.temp0
    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 2 Replies Last reply 18 Apr 2023, 09:00 Reply Quote 0
    • undefined
      jay_s_uk @900turbo
      last edited by 18 Apr 2023, 09:00

      @900turbo nothing looks odd there. can you show photos of your wiring?

      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 1 Reply Last reply 18 Apr 2023, 09:07 Reply Quote 1
      • undefined
        900turbo @jay_s_uk
        last edited by 18 Apr 2023, 09:07

        @jay_s_uk 745D6032-2434-4ADF-8E70-60682AD75DAA.jpeg 5D95F5EC-F5DC-40FA-BE53-74513CF94FD1.jpeg
        Here are photos of the MB , And tool board ( current printer head bracket is only a temporary mock up )

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

          @900turbo said in Initial Config Query:

          M308 S1 P"121.temp0" Y"pt1000" ; configure sensor 1 as PT1000 on pin 121.temp0

          this is incorrect as you're using a revo and that uses a 104NT-4 thermistor, not a PT1000
          It should be

          M308 S1 P"121.temp0" Y"thermistor" T100000 B4725 C7.060000e-8  
          

          And your wiring looks right for the bed however, are you sure you've selected the correct type? can you use a multimeter to see what value you get?

          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 1 Reply Last reply 18 Apr 2023, 09:19 Reply Quote 1
          • undefined
            900turbo @jay_s_uk
            last edited by 18 Apr 2023, 09:19

            @jay_s_uk I have sorted the beds issues unplugged then replugged it and now reads 17.3 degrees so that is sorted. I did select the 104NT-4 on the RepRap site , I think it may be a little buggy will try what you have suggested and report back.
            Thank You.

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

              @jay_s_uk t=Thank you so much for the help , that worked perfectly!

              e00633de-90eb-4978-81cc-9b65752c9eab-image.png

              undefined 1 Reply Last reply 18 Apr 2023, 14:09 Reply Quote 1
              • 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
                                          10 out of 41
                                          • First post
                                            10/41
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA