Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Solved Difference between M28 and manual upload of Gcode

    Duet Web Control
    4
    11
    361
    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.
    • JBisc
      JBisc last edited by JBisc

      Hey evrybody

      I am currently facing the problem, that there is a different behaviour by using M28 or using manually upload of a Gcode file over Duet Web Control

      if I use M28 (by M28 "0:/gcodes/name.gc")), some commands of my uploaded file are deleted:

      for example all command G4 P100 are deleted.

      If I am using the some file and manually upload it, it does not happen.

      Do you guys habe any idea? I am running out of ideas.

      Newest firmware used.

      My Setup: Duet 3 MB6HC Main Board with attached RPI

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

        @lepetitmort said in Difference between M28 and manual upload of Gcode:

        Newest firmware used.

        Please be specific. What version of firmware and DWC are you using. And what board?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • JBisc
          JBisc last edited by JBisc

          @Phaedrux said in Difference between M28 and manual upload of Gcode:

          rmware and DWC are you using. And what board?

          Duet Web Control 2.0.7
          Duet 3 Main Board 6HC
          FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC v0.6 or 1.0 FIRMWARE_VERSION: 3.0 ELECTRONICS: Duet 3 MB6HC FIRMWARE_DATE: 2020-01-03b3

          My Setup: Duet 3 MB6HC Main Board with attached RPI

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

            Thanks, that's helpful. I'm not sure if this is intended/expected or not. That will be for @dc42

            Z-Bot CoreXY Build | Thingiverse Profile

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

              Uploading files using M28 should not remove any command lines. However, AFAIR it does remove comments. Are you certain that your G4 lines are not commented out with a semicolon at the start?

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

                Yes I am sure that nothing is commeted out.

                Here is an example:

                If i send the following gcode

                
                M106 S1.0
                
                G4 P25
                
                ;M106 S1.0
                M106 S0.0
                M106 S1.0
                M106 S255
                M106 S1.0
                
                G00 Z0.000000
                G00 X105.324704 Y211.976535
                M106 S1.0
                G01 Z0.000000 F100.0(Penetrate)
                

                the final file on the duet looks like

                G4 P25
                ;M106 S1.0
                G0 Z0.000000
                G0 X105.324704 Y211.976535
                G1 Z0.000000 F100.0;Penetrate
                
                

                I am not understanding what is happening here.

                My Setup: Duet 3 MB6HC Main Board with attached RPI

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

                  Are you running your Duet 3 in standalone mode or with an attached RPi?

                  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

                  JBisc 1 Reply Last reply Reply Quote 0
                  • JBisc
                    JBisc @dc42 last edited by

                    @dc42 Attached RPI on which a python script sends the commands.

                    My Setup: Duet 3 MB6HC Main Board with attached RPI

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

                      @lepetitmort said in Difference between M28 and manual upload of Gcode:

                      @dc42 Attached RPI on which a python script sends the commands.

                      I'll ask @chrishamm to take a look at this.

                      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

                      JBisc 1 Reply Last reply Reply Quote 0
                      • JBisc
                        JBisc @dc42 last edited by

                        @dc42 Great thanks a lot!

                        My Setup: Duet 3 MB6HC Main Board with attached RPI

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

                          Thanks for reporting this, I've got a fix ready that will be published as part of DSF 1.3.2.

                          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