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

    DWC 3.2.0 beta-1 SBC: "M84 XYE" causes parser error

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    8
    331
    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.
    • docboboundefined
      docbobo
      last edited by

      I just started my journey with RRF on a SKR 1.4 Turbo. Today, I switched from an ESP based connection over to the SBC integration. However, uploading some gcode that had worked earlier today, I received the following error:

      Failed to get file info for CaribouSKR_PETG_calicat_calico_0.2000mm.gcode
      Operation failed (Reason: CodeParserException in GetFileInfo: Failed to parse major M-code number (otors))
      

      It seems that the parsed had some issues with the very last gcode in the file, which reads

      M84 XYE
      

      However, the same gcode worked in the files when uploaded via ESP.

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

        Can you confirm that you are also running DSF version 3.2beta1 on 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
        • docboboundefined
          docbobo
          last edited by

          $ dpkg --list | grep Duet
          ii  duetcontrolserver                    3.2.0-beta1+1                       armhf        Control server application for Duet 3 series
          ii  duetruntime                          3.2.0-beta1+1                       armhf        .NET Core runtime libraries for the Duet software framework
          ii  duetsd                               1.0.7                               all          Virtual SD card directory for the Duet software framework
          ii  duetsoftwareframework                3.2.0-beta1+1                       armhf        Meta package for the full Duet software framework
          ii  duetwebcontrol                       3.2.0-beta1+2                       all          Official web interface for Duet electronics
          ii  duetwebserver                        3.2.0-beta1                         armhf        Optional web server for Duet 3 series
          
          1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators
            last edited by

            thanks for the report, this is one for @chrishamm

            www.duet3d.com

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

              I cannot confirm this problem. M84 XYE is correctly parsed by DSF and your error message suggests that you have an unescapted Motors expression somewhere in your file. If that is not the case, please provide the full G-code file and I'll look into it again.

              Duet software engineer

              1 Reply Last reply Reply Quote 0
              • docboboundefined
                docbobo
                last edited by docbobo

                You are right, it seems to be slightly more complicated than that. Even though I cannot upload my gcode file here - upload always fails with an error (?) - I was able to reduce the problem to exactly one line:

                M84 XYE; disable motors
                

                A gcode file that just contains this line will produce the error. Adding a whitespace in front of the semicolon seems to fix this problem, btw.

                1 Reply Last reply Reply Quote 1
                • docboboundefined
                  docbobo
                  last edited by

                  Just checked - that even produces the same error when pasted into the GCode command box at the top of DWC.

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

                    Thanks for sharing those details. I'll fix it in 3.2-b2.

                    Duet software engineer

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