• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    drpeej
    last edited by 23 Jul 2019, 08:44

    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
    • undefined
      drpeej
      last edited by 23 Jul 2019, 09:00

      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
      • undefined
        hayseed_byte
        last edited by hayseed_byte 23 Jul 2019, 09:57

        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
        1 out of 3
        • First post
          1/3
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA