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

    M581 Trigger does not work at all for me

    Scheduled Pinned Locked Moved
    General Discussion
    2
    4
    593
    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.
    • JoduWeiundefined
      JoduWei
      last edited by JoduWei

      Hello!

      I connected a switch to E0-endstop.
      The LED is flashing, if I push the button.

      This is what i tried so far:

      M581 E0:1:2 S1 T1 C0

      M581 E0:1:2 S0 T1 C0

      M581 E0 S1 T1 C0

      M581 E0 S0 T1 C0

      I created the file "trigger1.g" with a M117 command in it.

      I does not trigger it...

      https://www.youtube.com/watch?v=VGy1r6YKb5M

      Edit: Okay, an emergency stop with "T0" works...

      1 Reply Last reply Reply Quote 0
      • DocTruckerundefined
        DocTrucker
        last edited by

        https://duet3d.dozuki.com/Wiki/Gcode#Section_M581_Configure_external_trigger

        "Trigger number 0 causes an emergency stop as if M112 had been received. Trigger number 1 causes the print to be paused as if M25 had been received. Any trigger number # greater then 1 causes the macro file sys/trigger#.g to be executed."

        Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

        1 Reply Last reply Reply Quote 0
        • JoduWeiundefined
          JoduWei
          last edited by

          Oh fk... Ty i've misread the documentation. ty very much!

          1 Reply Last reply Reply Quote 0
          • DocTruckerundefined
            DocTrucker
            last edited by

            Easily done, no worries.

            Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

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