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

    Correction for g code documentation

    Scheduled Pinned Locked Moved
    General Discussion
    3
    8
    218
    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.
    • jens55undefined
      jens55
      last edited by

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

      The documentation reads :

      M117: Display Message
      Example
      M117 Hello World

      according to what I gather, it SHOULD read M117 "Hello World"
      (quotation marks are currently missing)

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

        The quotation marks are optional. I have updated the documentation.

        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
        • jens55undefined
          jens55
          last edited by

          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.

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

            @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?

            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
            • jens55undefined
              jens55
              last edited by

              Duet2 wifi

              jens55undefined 1 Reply Last reply Reply Quote 0
              • jens55undefined
                jens55 @jens55
                last edited by jens55

                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-g

                I 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

                1 Reply Last reply Reply Quote 0
                • Danalundefined
                  Danal
                  last edited by

                  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.

                  Delta / Kossel printer fanatic

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

                    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.

                    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
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA