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

    M28 not working in RRF3

    Scheduled Pinned Locked Moved
    Beta Firmware
    3
    6
    400
    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.
    • tooundefined
      too
      last edited by too

      I am trying to build a workaround for calling M32 from within gcode files, so I thought I could override a macro file through M28 to start the next gcode file. (Related topic here)

      Whatever I am trying, I can't get M28 to even create a file, neither in the gcode directory nor in the macro directory.

      M28 "loggingfile.gcode"
      Error: Can't open file loggingfile.gcode for writing

      M28 0:/GCODES/DIR_TESTING/LOGGINGFILE.G
      Error: Operation failed (Reason: Command SimpleCode has reported an error:
      [ArgumentException] Code is too long)

      M28 "0:/GCODES/DIR_TESTING/LOGGINGFILE.G"
      Error: Can't open file 0:/GCODES/DIR_TESTING/LOGGINGFILE.G for writing.

      M28 "0:/macros/m_one"
      Error: Can't open file 0:/macros/m_one for writing.

      M28 "0:/macros/mone.g"
      Error: Can't open file 0:/macros/mone.g for writing.

      Anyone knows if this is my mistake or a bug?

      Cartesian Duet3+Raspberry pi 4 with 5x 1XD using servo drives printing mortars and concrete

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

        @too said in M28 not working in RRF3:

        M28 0:/GCODES/DIR_TESTING/LOGGINGFILE.G
        Error: Operation failed (Reason: Command SimpleCode has reported an error:
        [ArgumentException] Code is too long)

        From that I presume you are running on Duet 3 using an attached RPi or other single board computer; in which case it is a DSF issue, not a RRF issue. We'll look into it.

        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

        tooundefined 2 Replies Last reply Reply Quote 0
        • tooundefined
          too @dc42
          last edited by

          @dc42 Yes, I am running the Duet3 with a Raspberry Pi 4 attached.
          In case that influences anything - I am accessing the files on the virtual SD through a remote computer, so I changed the permissions for the folders to rwx-rwx-rwx

          Cartesian Duet3+Raspberry pi 4 with 5x 1XD using servo drives printing mortars and concrete

          1 Reply Last reply Reply Quote 0
          • Minionundefined
            Minion
            last edited by

            Hey @dc42, any updates on this? I also have issues with M28 on a similar setup.

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

              @dc42 did you get any further on the DSF M28 issue?

              Cartesian Duet3+Raspberry pi 4 with 5x 1XD using servo drives printing mortars and concrete

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

                @too said in M28 not working in RRF3:

                @dc42 did you get any further on the DSF M28 issue?

                I'm waiting for @chrishamm to look into it.

                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