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

    M500 not saving correctly in SBC mode. 3.2.2 Duet3

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    5
    27
    1.4k
    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.
    • Th0mpyundefined
      Th0mpy
      last edited by Th0mpy

      Ok, closer inspection there is something weird.

      A couple of the parameters for M665 don't seem to be saved properly during an M500.

      Config-override.g

      ; Delta parameters
      M665 L291.060:291.060:291.060 R137.213 H281.548 B120.0 X-0.090 Y0.326 Z0.000
      M666 X-1.052 Y-0.498 Z1.550 A-0.00 B0.01
      

      Before reboot:

      3/27/2021, 7:49:19 AM	Connection interrupted, attempting to reconnect...
      DCS has been stopped
      3/27/2021, 7:49:19 AM	M999
      3/27/2021, 7:49:14 AM	M666
      Endstop adjustments X-1.05 Y-0.50 Z1.55, tilt X-0.27% Y1.42%
      3/27/2021, 7:48:53 AM	M500
      

      After reboot:

      3/27/2021, 7:49:41 AM	M666
      Endstop adjustments X-1.05 Y-0.50 Z1.55, tilt X0.00% Y0.01%
      3/27/2021, 7:49:22 AM	Connection established
      

      So it seems that M501 is working, it pulls the proper tilt, but the M500 does not save the updated tilt.

      I'm going to recalibrate and run M500, I'll post the config-override.g

      Usually the team that scores the most points wins the game.

      1 Reply Last reply Reply Quote 0
      • Th0mpyundefined
        Th0mpy
        last edited by

        Ok, here we are.

        3/27/2021, 8:05:10 AM	M666
        Endstop adjustments X-1.14 Y-0.45 Z1.59, tilt X-0.20% Y1.46%
        3/27/2021, 8:05:04 AM	M500
        
        ; Delta parameters
        M665 L291.060:291.060:291.060 R137.231 H281.551 B120.0 X-0.161 Y0.210 Z0.000
        M666 X-1.135 Y-0.455 Z1.590 A-0.00 B0.01
        

        The config-override.g isn't being updated with the tilt on an M500. I can confirm that manually editing the value does work.

        Usually the team that scores the most points wins the game.

        droftartsundefined 1 Reply Last reply Reply Quote 0
        • droftartsundefined
          droftarts administrators @Th0mpy
          last edited by

          @Th0mpy thanks for your report and testing, one for @dc42 to fix!

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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

            In meantime may want to upload the 3.2.2 zip file just for the bug fixes

            https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/Duet2and3Firmware-3.2.2.zip

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @droftarts
              last edited by dc42

              @droftarts said in Weird error on my Delta:

              @Th0mpy thanks for your report and testing, one for @dc42 to fix!

              Ian

              I've just re-tested M500 and M501. They are saving and loading the M566 tilt parameters for me. I don't recall making any changes in this area for more than a year.

              Did you definitely run M500?

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              Th0mpyundefined 1 Reply Last reply Reply Quote 0
              • Th0mpyundefined
                Th0mpy
                last edited by Th0mpy

                @dc42 said in Weird error on my Delta:

                d loading the M566 tilt parameters for me. I don't recall making any changes in this area for more than a year.
                Did you definitely run M500?

                Absolutely positive. I just ran a quick test where I calibrated, checked, saved, reloaded, and checked again. I also just updated to 3.2.2 just to make sure.

                ab7d891e-834e-4206-ace1-ce5ddcb49430-image.png

                Usually the team that scores the most points wins the game.

                1 Reply Last reply Reply Quote 0
                • Th0mpyundefined
                  Th0mpy @dc42
                  last edited by

                  @dc42 Is there something I can to to help qualify this more?

                  Usually the team that scores the most points wins the game.

                  dc42undefined 1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators @Th0mpy
                    last edited by

                    If you use M666 to adjust the tilt and one of the endstop adjustments, confirm that you have made the adjustment by sending M666 without parameters, and then send M500, do the new values get saved to config-override.g?

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    Th0mpyundefined 1 Reply Last reply Reply Quote 0
                    • Th0mpyundefined
                      Th0mpy @dc42
                      last edited by

                      @dc42 Ok, I tried it, it does save it but there seems to be a formatting issue on the A and B params:
                      f137536d-1f5e-400a-ba72-537605b2b5c1-image.png

                      ; Delta parameters
                      M665 L291.060:291.060:291.060 R137.239 H281.544 B120.0 X-0.138 Y0.266 Z0.000
                      M666 X-1.000 Y-1.000 Z-1.000 A0.10 B0.10
                      ; Heater model parameters
                      M307 H0 R0.630 C141.300:141.300 D4.00 S0.75 V14.0 B0
                      M307 H1 R2.227 C104.400:104.400 D6.00 S0.75 V14.0 B0
                      

                      Am I going crazy here?

                      Usually the team that scores the most points wins the game.

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

                        Could it be a line length limit?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        Th0mpyundefined 1 Reply Last reply Reply Quote 0
                        • Th0mpyundefined
                          Th0mpy @Phaedrux
                          last edited by

                          @phaedrux My other printer's M666 line is much longer.

                          Usually the team that scores the most points wins the game.

                          droftartsundefined 1 Reply Last reply Reply Quote 0
                          • dc42undefined
                            dc42 administrators @Th0mpy
                            last edited by

                            @th0mpy said in Weird error on my Delta:

                            @dc42 Ok, I tried it, it does save it but there seems to be a formatting issue on the A and B params:
                            f137536d-1f5e-400a-ba72-537605b2b5c1-image.png

                            ; Delta parameters
                            M665 L291.060:291.060:291.060 R137.239 H281.544 B120.0 X-0.138 Y0.266 Z0.000
                            M666 X-1.000 Y-1.000 Z-1.000 A0.10 B0.10
                            ; Heater model parameters
                            M307 H0 R0.630 C141.300:141.300 D4.00 S0.75 V14.0 B0
                            M307 H1 R2.227 C104.400:104.400 D6.00 S0.75 V14.0 B0
                            

                            Am I going crazy here?

                            Odd, I did the same and it worked correctly. Are you definitely running firmware 3.2.2 ? Send M115 to check.

                            Duet WiFi hardware designer and firmware engineer
                            Please do not ask me for Duet support via PM or email, use the forum
                            http://www.escher3d.com, https://miscsolutions.wordpress.com

                            1 Reply Last reply Reply Quote 0
                            • droftartsundefined
                              droftarts administrators @Th0mpy
                              last edited by

                              @th0mpy Are you using an Single Board Computer with your Duet 3? Your M115 doesn't report this. I just tested the following, which seems to be stored and retrieved correctly:
                              56b62231-2b36-4ff7-975e-2ad8a66fece0-image.png
                              The resultant M501 looks like this (in part):

                              ; Delta parameters
                              M665 L161.612:161.612:161.612 R81.896 H173.484 B75.0 X-0.843 Y-0.003 Z0.000
                              M666 X-1.000 Y-1.000 Z-1.000 A10.00 B10.00
                              ; Heater model parameters
                              M307 H1 R2.429 C140.000:140.000 D5.50 S1.00 V0.0 B0 I0
                              

                              Though this is on a Duet 2 Maestro running 3.3beta2 (2021-03-10).

                              Ian

                              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                              1 Reply Last reply Reply Quote 0
                              • Th0mpyundefined
                                Th0mpy
                                last edited by

                                Here's the result of M115:

                                FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.2.2 ELECTRONICS: Duet 3 MB6HC v1.01 or later FIRMWARE_DATE: 2021-02-11
                                

                                I am running in SBC mode.

                                Usually the team that scores the most points wins the game.

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

                                  It would appear that DSF in SBC mode isn't saving the config-override.g correctly. One for @chrishamm ?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  chrishammundefined 1 Reply Last reply Reply Quote 0
                                  • chrishammundefined
                                    chrishamm administrators @Phaedrux
                                    last edited by

                                    @phaedrux Yes, that's right, the tilt factors must be multiplied by 100 before they're written to config-override.g. I'll fix that in the next version.

                                    Duet software engineer

                                    Th0mpyundefined 1 Reply Last reply Reply Quote 0
                                    • Th0mpyundefined
                                      Th0mpy @chrishamm
                                      last edited by

                                      @chrishamm Will that fix it from not saving at all with M500 after calibration?

                                      Usually the team that scores the most points wins the game.

                                      1 Reply Last reply Reply Quote 0
                                      • Th0mpyundefined
                                        Th0mpy
                                        last edited by

                                        @chrishamm do you know when you might have a version to test? I'd be happy to give it a whirl.

                                        Usually the team that scores the most points wins the game.

                                        1 Reply Last reply Reply Quote 0
                                        • Th0mpyundefined
                                          Th0mpy
                                          last edited by

                                          @chrishamm and @dc42 Hey guys, just checking in. Did these updates make it into 3.3.0-b3? I just saw that was released but didn't see anything in the release notes. Can you let me know when I can give it a test?

                                          Usually the team that scores the most points wins the game.

                                          chrishammundefined 1 Reply Last reply Reply Quote 0
                                          • chrishammundefined
                                            chrishamm administrators @Th0mpy
                                            last edited by

                                            @th0mpy Those changes are part of the 3.3-b3 pre-release. Feel free to test it again.

                                            Duet software engineer

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