Duet3D Logo

    Duet3D

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

    Duet3D controlling relay - Spindle

    CNC
    3
    5
    625
    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.
    • Mikethk
      Mikethk last edited by

      Hi all

      I want the Duet3D to control a relay that will shut down my spindle on end project. If i could write a macro to start the spindle via a relay, then it would be even more cool.

      I only looking for a clue if this is possible. And maybe where to look.

      Best regards
      Mike Kristensen

      Catalin_RO 1 Reply Last reply Reply Quote 0
      • Danal
        Danal last edited by

        Easily possible.

        M453 that places Duet in "CNC Mode" allows specifications of which logical pins to use for controlling the spindle with standard M3/M4/M5. No macros needed.

        For logical to physical pin mappings, see documentation at M42

        For all this, start here:

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

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • Catalin_RO
          Catalin_RO @Mikethk last edited by

          @mikethk Let's go a little back closer to basics... what kind of spindle do you have on your CNC?

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

            I got a 230v Dewalt spindle. So i guees i have to use some relays.

            Catalin_RO 1 Reply Last reply Reply Quote 0
            • Catalin_RO
              Catalin_RO @Mikethk last edited by

              @mikethk Indeed, a relay or SSR are your only choices for that!

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