@o_lampe said in Macros, macros everywhere!:
@jamesharton There's a sticky thread, which then leads to a github repo
wherein the CNC subdirectory is empty.
@o_lampe said in Macros, macros everywhere!:
@jamesharton There's a sticky thread, which then leads to a github repo
wherein the CNC subdirectory is empty.
Hi there.
Recently I converted my MPCNC Primo to using a 6HC mainboard. It works well, but as I'm sure that you're all aware there's not really any premade macros for CNC work.
Does anyone have any macros for things like:
My current (fairly limited) macros and configuration are stored here.
and here I find the solution to my own problem in the docs.
If you are using an external relay to control mains power to the PSU, you can wire either the +5v or +3.3v (depending on what your relay requires) outputs from the duet in to the positive terminal of the relay, and wire the ground terminal of the relay to the PS_ON output on the duet. If you are using a mechanical relay and it does not include a flyback diode of some sort, you will need to wire one in parallel with the relay signal.
I feel like a bit of a doofus, but I was unable to find this over the weekend.
I'm replacing a older MKS controller running µCNC with 6HC to drive the new, toquier motors on my MPCNC and I have the 24V output of my PSU running through a relay which I used to control with a GPIO pin on the old controller to turn on/off power to the steppers, etc. I started swapping out the hardware yesterday and so far I have an external 5V supply connected to the "EXT 5V" connector and the board is powering up nicely, however I can't get the "pson" pin to trigger the relay. I have tried both M80 C"pson"
and M950 P0 C"pson"; M42 P0 S1
with no luck. I was expecting this pin to come high to 5V when set to on, however I'm not seeing any voltage on the pin.
Does anyone have any pointers?