Cannot get 0-10V from Breakout board
Hi all,
I bought a Chinese (Redsail) CNC router several months ago. I was surprised (=disappointed) to find that the only way to operate the spindle motor was to use the front panel controls on the VFD.
I have therefore replaced the supplied breakout board with one that has integrated spindle control (0-10V output).
I can get the X, Y, Z and A-axis motors to turn, but I cannot get more than 4.0 volts from the breakout board output.
As shown in the results of my testing (below), I have also found that the voltage does not change when different speed commands are issued in Mach3.
The settings used to get 4.0 volts are;
Spindle Pulley Number 1
Min = 0, Max =24000, Ratio = 1 (adjusting these settings made no difference)
Engine Configuration > Ports and pins > Motor Outputs
Spindle Enabled √, Step Pin = 14, Dir pin = 1, Dir Low Active = X, Step Low Active = X,
Step port = 1, Dir port = 2 (adjusting these settings made no difference)
Engine Configuration > Ports and pins > Spindle Setup
√ Disable Spindle Relays
√ Disable Flood/Mist relays
□ ModBus Spindle – Use Step/Dir as well
√ Use Spindle Motor Output
√ PWM Control
□ Step/Dir Motor
PWM Base Freq. = 4166
Minimum PWM = 5%
Spindle Motor Movement Profile
Steps per = 60, Velocity = 24000, Acceleration = 100
The following tests were done using a multi-meter connected to the 0-10V output and GND on the breakout board. The VFD was disconnected. The 10V adjust trimpot on the breakout board was set to maximum.
As you can see, the only factor that affected the output voltage was the PWM Base Frequency settings;
Config>Ports and pins>Motor Outputs – Spindle Setup
PWM Base Freq 4166 (= the highest I can set it to)
Minimum PWM 5
S6040 0.01V
S6041 4.00V
S12000 4.00V
S24000 4.00V
PWM Base Freq 2083
Minimum PWM 5
S2999 0.01V
S3000 2.14V
S12000 2.14V
S24000 2.14V
PWM Base Freq 1000
Minimum PWM 5
S1959 0.01V
S1960 1.08V
S12000 1.07V
S24000 1.07V
PWM Base Freq 250
Minimum PWM 5
S1239 0.01V
S1240 0.28V
S12000 0.28V
S24000 0.28V
PWM Base Freq 50
Minimum PWM 5
S1000 62mV
S12000 62mV
S24000 62mV
I also tried different Step Pulse and Dir Pulse settings (from 0 to 10us) which made no difference to the output voltage.
Just in case it matters, here are some details of the rest of the set up;
Computer
Desktop Pentium 4 2.8GHz running Windows XP (with built-in DB25 parallel port set to EPP mode)
1 Gb RAM
Mach3
(Version R3.043.066) Kernel Speed 25000Hz
Breakout Board
Unbranded Breakout board with 0-10V PWM output
Identical to this one - CNC Interface Board Adapter Controllable Conversion Spindle MACH3 KCAM4 EMC2 | eBay
Another page with this board - Pictures of CNC Router MACH-CNC Interface Board For PC MACH3 KCAM4,Buy CNC Router MACH-CNC Interface Board For PC MACH3 KCAM4 Products from Weiku.com
VFD
Xinfutai VFD (model FT-C001521 KDI)
INPUT: 1 PHASE 220v 50/60Hz
OUTPUT: 3PH 220V 7A 150%
Spindle motor
JGF-65B-1.0KW
1.0KW 220V 3.33A
400Hz 24000rpm
Redsail Tech. Co., Ltd.
Http://www.hflaser.com
At this stage I am assuming that there is a fault in the breakout board. I would appreciate any other ideas before I buy another breakout board.
Cheers
Re: Cannot get 0-10V from Breakout board
This seem to be a very common problem.....hope you get it sorted:)
Re: Cannot get 0-10V from Breakout board
Quote:
Originally Posted by
WannaMakeStuff
Hi again,
in response to jjobezo and p38nut;
I have attached a simplified circuit diagram.
As mentioned in my original post;
“I have therefore replaced the supplied breakout board with one that has integrated spindle control (0-10V output).”
So the BOB does the PWM to voltage conversion (or it should!). Mach3 is therefore supplying the BOB with the PWM signal.
Extract from “Using Mach3 Mill” (revision 1.84-A2) page 4-12;
“As an alternative to Step and Direction control, Mach3 will output a pulse width modulated signal whose duty cycle is the percentage of full speed that you require. You could, for example, convert the duty cycle of the signal to a voltage (PWM signal on for 0% of time gives 0 volts 50% gives 5 volts and 100% gives 10 volts) and use this to control an induction motor with a variable frequency inverter drive.”
I think that you may be connected to the wrong outputs check GND and SPEN connection the 0-10v may not be PWM control just a 0-10v output other than that this board does not say it has PWM output
It may also work with Step/dir for the 0-10v output and not PWM
1 Attachment(s)
Re: Cannot get 0-10V from Breakout board
Quote:
Originally Posted by
SAMI81
Hello,
I have the same problem. I tried to 12V and 24V external power supply and both didn’t work to me! The breakout board I am using is C11. Could you please share your solution if you happened to solve your issue. I am expecting a bob faulty as well since everything else work fine.
Thanks,
Your spindle output from the C11 board is step/dir control for the 0-10v there manual is very good on how to set this up
Re: Cannot get 0-10V from Breakout board
Quote:
Originally Posted by
SAMI81
The 0-10V spindle wires are now connected to pin 8 and 14. I am able to turn on and off the spindle from Mach3 and was also able to control the speed, but the issue is, the maximum voltage coming out from pin 8&14 is no greater than 5V and with that being said, I am able to control spindle speed at half power. I also tried to change the potentiometer located at C11 board but so far there is no luck. The 0-10 V pins located at C11 board next to the 12V external power terminals are not producing any voltage! That’s why I think the board itself is faulty or maybe I am missing some setup on the software. I would appreciate any help.
Then what VFD drive do you have as some you can use 0-5v and 0-10v to control the RPM with just a Parameter change
There may be a jumper on the C11 that is not in the right place as well
Re: Cannot get 0-10V from Breakout board
Problem fixed! The 5V power supply to C11 board was not enough. I replaced it with bigger PSU and it did the job to me. Thanks for your replies. I will make new post and explain all my experience and the items needed so other people don’t waste time searching for minor details.