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

    Running gcode triggered by endstop

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    3
    272
    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.
    • drpeejundefined
      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
      • drpeejundefined
        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_byteundefined
          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