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

    Endless messages when printing or simulating

    Scheduled Pinned Locked Moved
    General Discussion
    6
    20
    2.7k
    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.
    • Hobsieundefined
      Hobsie
      last edited by

      @dc42 I probably timed my last post really badly with MRRF on!

      I'm going to try and replace all the M204's in GCode produced by Slic3r with M204's using the syntax I mention above to see if it helps.

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

        According to http://reprap.org/wiki/G-code#M204:_Set_default_acceleration the parameters supported by Marlin since 2015 are T, P and R. So i guess S is particular to Prusa's fork of slic3r. RRF doesn't recognise the S parameter, so it sees M204 S1000 as having no parameters, and in common with the standard behaviour of RRF it reports the existing values.

        I could have RRF recognise the S parameter, but it would be nice to know what it is supposed to do.

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

          @dc42 thanks for the response.

          Yeah it looked like a mismatch of expected syntax for the command to me. Tbh I think I'll submit it as a bug on Prusa's fork and see what they say.

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

            It may be that Prusa's fork is derived from an old version of Marlin that supported the S parameter; or it may be that Marlin does support the S parameter now/still but they haven't updated the documentation at reprap.org.

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

              This thread seems to suggest S is a legacy parameter that sets both P and T to the same value:

              https://github.com/alexrj/Slic3r/issues/2745

              thiagopeixoto16 created this issue in alexrj/Slic3r

              closed New Marlin acceleration M204 syntax #2745

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

                I've just checked the RRF code and the current version does recognise the S parameter of M204. Those of you having this issue, please update your firmware.

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

                  @dc42 perfect! I've sent a message to the Prusa guys anyway as they might want to support the more up to date version for the command.

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

                    From the whatsnew file entry for firmware 1.19:

                    • M204 S parameter is supported for backwards compatibility e.g. with Cura

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

                      Ooh, that's interesting then. I came across this because of the acceleration message spam I was getting which I came to the conclusion might have been caused by the S parameter on the M204's but I'm pretty certain I'm on 1.20 (since I'm using senseless endstops).

                      I'll have a poke about then when I get home and see if it's not something daft I'm doing on my end.

                      1 Reply Last reply Reply Quote 0
                      • Hobsieundefined
                        Hobsie
                        last edited by

                        OK I've had a chance to test this out now.

                        Attempting to print a bench from Slic3r outputting M204 S commands is giving me buttloads of:

                        Maximum printing acceleration 1000.0, maximum travel acceleration 10000.0

                        However, replacing all of those M204 S commands with M204 P instead makes the messages go away.

                        My accelerations are set to (CoreXY rig):

                        [[language gcode]]
                        M201 X2000 Y2000 Z250 E10000
                        
                        

                        Edit:

                        Tested with M204 T now as well and the messages don't appear.
                        RRF v 1.20

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

                          I've just looked at the code again and realised that you need to have firmware compatibility set to Marlin for the M204 S parameter to be recognised. So check that you have M552 P2 in config.g.

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

                            M555 P2 (which I figured out you meant) seems to do the trick with M204 S commands, cheers! 🙂

                            Are there any caveats we should be aware of when putting it into Marlin mode?

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

                              Marlin compatible mode mostly only affects commands sent via USB or Telnet. There are no particular caveats.

                              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