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

    Possible Bug with M581 S-1

    Scheduled Pinned Locked Moved
    General Discussion
    3
    4
    635
    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.
    • Whitewolfundefined
      Whitewolf
      last edited by

      So I have this in the config.g

      M581 X1 Y1 Z1 S1 T2 C0 ; Emergency stop

      and this in the top of my homeall.g

      M581 S-1 ; Disable emergency stop

      and this in trigger2.g

      M300 S300 P1000 ; Sound the buzzer
      M117 Emergency stop activated because endstop was hit
      M112 ; Emergency stop

      But some reason M581 S-1 is ignored and so the homing sequence triggers an emergency stop anyways, I tried M581 X1 Y1 Z1 S-1 but same result

      Exploring the universe wherever the tech blows

      1 Reply Last reply Reply Quote 0
      • deckingmanundefined
        deckingman
        last edited by

        Not sure but I think you have to assign a trigger number as well as S-1 in the M581 to tell it which trigger to ignore. No doubt David will be along soon to confirm or otherwise.

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/@deckingman

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

          Ian is right, you must always specify the T parameter in any M581 or M582 command.

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

            @dc42:

            Ian is right, you must always specify the T parameter in any M581 or M582 command.

            Thank you, I will update the wiki as it just says M581 S-1 with no other arguments

            Exploring the universe wherever the tech blows

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