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

Trouble with Config and Auto Tuning the Heated Bed

Scheduled Pinned Locked Moved
Tuning and tweaking
3
8
331
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
    code7
    last edited by code7 22 Jun 2021, 22:48

    Can someone help me figure out how to auto-tune my heated bed? I've tried using the M303 H1 S220 command and nothing happens. I currently have my heater setup on H1 instead of H0. Ideally I would have the heated bed setup on H0 and the extruder heater on H1 but I was unable to get that to work in the past for some reason. (config below)

    On the delta printer I have an FDM tool setup as T0 and a laser inspection tool setup on T1 and a heated bed.

    Also how do I post a config file in the forum so it is contained within its own window?

    ; ; Drives
    M569 P0 S1 ; physical drive 0 goes backwards - X (NEMA 23 Motor upgrade)
    M569 P1 S1 ; physical drive 1 goes backwards - Y (NEMA 23 Motor upgrade)
    M569 P2 S1 ; physical drive 2 goes backwards - Z (NEMA 23 Motor upgrade)
    M569 P3 S0 ; physical drive 3 goes forwards - E0
    M569 P10 S1 ; physical drive 10 goes forwards - E10
    M584 X0 Y1 Z2 E10 ; set drive mapping with Wire Control
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z80.00 E700.6 ; set steps per mm
    M566 X1200.00 Y1200.00 Z1200.00 E600 ; set maximum instantaneous speed changes (mm/min)
    M203 X4500 Y4500 Z4500 E10000 ; set maximum speeds (mm/min)
    M201 X300.00 Y300.00 Z300.00 E500 ; set accelerations (mm/s^2 (default 1000 for XYZ)
    M906 X2000 Y2000 Z2000 I65 ; set motor currents (mA) and motor idle factor in percent
    M906 E800 I20 ; set motor currents (mA) and motor idle factor in percent
    M84 S30 ; Set idle timeout
    ; Axis Limits
    M208 Z0 S1 ; set minimum Z for Delta Printer
    ; Endstops
    M574 X2 S1 P"!xstop" ; configure active-low endstop for high end on X via pin xstop
    M574 Y2 S1 P"!ystop" ; configure active-low endstop for high end on Y via pin ystop
    M574 Z2 S1 P"!zstop" ; configure active-low endstop for high end on Z via pin zstop
    ; Z-Probe
    M558 P5 C"!zprobe.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds (P5 selects switch for bed probing between the In/Gnd pins of the Z-probe connector) (Defualt H5 F120)
    ;M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved with M500
    G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height - requires controller reset (Default Z=-6.75 for laser)
    M557 R30 S10 ; define mesh grid
    M208 S1 Z-5 ; allow movement down to (original Z=-2.5)
    ; Heaters
    M308 S1 P"e0temp" A"Deposition" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M307 H0 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M143 H0 S280 ; set temperature limit for heater 1 to 280C
    M308 S0 P"bedtemp" A"Bed Temp" Y"thermistor" T100000 B4036 ; configure sensor 0 as thermistor on pin bedtemp
    M950 H1 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
    M307 H1 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
    M140 H1 ; map heated bed to heater 0 (H is heater Number)
    M143 H1 S120 ; set temperature limit for heater 0 to 120C (H is heater Number)
    M308 S2 P"e1temp" A"Laser 1" Y"thermistor" T100000 B4725 C7.06e-8
    M308 S6 P"exp.thermistor6" A"Y Axis SMA AG" Y"thermistor" T100000 B4725 C7.06e-8
    ; Fans
    M950 F0 C"fan0" 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"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S0 H-1 ; set fan 1 value. Thermostatic control is turned off
    M950 F2 C"!fan2" Q100 ; create fan 2 on pin fan2 and set its frequency
    M106 P2 C"Laser Power" S0 H-1 B0.05 ; set fan 2 name and value. Thermostatic control is turned off. Blip time is set at .05sec full PWM (0.1 sec is default if field is empty).
    ; Expansion Pins
    M950 P2 C"spi.cs2" ; Auto or not for E0 controller. Set by M42 P1 S0 or S1 in macros. P parameter is the GPIO port number, not the logical pin number.
    ; Tools
    M563 P0 S"Deposition Head" H0 D0 ; 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"Laser Tool" ; define tool 1
    G10 P1 X13.1 Y-8.8 Z-15 ; set tool 1 axis offsets
    ; Miscellaneous
    T0 ;
    '

    Delta Printer Using a Duet 2 Wifi v1.04c, FW3.4.0beta2, Duet WiFi sever 1.26, Duet Web Control 3.3.0

    undefined 1 Reply Last reply 23 Jun 2021, 04:09 Reply Quote 0
    • undefined
      Phaedrux Moderator @code7
      last edited by 23 Jun 2021, 04:09

      @code7 said in Trouble with Config and Auto Tuning the Heated Bed:

      Ideally I would have the heated bed setup on H0 and the extruder heater on H1 but I was unable to get that to work for some reason.

      That may be the root of the problem.

      Do you see a temperature in DWC for the tool and bed heaters? Does it increase at all if you set a temperature?

      How do you have the heaters wired?

      What kind of heaters are they?

      12v or 24v PSU?

      Is the bed AC powered?

      Please send M122 and M98 P"config.g" and post the results for us.

      @code7 said in Trouble with Config and Auto Tuning the Heated Bed:

      Also how do I post a config file in the forum so it is contained within its own window?

      In the post window there is a little button that looks like this </> click that to get a code block. Paste your code into it between the ``` marks

      undefined

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 23 Jun 2021, 17:02 Reply Quote 0
      • undefined
        code7 @Phaedrux
        last edited by code7 23 Jun 2021, 17:02

        @phaedrux said in Trouble with Config and Auto Tuning the Heated Bed:

        Do you see a temperature in DWC for the tool and bed heaters? Does it increase at all if you set a temperature?

        Yes the tempertature for the Deposition Head (hotend) is increasing just fine.

        ad4ae42f-28ad-4d8b-a34d-6c492ffad1f4-image.png

        The hotend (24V 40W Heater Cartridge) is wired to the "E0 Heat" pins. The Bed Heater is a 120V heater that is powered by AC which is wired through an SSR that is controlled from the "Bed Heat" pins. The PSU for the controller is 24V.

        Delta Printer Using a Duet 2 Wifi v1.04c, FW3.4.0beta2, Duet WiFi sever 1.26, Duet Web Control 3.3.0

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by Phaedrux 23 Jun 2021, 19:01

          Ok, when you try and turn on the bed heater, does the LED on the Duet and SSR turn on to indicate it's on?

          What kind of SSR is it? How do you have it wired?

          https://duet3d.dozuki.com/Wiki/Choosing_a_bed_heater#Section_Bed_heater_driven_using_a_Solid_State_Relay

          Let's also go back to a more standard configuration.

          ; Heaters
          M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin bedtemp
          M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
          M307 H0 B0 S1.00 ; disable 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"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; 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 S1.00 ; disable bang-bang mode for heater and set PWM limit
          M143 H1 S280 ; set temperature limit for heater 1 to 280C
          ; Fans
          M950 F0 C"fan0" 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"fan1" 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 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

          Can you also confirm your firmware version for me? Send M115.

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 1 Reply Last reply 24 Jun 2021, 16:48 Reply Quote 0
          • undefined
            code7 @Phaedrux
            last edited by 24 Jun 2021, 16:48

            @phaedrux

            Thanks for your help. I cleaned up the config and also learned that the fuse block had a bad connection in the AC loop. Now everything is working.

            Yes, both the Heated Bed and SSR LED's are turning on.

            FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.2.2 ELECTRONICS: Duet WiFi 1.02 or later
            FIRMWARE_DATE: 2021-02-11

            On another note, often times when I try posting to the forum I receive this error. What's the best way to overcome this?

            f952c55a-06a9-4dca-8cb7-68fc3a4fb4fc-image.png

            Delta Printer Using a Duet 2 Wifi v1.04c, FW3.4.0beta2, Duet WiFi sever 1.26, Duet Web Control 3.3.0

            undefined 1 Reply Last reply 24 Jun 2021, 17:39 Reply Quote 1
            • undefined
              Phaedrux Moderator
              last edited by 24 Jun 2021, 17:31

              May want to update to 3.3. Upload this zip file to the system tab in DWC.
              https://github.com/Duet3D/RepRapFirmware/releases/download/3.3/Duet2and3Firmware-3.3.zip

              As for the forum error, that's not a great error message. 😉

              I would suggest trying a different browser or clearing your cache first.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • undefined
                Nurgelrot @code7
                last edited by Nurgelrot 24 Jun 2021, 17:39

                @code7 The forum error I get from time to time. Easiest fix is to copy what you had tried to post. Cancel out of posting. refresh your browser and then post a message pasting from the clipboard... Seams to happen the most with chrome based browsers. (I use brave).

                1 Reply Last reply Reply Quote 0
                • undefined
                  Phaedrux Moderator
                  last edited by 24 Jun 2021, 17:48

                  I've seen it myself rarely. Only on mobile though.

                  Z-Bot CoreXY Build | Thingiverse Profile

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