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

    Error: M551: non-empty string expected

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    11
    367
    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.
    • arhiundefined
      arhi
      last edited by

      What's the proper way to set no password as M551 P"" does not work? Just M551 or ?

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

        M551 Preprap ; Set password. Use reprap for no password prompt.

        Z-Bot CoreXY Build | Thingiverse Profile

        arhiundefined 1 Reply Last reply Reply Quote 0
        • arhiundefined
          arhi @Phaedrux
          last edited by

          @Phaedrux so if I set password to "reprap" it will not ask for password 😄 😄 interesting. (RRF3 requires "" after P so M551 P"reprap" ) thanks will try in the morning

          1 Reply Last reply Reply Quote 0
          • botundefined
            bot
            last edited by

            In RRF2, simply not setting M551 leaves the DWC unprotected via password prompt. Not sure about RRF3, but that could work perhaps.

            *not actually a robot

            arhiundefined 1 Reply Last reply Reply Quote 0
            • arhiundefined
              arhi @bot
              last edited by

              @bot tried, same on RRF3 - no 551 no password 🙂

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

                Not setting M551 explicitly will have it use the default, which is 'reprap'.

                https://duet3d.dozuki.com/Wiki/Gcode#Section_M551_Set_Password

                All checks out.

                Z-Bot CoreXY Build | Thingiverse Profile

                arhiundefined 1 Reply Last reply Reply Quote 0
                • arhiundefined
                  arhi @Phaedrux
                  last edited by

                  @Phaedrux hm I commented out the 551 line and dwc is not asking for password 😄

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

                    @arhi Right. Because when you haven't set it, it's still taking the default value of reprap, which won't ask for a password.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    arhiundefined 1 Reply Last reply Reply Quote 1
                    • arhiundefined
                      arhi @Phaedrux
                      last edited by

                      @Phaedrux hahhaha I'm not very smart these days, all clear now 😄

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

                        It can be a bit confusing because many gcode have assumed defaults, so even if you don't send the command the firmware is already assuming some values are set. A good example is M584 for motor driver assignment.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        arhiundefined 1 Reply Last reply Reply Quote 0
                        • arhiundefined
                          arhi @Phaedrux
                          last edited by

                          @Phaedrux said in Error: M551: non-empty string expected:

                          It can be a bit confusing because many gcode have assumed defaults, so even if you don't send the command the firmware is already assuming some values are set. A good example is M584 for motor driver assignment.

                          the "no password" == "reprap" part I read 5 times and did not understand properly 😄

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