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

    Duet2 wifi RRF3 homing mixture

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    24
    778
    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.
    • Perttiundefined
      Pertti @Pertti
      last edited by

      @pertti
      I copied S values from my previous RRF2 configuration, now all heaters work fine!
      ; Heaters

      M307 H0 B1 S120 ; S1.00 ; enable bang-bang mode for the bed heater and set PWM limit

      M308 S1 P"e0temp" Y"thermistor" T100000 B3950; B4138 ; configure sensor 1 as thermistor on pin e0temp

      M308 S2 P"e1temp" Y"thermistor" T100000 B3950; B4138 ; configure sensor 2 as thermistor on pin e1temp

      Pertti
      “A winner is just a loser who tried one more time.”
      George M. Moore, Jr.

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Sound slike you've got most things working now. That's great.

        Can you send M98 P"config.g" once more and report any errors? Also post your current config.g again.

        Z-Bot CoreXY Build | Thingiverse Profile

        Perttiundefined 1 Reply Last reply Reply Quote 0
        • Perttiundefined
          Pertti @Phaedrux
          last edited by

          @phaedrux
          M98 P"config.g"
          HTTP is enabled on port 80
          FTP is disabled
          TELNET is disabled
          Error: bad model parameters

          ; Configuration file for Duet WiFi (firmware version 3)
          ; executed by the firmware on start-up
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.0 on Mon Aug 16 2021 09:36:00 GMT+0300 (Itä-Euroopan kesäaika)
          ; Z-Probe commented by user
          ; General preferences
          G90 ; send absolute coordinates...
          M83 ; ...but relative extruder moves
          M550 P"My Printer" ; set printer name
          ;M669 K1 ; select CoreXY mode PPremoved thus

          ; Network
          M552 S1 ; enable network
          M586 P0 S1 ; enable HTTP
          M586 P1 S0 ; disable FTP
          M586 P2 S0 ; disable Telnet
          M575 P1 B57600 S1

          ; Drives
          M569 P0 S0 ; 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
          M569 P4 S1 ; physical drive 4 goes forwards
          M569 P5 R0 T10:10:10:10 S0 ; T10:10:10:10 T2.5:2.5:5:5
          M584 X1 Y2 E3:4 Z5 ; set drive mapping z TM 6600

          M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
          M92 X66.67 Y66.67 Z640.20 E837.00:144.00 ; set steps per mm (titan aero)
          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 Z1600 E800:800 I30 ; set motor currents (mA) and motor idle factor in per cent
          M84 S30 ; Set idle timeout ; Set idle timeout

          ; Axis Limits
          M208 X0 Y0 Z0 S1 ; set axis minima
          M208 X270 Y270 Z180 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 S1 P"zstop" ; configure active-high endstop for low end on Z via pin zstop

          ; Z-Probe
          ; M558 P1 C"zprobe.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
          ; G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
          ; M557 X15:215 Y15:195 S20 ; define mesh grid

          ; Heaters
          M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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 B1 S120 ;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"e0temp" Y"thermistor" T100000 B3950;B4138 ; 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
          M308 S2 P"e1temp" Y"thermistor" T100000 B3950;B4138 ; configure sensor 2 as thermistor on pin e1temp
          M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat 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

          ; 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:2 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
          M563 P1 D1 H2 F0 ; 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 are not defined

          Pertti
          “A winner is just a loser who tried one more time.”
          George M. Moore, Jr.

          Phaedruxundefined 3 Replies Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @Pertti
            last edited by

            @pertti said in Duet2 wifi RRF3 homing mixture:

            M308 S1 P"e0temp" Y"thermistor" T100000 B3950;B4138 ; 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
            M308 S2 P"e1temp" Y"thermistor" T100000 B3950;B4138 ; configure sensor 2 as thermistor on pin e1temp

            You may need to add a space between the B3950 and ;B4138

            Send M308 S1 and M308 S2 in the console by itself to see what it reports.

            Z-Bot CoreXY Build | Thingiverse Profile

            Perttiundefined 1 Reply Last reply Reply Quote 0
            • Perttiundefined
              Pertti @Phaedrux
              last edited by

              @phaedrux said in Duet2 wifi RRF3 homing mixture:

              M308 S1

              M308 S1
              Sensor 1 type Thermistor using pin e0temp, reading 18.6, last error: sensor not ready, T:100000.0 B:3950.0 C:0.00e+0 R:4700.0 L:0 H:0
              M308 S2
              Sensor 2 type Thermistor using pin e1temp, reading 20.9, last error: sensor not ready, T:100000.0 B:3950.0 C:0.00e+0 R:4700.0 L:0 H:0

              Pertti
              “A winner is just a loser who tried one more time.”
              George M. Moore, Jr.

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @Pertti
                last edited by

                @pertti said in Duet2 wifi RRF3 homing mixture:

                Error: bad model parameters

                Does that error still occur after fixing that missing space?

                Z-Bot CoreXY Build | Thingiverse Profile

                Perttiundefined 1 Reply Last reply Reply Quote 0
                • Perttiundefined
                  Pertti @Phaedrux
                  last edited by

                  @phaedrux
                  Yes, I´m afraid.
                  M98 P"config.g"
                  HTTP is enabled on port 80
                  FTP is disabled
                  TELNET is disabled
                  Error: bad model parameters

                  Pertti
                  “A winner is just a loser who tried one more time.”
                  George M. Moore, Jr.

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator @Pertti
                    last edited by

                    @pertti said in Duet2 wifi RRF3 homing mixture:

                    ; Heaters
                    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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 B1 S120 ;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"e0temp" Y"thermistor" T100000 B3950;B4138 ; 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
                    M308 S2 P"e1temp" Y"thermistor" T100000 B3950;B4138 ; configure sensor 2 as thermistor on pin e1temp
                    M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat 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

                    I'm not sure which of these commands is sending that error message.

                    Can you copy and past each of those lines one at a time to the gcode console? The offending line should produce the bad model parameters error.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    Perttiundefined 1 Reply Last reply Reply Quote 0
                    • Perttiundefined
                      Pertti @Phaedrux
                      last edited by

                      @phaedrux
                      I got it. This is the one and only line that sends the error message.

                      M307 H0 B1 S120 ;S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
                      Error: M307: bad model parameters

                      Pertti
                      “A winner is just a loser who tried one more time.”
                      George M. Moore, Jr.

                      Phaedruxundefined 1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator @Pertti
                        last edited by

                        @pertti said in Duet2 wifi RRF3 homing mixture:

                        M307 H0 B1 S120

                        Ah yes, ok. It's the S120 that is invalid.

                        That should be S1. It's specifying the PWM power factor in a range from 0.0 to 1.0, not a temperature.

                        Once that is solved I suggest you re-run the PID tuning process and save the new values with M500 so that it gets written to config-override.g.

                        M303 H0 S60 will tune the bed heater to 60c
                        M500 to save the results
                        M303 T0 S220 will tune the hot end heater to 220c
                        M500 after to save the results

                        And make sure you have added M501 at the end of config.g so that config-override.g gets loaded at startup.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        Perttiundefined 1 Reply Last reply Reply Quote 0
                        • Perttiundefined
                          Pertti @Phaedrux
                          last edited by

                          @phaedrux
                          Thanks for this day, I´ll be back tomorrow.

                          Pertti
                          “A winner is just a loser who tried one more time.”
                          George M. Moore, Jr.

                          Perttiundefined 1 Reply Last reply Reply Quote 0
                          • Perttiundefined
                            Pertti @Pertti
                            last edited by Pertti

                            @pertti
                            I comleted the PID tunig. . First I tried M500 but something happened and it did no saving. However in the console there were new lines which I copied to config.g. OK? Seems to work. Looks good now, many thanks. Next thing is to connect the extrusion cooling fans and the second extruder.👨‍🔧
                            config.g:
                            M307 H0 B0 R0.078 C877.1 D17.57 S1.00 V23.6
                            M307 H1 B0 R2.016 C174.8:173.5 D4.45 S1.00 V24.0
                            config-override has same lines:
                            ; Heater model parameters
                            M307 H0 R0.078 C877.100:877.100 D17.57 S1.00 V23.6 B0 I0
                            M307 H1 R2.016 C174.800:173.500 D4.45 S1.00 V24.0 B0 I0
                            M307 H2 R2.429 C140.000:140.000 D5.50 S1.00 V0.0 B0 I0

                            Pertti
                            “A winner is just a loser who tried one more time.”
                            George M. Moore, Jr.

                            Phaedruxundefined 1 Reply Last reply Reply Quote 0
                            • Phaedruxundefined
                              Phaedrux Moderator @Pertti
                              last edited by

                              @pertti said in Duet2 wifi RRF3 homing mixture:

                              First I tried M500 but something happened and it did no saving.

                              @pertti said in Duet2 wifi RRF3 homing mixture:

                              config-override has same lines:

                              The config-override.g having the same lines means that it did in fact save correctly.

                              Z-Bot CoreXY Build | Thingiverse Profile

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