Correction for g code documentation
-
https://duet3d.dozuki.com/Wiki/Gcode#Section_M117_Display_Message
The documentation reads :
M117: Display Message
Example
M117 Hello Worldaccording to what I gather, it SHOULD read M117 "Hello World"
(quotation marks are currently missing) -
The quotation marks are optional. I have updated the documentation.
-
Thanks .... but with RRF3.0 and without the quotation marks, there was no output to the web interface. Once the quotation marks were used, the output was there.
I guess I should mention that this was happening as I was trouble shooting my weird issue with gcode that hung (see other thread) so I suppose this could have affected things. -
@jens55 said in Correction for g code documentation:
Thanks .... but with RRF3.0 and without the quotation marks, there was no output to the web interface. Once the quotation marks were used, the output was there.
I guess I should mention that this was happening as I was trouble shooting my weird issue with gcode that hung (see other thread) so I suppose this could have affected things.Which Duet are you using; and if it is Duet 3, is it with or without the SBC?
-
Duet2 wifi
-
Just tried it out without quotation marks and it does work fine so all I can say is that it could all boil down to some weird file corruption issue as reported here:
https://forum.duet3d.com/topic/14541/weird-fault-on-homey-gI tried many different things in an attempt to isolate the issue and it is quite possible that I got my wires crossed between the quotation marks and the homey.g file locking up and what not.
In any case, I thing it's great that you changed the documentation for completeness sake - thanks -
Some early releases of DSF on Duet 3 + Pi did very odd things without the quotes. IIRC, there was some internal string escaping (or un-escaping) going on.
-
The rule is:
- Where a string parameter is used with a letter to introduce it, quotation marks should be used around the string. For RRF3 on Duet 3 with attached SBC, the quotation marks are mandatory. In other cases they are optional for some older commands, e.g. M98.
- Where a string parameter used without a letter to introduce it, quotation marks are optional. Examples are M32 and M117.