Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Running gcode triggered by endstop

    Duet Hardware and wiring
    2
    3
    163
    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.
    • drpeej
      drpeej last edited by

      I understand that Duet has the capability to run Gcode triggered from a hardware input via an unused endstop port

      I want to wire some hardware buttons to stop, pause and resume my CNC job

      Can someone point me in the right direction to find information about this?

      Peter

      1 Reply Last reply Reply Quote 0
      • drpeej
        drpeej last edited by

        Actually, I think I have found the answer.

        M581 seems to be the way. It is well documented in https://duet3d.dozuki.com/Wiki/Gcode

        Peter

        1 Reply Last reply Reply Quote 0
        • hayseed_byte
          hayseed_byte last edited by hayseed_byte

          I wrote a bit about M581 that you might find helpful. There's an article on my website but since I'm not very good at managing a website and it often goes down, I added it to the wiki.

          alt text

          https://wildbot.me/wildbot
          Gcode Definitions for VSCode extension: https://github.com/hayseedbyte/rrf-gcode-definitions

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