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

    M84 idle timeout syntax in config.g

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    5
    8
    497
    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.
    • ractorIIIundefined
      ractorIII
      last edited by

      I need the Z axis stepper of my machine to stay engaged at the end of a print; otherwise the print head drops. I would like the idle timeout of my other axis to be 30 seconds. Can I separate these? In Config.g, would the syntax be:

      M84 X Y S30 Z S0

      clay/ceramic slurry printing - experimental multi-material mixing for ceramics - shapeoko based carteisian - kossel based inverted delta -instagram @earlyamericanrobotpottery

      OwenDundefined 1 Reply Last reply Reply Quote 0
      • OwenDundefined
        OwenD @ractorIII
        last edited by OwenD

        @ractoriii
        You will need to put the commands on two lines I'd expect.

        M84 X Y S30
        M84 Z S0

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

          I'm not sure the time out time can be different for each axis. I seem to recall anyway.

          Z-Bot CoreXY Build | Thingiverse Profile

          ractorIIIundefined 1 Reply Last reply Reply Quote 0
          • ractorIIIundefined
            ractorIII @Phaedrux
            last edited by

            @phaedrux @OwenD

            So, I did set in config.g:

            M84 S0

            Am I misunderstanding what M84 does? I thought setting the seconds(S) to zero would hold infinitely.

            But the motors still lost power at the end of the print and dropped... Alternatively, is there a way to run a script or macro at the end of every print that will park the print head in a designated place? I could just type up the gcode and add it to the footer but that is not optimal for my purposes.

            clay/ceramic slurry printing - experimental multi-material mixing for ceramics - shapeoko based carteisian - kossel based inverted delta -instagram @earlyamericanrobotpottery

            jay_s_ukundefined Alex.crundefined OwenDundefined 3 Replies Last reply Reply Quote 0
            • jay_s_ukundefined
              jay_s_uk @ractorIII
              last edited by

              @ractoriii rather than setting the idle timeout why not just set the idle amount? i.e. split your M906
              so have M906 Z1000 I100 (assuming your z motors are set at 1amp). Then, the current should never be reduced

              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

              1 Reply Last reply Reply Quote 0
              • Alex.crundefined
                Alex.cr @ractorIII
                last edited by

                @ractoriii

                As an FYI regardless of idle timeout, if you have an M18 at the end of your print the motors will be turned off. Take a look at this if you haven’t already.

                Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

                1 Reply Last reply Reply Quote 0
                • OwenDundefined
                  OwenD @ractorIII
                  last edited by

                  @ractoriii
                  The way I read the docs, you should not set a value for Z at all if you don't want it to go to idle.
                  So maybe
                  M84 X Y E S30

                  To park at a given spot the best thing is to put all your moves and things like turning off heaters etc in stop.g in the /sys directory.
                  Then in your slicer end code just call M0 (which will run stop.g)

                  ractorIIIundefined 1 Reply Last reply Reply Quote 3
                  • ractorIIIundefined
                    ractorIII @OwenD
                    last edited by

                    @owend - thanks! this is very helpful. I'm going to test today this all today, including parking the head.

                    clay/ceramic slurry printing - experimental multi-material mixing for ceramics - shapeoko based carteisian - kossel based inverted delta -instagram @earlyamericanrobotpottery

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