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

struggling with heaters in RR3

Scheduled Pinned Locked Moved Solved
Tuning and tweaking
2
6
286
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
    opentoideas
    last edited by opentoideas 28 Jun 2021, 11:47

    Hi,

    I am struggling with heaters in RR3. I have tried working through the examples converting M305 and M307 and also used the config generator but cant seem to make them work. both heaters show 2000c in DWC so not working.

    could someone please advise where I am going wrong?

    M143 H0 S120                   			; Set temperature limit for heater 0 to 120C
    M305 P0 T100000 B4138 C0 R4700 			; Set thermistor + ADC parameters for heater 0
    M307 H0 A198.2 C1000.5 D0.7 B0
    
    M143 H1 S350                   ; Set temperature limit for heater 1 to 350C
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
    M307 H1 A525.9 C290.3 D4.2 B0
    

    so the above works in RR3 but needs converting

    M308 S0 P"bedtemp" Y"thermistor" T100000 B4092      ; 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 S150                                        ; set temperature limit for heater 0 to 150C
    M308 S1 P"e0temp" Y"thermistor" T100000 B4092       ; 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 S275                                        ; set temperature limit for heater 1 to 275C
    

    this is what I came up with from the config generator - tried changing the B4092 to B4138 but no joy.

    what am I doing wrong?

    undefined 1 Reply Last reply 28 Jun 2021, 11:57 Reply Quote 0
    • undefined
      jay_s_uk @opentoideas
      last edited by 28 Jun 2021, 11:57

      @opentoideas the above certainly looks reasonable for RRF3.

      so the above works in RR3 but needs converting

      this statement concerns me as the original lines are not supported. Are you sure you've upgraded correctly? post the output of M115

      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 28 Jun 2021, 12:08 Reply Quote 0
      • undefined
        opentoideas @jay_s_uk
        last edited by 28 Jun 2021, 12:08

        @jay_s_uk oh dear looks like its not going as well as I thought

        my intention was to go to RR2 but when DWC updated to 3.3 I figured I went wrong but looks like it didnt as M115 gives :

        FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.02(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-12-24b1

        so it looks like the first thing is to correctly update it to V3

        undefined 1 Reply Last reply 28 Jun 2021, 12:11 Reply Quote 0
        • undefined
          jay_s_uk @opentoideas
          last edited by 28 Jun 2021, 12:11

          @opentoideas you need to jump through some firmware versions to get to 3.3 as you can get there straight from 2.02

          Upload these 3 zip files, one at a time in the system tab. Don't extract them. Reboot after each. Use M115 to verify the firmware has been applied.
          https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
          https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
          https://github.com/Duet3D/RepRapFirmware/releases/download/3.3/Duet2and3Firmware-3.3.zip
          That will get your firmware and DWC up to date.

          You can see the change logs here:
          https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x

          For your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
          https://configtool.reprapfirmware.org/Start

          Backup your existing config files in the sys folder in case you want to switch back to RRF3. IT’s easy to switch back and forth, just upload the zip file for the version you want and then upload your config files.

          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 28 Jun 2021, 12:16 Reply Quote 1
          • undefined
            opentoideas @jay_s_uk
            last edited by 28 Jun 2021, 12:16

            @jay_s_uk thank you so much

            I have run a fresh config for RR3

            ; Configuration file for Duet WiFi (firmware version 3)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Jun 28 2021 10:39:08 GMT+0100 (British Summer Time)
            ; General preferences
            G90 ; send absolute coordinates...
            M83 ; ...but relative extruder moves
            M550 P"Duet CR-10" ; set printer name
            M918 P1 E4 F2000000 ; configure direct-connect display
            ; Network
            M552 S1 ; enable network
            M586 P0 S1 ; enable HTTP
            M586 P1 S0 ; disable FTP
            M586 P2 S0 ; disable Telnet
            ; Drives
            M569 P0 S1 ; physical drive 0 goes forwards
            M569 P1 S1 ; physical drive 1 goes forwards
            M569 P2 S1 ; physical drive 2 goes forwards
            M569 P3 S1 ; physical drive 3 goes forwards
            M584 X0 Y1 Z2:4 E3 ; Driver 0 controls the X motor, 1 controls Y, 2 and 4 control Z motors, 3 control E motor
            M671 X-60:325 Y150:150 S2 ;leadscrews 60mm off each side of the bed max 2mm correction
            M350 E1 I0 ; configure microstepping without interpolation
            M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation
            M92 X80.00 Y80.00 Z800.00 E850.00 ; set steps per mm
            M566 X1200.00 Y1200.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
            M203 X9000.00 Y9000.00 Z180.00 E6000.00 ; set maximum speeds (mm/min)
            M201 X500.00 Y500.00 Z100.00 E5000.00 ; set accelerations (mm/s^2)
            M906 X800 Y800 Z800 E1000 I50 ; set motor currents (mA) and motor idle factor in per cent
            M84 S30 ; Set idle timeout
            ;M572 D3 S0.01 ;set pressure advance 0.1 seconds
            ; Axis Limits
            M208 X0 Y0 Z0 S1 ; set axis minima
            M208 X270 Y270 Z360 S0 ; set axis maxima
            ; Endstops
            M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
            M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
            M574 Z1 S2 ; configure Z-probe endstop for low end on Z
            ; Z-Probe
            M558 P1 I1 R0.8 F300 ; (analogue mode, NO, delay, speed, not used as axis endstop
            G31 X0 Y0 Z-0.05 P600 ; X, Y, Z offsets, sensitivity/threshold
            M557 X25:250 Y25:250 S30 ; Define mesh grid
            ; Z-Probe
            ;M558 P5 R0.4 C"zprobe.in+zprobe.mod" H5 F1200 T6000 ; set Z probe type to effector and the dive height + speeds
            ;G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height
            ;M557 X25:245 Y25:245 S20 ; define mesh grid
            ; Heaters
            M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 ; 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 S150 ; set temperature limit for heater 0 to 150C
            M308 S1 P"e0temp" Y"thermistor" T100000 B4092 ; 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 S275 ; set temperature limit for heater 1 to 275C
            ; 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
            M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
            M106 P2 S1 H1:0 T45 ; set fan 2 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

            will update correctly and fingers crossed

            1 Reply Last reply Reply Quote 1
            • undefined
              opentoideas
              last edited by opentoideas 28 Jun 2021, 12:33

              update to 3.0 went fine and heaters showed up fine. update to 3.3 seems to be taking a long time on the prompt
              "please wait while updates are installed"

              will give it a short while then refesh the webpage - had to reboot but 3.3 loaded successfully

              unfortunately caught myself out on X where direction was reversed - note to self update the comments to reflect changes!

              Z probe not working so thats my next bit to research - all sorted and calibration awaits - thanks again

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