Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: idcreate on November 23, 2018, 05:54:27 AM

Title: Control VFD/Spindle via Breakout board and mach3.
Post by: idcreate on November 23, 2018, 05:54:27 AM
Hi,

I can't get the forum search to work.. something about spell check.

Is there anyone who can point me in the direction of topics regarding spindle wiring and setup so that it can be controlled through mach3? I'm sure it's been covered here numerous times.

VFD: Huanyang HY02D223B, 2.2kw Chinese

Breakout Board: HY-jk02-M, with relay and analog 0-10v for speed control.

Many hours of searching, fiddling and head scratching have led me here.  ???
I can get the relay to fire, which leads me to believe that the software is talking to the breakout board, but that's as far as i can get.

Thanks in advance.
Title: Re: Control VFD/Spindle via Breakout board and mach3.
Post by: Tweakie.CNC on November 23, 2018, 06:49:44 AM
Hi,

This forum is currently undergoing a re-think on layout, content, etc.  http://forum.machsupport.com/forum/index.php/topic,38649.0.html

Some functions (such as search and link re-directs, etc.) may be a little cranky until it is all sorted.     

Tweakie.
Title: Re: Control VFD/Spindle via Breakout board and mach3.
Post by: TPS on November 23, 2018, 06:49:50 AM
had a quick look to the Manuals.
look's like your bob had only a relay Output to Switch on/off the VFD, but no speedcontrol.

here:

http://www.kronosrobotics.com/hy02d223b-vfd-type-1/

i found something about the wiring of the VFD.
Title: Re: Control VFD/Spindle via Breakout board and mach3.
Post by: idcreate on November 23, 2018, 07:40:03 AM
Thanks mate, that’s a lot of help. I’ll see if we can’t get it running in the morning.

As for the BOB, it should control the spindle rpm, (that’s what is advertised anyway). Quote: “Output 0-10V analog voltage for inverter to control the spindle speed.”
Though there’s no clear indication on how to do it in the manual, or anywhere else that I can see. I’m hoping that someone who has used this specific board will come along and enlighten me.
If not, I might have to stop being such a tight ass and get something a little better.
Title: Re: Control VFD/Spindle via Breakout board and mach3.
Post by: ZASto on November 23, 2018, 09:44:53 AM
From the photographs that I can find on web, your BOB only have relay output, nowhere to be seen at least an op-amp that converts PWM to 0-10V.
Title: Re: Control VFD/Spindle via Breakout board and mach3.
Post by: ger21 on November 23, 2018, 09:50:18 AM
This manual does not show any speed control.
http://www.mantech.co.za/datasheets/products/1036147-R0%5E1.pdf
Title: Re: Control VFD/Spindle via Breakout board and mach3.
Post by: ZASto on November 23, 2018, 01:00:54 PM
Oh, there is :)
Spindle relay: ON/OFF :D
Title: Re: Control VFD/Spindle via Breakout board and mach3.
Post by: idcreate on November 23, 2018, 02:44:31 PM
So you’re saying I should ask for my $5 back because of false adavertising? :D  :D
Title: Re: Control VFD/Spindle via Breakout board and mach3.
Post by: TPS on November 24, 2018, 02:52:09 AM
you can use spare Output from the B-axis and put a PWM to 0-10V converter
on that, then you have a Speed control.
Title: Re: Control VFD/Spindle via Breakout board and mach3.
Post by: ger21 on November 24, 2018, 06:30:59 AM
These boards have speed control:
https://www.ebay.com/itm/Upgraded-5-Axis-CNC-Breakout-Board-for-Stepper-Motor-Driver-Mach3-USB-Cable-DI/262485750955?epid=1873801680&hash=item3d1d5eb4ab:rk:1:pf:0

The simple method is a USB to RS-485 converter and a Huanyang plugin.
https://www.amazon.com/gp/product/B00NKAJGZM/ref=od_aui_detailpages00?ie=UTF8&psc=1

http://royaumedeole.fr/informatique/plugin-mach3-pour-vfdhuanyang/mach3-plugin-for-huanyang-vfd/
Title: Re: Control VFD/Spindle via Breakout board and mach3.
Post by: tulip6 on November 24, 2018, 11:29:17 AM
Hello
look on this site you will find your happiness
at home it works perfectly ....
you even have the actual rotational speed of the spindle display on MACH3
good luck.....
http://royaumedeole.fr/informatique/plugin-mach3-pour-vfdhuanyang/mach3-plugin-for-huanyang-vfd/
Title: Re: Control VFD/Spindle via Breakout board and mach3.
Post by: idcreate on November 26, 2018, 03:44:30 AM
I might have to give that a crack!
Thanks for the info boys.