Hey all
I am setting up a Ratrig Stronghold One CNC-Router with a duet 3 6HC board. So far I had a lovely journey and the forum here helped me out several times already. But now I am stuck with a stupid simple problem: I cannot get my spindle to switch on =). Spindle is maybe also not the right word. Currently I am trying to set up everything for my Makita router which is wired via an SSR.
Some detail information about my setup:
- Firmware: RepRap Firmware 3.5.4
- Board: Duet 3 6HC with a raspberry Pi 4B
- Control: Via DWC for CNC (no screen)
Initially I set up the Firmware with the RRF Configuration tool but I have made quite some changes since. I installed two SSR's which are connected to the out7- and out8-pins on the duet. One is controlling a shop vac, the other should control my makita router which a use as a spindle for now. The SSR for the shop vac works flawlessly, it is set up as follows:
; Solid state relais Vacuum
M950 P4 C"out7" ; allocate GPIO port out7 to the SSR for vacuum control
M42 P4 S0 ; set status of the earlier created GPIO port P4 (out7) to off
If I set up the spindle in the same manner, this also works fine, but M3/M5 does not work. If i try to set up the spindle properly and define a tool for it, nothing works anymore. I cannot start the spindle with M42 nor does M3/M5 work. I add my spindle config below. Feel free to roast me =). What did I do wrong? Please HEEEEEELP
; Spindle
M453 ; select CNC mode
M950 R1 C"out8" ; create Spindle 0 and map it to the pin out8 (SSR)
M563 P1 S"Spindle" R1 ; Map Spindle 0 to Tool 3 and call it "Spindle"
T1 ; activate Tool 3
M3 S0 ; Switch spindle on at 0rpm (needed?)
M5 ; switch spindle off