Error: M551: non-empty string expected
-
What's the proper way to set no password as
M551 P""
does not work? JustM551
or ? -
M551 Preprap ; Set password. Use reprap for no password prompt.
-
@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
-
In RRF2, simply not setting M551 leaves the DWC unprotected via password prompt. Not sure about RRF3, but that could work perhaps.
-
@bot tried, same on RRF3 - no 551 no password
-
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.
-
@Phaedrux hm I commented out the 551 line and dwc is not asking for password
-
@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.
-
@Phaedrux hahhaha I'm not very smart these days, all clear now
-
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.
-
@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