-
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 -
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
-
@mikethk Let's go a little back closer to basics... what kind of spindle do you have on your CNC?
-
I got a 230v Dewalt spindle. So i guees i have to use some relays.
-
@mikethk Indeed, a relay or SSR are your only choices for that!