I am retrofitting my cnc mill, and finally I have everything wired up (I hope), but I need some help for configuration for spindle control.
I run a 0.44 kw DC motor (stock) that is powered with HX-SXPWM-A Pulse-Width DC motor speed controller Digital AC180V-260V DC180V.
I can start/run the spindle with potentiometer that was already attached to the speed controller, but I want to control it through software.
I am using a common 5axis china bob, ST-V2, with one relay. I took pictures of how is everything wired there (nothing too fancy, I am not an electrician or have too much experience in this field) with a help from a friend.
How should I set up the ports/pins, motor outputs, input/output signals and spindle setup? what pwm freq and minimum pwm to use? And did I wire up everything I need?
While searching, I found that I should move the jumper on board for P17 (will have to try that too) for spindle control (I didnt touch anything there).
And also, one strange thing (that concerns me most) is when I start motor speed controller manually, the Z axis moves a bit in one or another direction, even if steppers are not receiving any command from me. I believe I used proper shielded cables on everything that was necessary,
and could that be happening from inadequate port/pinc configuration?
Thanks