Hey, got a weird problem with starting and stopping my spindle and hoping someone has come across this before and has a solution. With the Blackbox jumper set to M3/M5 and the relay wired between DCM & FOR on my Huanyang VFD the spindle does not turn on or off. E.g M3 S1000 does nothing as does M5 S0 - nada. Moving the Blackbox jumper to the M8/M9 position with the exact same relay wiring for the VFD and issuing the following commands correctly controls the spindle on/off and speed. M8 M3 Snnnn - starts the spindle and correctly sets the rpm M9 M5 - stops the spindle Any suggestions as to why the M3/M5 commands would not work given the exact same wiring but different jumper position. For now I'm editing my gcode to use the M8 and M9 commands so all working fine but knowing how to use the default commands would be great. Thanks in advance
As M3 is used for the 0-10v signal, you cant also use it for DCM/FOR. Refer to docs openbuilds.com/blackbox > VFD section for the correct methods. Wire DCM/FOR to each other. Set VFD parameters correctly so that it can also turn off with 0-10v (minimum freq parameter)
Thanks for that. I had verified the 0-10v output on M3/M5 jumper setting with a volt meter but failed to get the spindle to turn on/off, even with the DCM/FOR wired to each other so had opted for the M8/M9 solution and the relay. Sounds like I didn't have the VFD parameters set correctly when I first tried this so I'll revisit those settings.
Correct, if your VFD params are correct you just have two wires: Gnd and 0-10v. The relay is actually there for Plasma triggers the jumpers for other purposes exist of course for cool ideas, but the issue here is you are using the M3 PWM to generate 0-10v - as that's PWM, you cant really use it for the relay as well (expects an on/off, not pwm)