# Huanyang VFD to Controller

**URL:** <https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589>\
**Category:** Troubleshooting (X35/X50)\
**Created:** [October 30, 2021, 2:39am UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589 "2021-10-30T02:39:25Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![xbmods](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/xbmods/32/4165_2.png) [@xbmods](https://forum.onefinitycnc.com/u/xbmods)\
**Post date:** [November 7, 2021, 12:37pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/21 "2021-11-07T12:37:50Z")

</div>

Both VFD and OF controller are earthed, I live in England, almost everything is earthed here as standard.

---

<div class="post-metadata">

**Author:** ![xbmods](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/xbmods/32/4165_2.png) [@xbmods](https://forum.onefinitycnc.com/u/xbmods)\
**Post date:** [November 7, 2021, 2:41pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/22 "2021-11-07T14:41:54Z")

</div>

[![](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/7/b/7b4e4aa9a634ab07390ecd5d725fb6d5cadb97d6.jpeg "timedout onefinity") ](https://www.youtube.com/watch?v=HKtJYo49ghM)

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [November 7, 2021, 3:05pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/23 "2021-11-07T15:05:23Z")

</div>

Hey Jason,

I just read the [User Manual](https://www.omc-stepperonline.com/download/VFD%20manual%20datasheet.pdf) you posted above for [OMC-Stepperonline V70 VFD](https://www.omc-stepperonline.com/stepperonline-cnc-vfd-075kw-1hp-7a-110v-variable-frequency-drive-motor-inverter-for-spindle-motor-speed-control?search=vfd). It seems a little bit as if the Huanyang VFD (and the Huanyang manual) was a more simple clone or counterfeit of this VFD. It is true as you said that the most settings have identical numbers (“PDxxx” on the Huanyang instead of “Fxxx” on the OMC V70), but the OMC V70 has much more capabilities and a good manual. It is also capable of [Vector Control](https://en.wikipedia.org/wiki/Vector_control_(motor)).

The OMC V70 Manual covers models from .75 kW up to 7.5 kW but on the [OMC Website](https://www.omc-stepperonline.com/variable-frequency-drive/) there is only the .75 kW model. Did they stop their production?

Anyway, the ModBus RS-485 settings F163, F164, and F165 are the same as on the Huanyang the settings PD163, PD164, and PD165:

 ![OMC_V70 __P066__ Communications_Settings_1](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/2X/3/3e60d909102ca6b83bb211e624e3ed7d7b0b631c.png)

**However this setting, F169** , does not exist on the Huanyang:

![OMC_V70 __P067__ Communications_Settings_2](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/5/a/5a7e8c8694f52df0417199951e95e1c876f7ed87.png)

Did you set it to “0”?

---

<div class="post-metadata">

**Author:** ![xbmods](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/xbmods/32/4165_2.png) [@xbmods](https://forum.onefinitycnc.com/u/xbmods)\
**Post date:** [November 7, 2021, 4:08pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/24 "2021-11-07T16:08:52Z")

</div>

Mmm that’s a setting I did not realise may need modifying from default, mine is not the stepperonline badged version, my manual is virtually the same just the names are different on branding…H100 vs V70 as per the manual I referenced, I can’t find the manual online for my one but I read it could be a more updated HY.

 ![20211107_160329](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/2X/c/c3ed3af3e1f987ae2a5051018ac94d0fc4c28a72.jpeg)  
I will give that a try shortly, good spot.

---

<div class="post-metadata">

**Author:** ![xbmods](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/xbmods/32/4165_2.png) [@xbmods](https://forum.onefinitycnc.com/u/xbmods)\
**Post date:** [November 7, 2021, 6:19pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/25 "2021-11-07T18:19:09Z")

</div>

It was actually already set to standard mode, I tried both settings to no avail. I may carry on with the setting up and run the spindle manually for now, keen to get a wasteboard down and do some test pieces.

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [November 7, 2021, 8:01pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/26 "2021-11-07T20:01:52Z")

</div>

Hey Jason,

I am so sorry that you have not yet had any success transferring control of the VFD to the Onefinity Controller via RS-485 / ModBus.

You already checked every step in

- [6. Testing the Connection](https://buildbotics.com/how-to-use-a-vfd-spindle-driver/#testing-the-connection) and

- [7. Troubleshooting](https://buildbotics.com/how-to-use-a-vfd-spindle-driver/#troubleshooting) I assume.

- And you have tested the RS-485 cable for continuity and short circuit, in the removed state?

> [@xbmods](#):
>
> I may carry on with the setting up and run the spindle manually for now, keen to get a wasteboard down and do some test pieces.

Of course, if the VFD and the spindle work manually controlled, then the CNC machine is not useless, but that’s not how it should be operated.

- To regain control “Run/Stop” and “Speed” using the front panel, you’ve set back both F001 and F002 to “0”, is that right?

- In order to let “Run/Stop” and “Speed” be controlled by the Onefinity Controller via RS-485/ModBus using “M3 S10000” commands, both F001 and F002 were set to “2” is that right too?

---

<div class="post-metadata">

**Author:** ![xbmods](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/xbmods/32/4165_2.png) [@xbmods](https://forum.onefinitycnc.com/u/xbmods)\
**Post date:** [November 7, 2021, 8:16pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/27 "2021-11-07T20:16:37Z")

</div>

Yes F001 and F002 were set to 2 when testing comms, as this model has a control knob the setting for manual speed F002 is 3.

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [November 7, 2021, 8:52pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/28 "2021-11-07T20:52:59Z")

</div>

> [@xbmods](#):
>
> as this model has a control knob the setting for manual speed F002 is 3.

Ah okay, this one has a potentiometer on the front panel.

At this point I would already have connected a RS-485 diagnosis device or an oscilloscope. If you have neither, I assume you want to check the VFD on another Controller/Buildbotics/Raspi or the Onefinity Controller with an other VFD…

---

<div class="post-metadata">

**Author:** ![blaghislain](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/blaghislain/32/33736_2.png) [@blaghislain](https://forum.onefinitycnc.com/u/blaghislain)\
**Post date:** [November 7, 2021, 9:02pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/29 "2021-11-07T21:02:10Z")

</div>

I had similar timeout issue when I first install my VFD. My breakout board did not make contact with controller connector. At that time I noticed that I needed to apply pression on the breakout board to get OK status. During my test I was able to get it work while the nuts were removed. I finally replace both of them with shorter one (few mm) that were initially on my computer monitor.

So Check this:  
A. First check if those nuts are fully tighten  
B. Second, check if the metal part is near enough to the connector.  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/2X/a/a2d697aad1c44b96ffa73b000e5d2d62135390a8.jpeg)

Good Luck

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [November 7, 2021, 9:31pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/30 "2021-11-07T21:31:56Z")

</div>

Hey Ghislain,

wow, if that is the cause of the issue, you have to figure it out first. It could be that you made the whole thread redundant, because if the thing is not plugged in correctly, everything that was speculated above is totally superfluous! Thank you very much Ghislain!

---

<div class="post-metadata">

**Author:** ![AndyP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/andyp/32/1106_2.png) [@AndyP](https://forum.onefinitycnc.com/u/AndyP)\
**Post date:** [November 7, 2021, 10:49pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/31 "2021-11-07T22:49:26Z")

</div>

I had a similar problem, twice. Check connectivity (my network connector wasn’t connecting well, bad on me) and the same as @blaghislain above- check that all the nuts are tight and not stopping the breakout board from connecting full to the controller.

---

<div class="post-metadata">

**Author:** ![xbmods](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/xbmods/32/4165_2.png) [@xbmods](https://forum.onefinitycnc.com/u/xbmods)\
**Post date:** [November 8, 2021, 12:01am UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/32 "2021-11-08T00:01:46Z")

</div>

It’s definitely pointing to the connector isn’t it, the only thing I haven’t done is is check continuity from the vfd terminals to the connections on the back of the D plug of the OF controller. I take it that’s it’s OK to take the case off the OF controller (powered down) just to do this without affecting warranty?

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [November 8, 2021, 12:19am UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/33 "2021-11-08T00:19:52Z")

</div>

Hey Jason,

I don’t know, but if you are not sure you could do what Ghislain said, apply pression on the breakout board (maybe after having removed the nuts) and look if you get OK status on the Tool Configuration Tab. Setting F001 to “2” before, in order to be able to release a “M3” and “M5” command on MDI to Run/Stop Spindle, should be enough

---

<div class="post-metadata">

**Author:** ![xbmods](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/xbmods/32/4165_2.png) [@xbmods](https://forum.onefinitycnc.com/u/xbmods)\
**Post date:** [November 8, 2021, 11:11am UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/34 "2021-11-08T11:11:36Z")

</div>

I tried pressing on the dB connector, still no joy so I have now checked continuity from the OF controller board to the VFD and the connections are good, still getting timedout message trying to connect 😪

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [November 17, 2021, 4:52am UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/35 "2021-11-17T04:52:31Z")

</div>

Hey Steve,

did you get the RS-485 connection to work finally?

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [November 17, 2021, 4:53am UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/36 "2021-11-17T04:53:06Z")

</div>

Hey Jason,

nothing new as for RS-485 Connection?

---

<div class="post-metadata">

**Author:** ![xbmods](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/xbmods/32/4165_2.png) [@xbmods](https://forum.onefinitycnc.com/u/xbmods)\
**Post date:** [November 17, 2021, 7:04pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/37 "2021-11-17T19:04:18Z")

</div>

No mate, I’ve exhausted all settings and checked cable connections several times, I’m really not sure what else to try without another driver so just gonna run manual for now.

---

<div class="post-metadata">

**Author:** ![Webb](https://avatars.discourse-cdn.com/v4/letter/w/e56c9b/32.png) [@Webb](https://forum.onefinitycnc.com/u/Webb)\
**Post date:** [November 17, 2021, 8:43pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/38 "2021-11-17T20:43:22Z")

</div>

Jason,

Not to prolong the misery, but there is a physical jumper in my Huan Yang (J1) That the manual says is supposed to be set to 1-2 jumped for remote management instead of 2-3 for local. 2-3 is how it was set at the factory. Now, in my case, it didn’t make a bit of difference. The Onefinity controller saw the HY on the first try and I hadn’t moved the jumper to 1-2. Maybe you might find success by moving the J1 jumper to pins 1 and 2?

Jim

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [November 17, 2021, 9:32pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/39 "2021-11-17T21:32:51Z")

</div>

Hey Jim,

as you stated [here](https://forum.onefinitycnc.com/t/a-mans-got-to-know-his-limitations/8930/33), this jumper does not affect the serial communication between VFD and Onefinity Controller.

Nonetheless this jumper, which could not be found in the [Huanyang Manual](https://buildbotics.com/upload/vfd/Huanyang-VFD-manual.pdf) that can be found at Buildbotics or at [Automation Technologies Inc.](https://www.automationtechnologiesinc.com/products-page/vfds/kl-vfd22), is of great importance for all who have a Huanyang VFD Model with a potentiometer on the Front panel:

 ![IMG_3353 __Huanyang_Jumper_VI_VR__ cropped__50pct](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/2X/b/b7a372dc145af7d5e68366f74b43dfab1ff4a6ae.png)

 ![Huanyang __Jumper_VI_VR__ cropped1](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/7/0/7064bd60ccee76ff2a5f127f6450fc51d6f9e4a6.jpeg)

A [potentiometer](https://en.wikipedia.org/wiki/Potentiometer) can be connected to any VFD, but those models who additionally have **a Potentiometer on the Front Panel** they need a Jumper or something that lets you choose which potentiometer to use: The one on the Front panel, or the other that you wire to the Analog Terminal Inputs:  
! ![Huanyang_VFD __Basic_Connection_Diagram__ With_mark_on_Analog_Input_Terminals](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/2X/d/df28468338db17e299bd52caee8202779ce412ed.png)  
Source: [Huanyang Manual](https://buildbotics.com/upload/vfd/Huanyang-VFD-,manual.pdf), page 12.

Note that if you bought a VFD without potentiometer on the Front Panel, don’t worry, you can at any time connect a potentiometer to the Analog Terminals showed above.

So of course I saved well the information about the jumper you gave me, in order to make it available.

---

<div class="post-metadata">

**Author:** ![Webb](https://avatars.discourse-cdn.com/v4/letter/w/e56c9b/32.png) [@Webb](https://forum.onefinitycnc.com/u/Webb)\
**Post date:** [November 17, 2021, 10:07pm UTC](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589/40 "2021-11-17T22:07:41Z")

</div>

Yah, Aiph5u, just grasping at straw, feeling bad for Jason. You are right though. It is related to the potentiometer - not communication with an external controller.

The collets came today. I’m going to install the 80mm mount and the spindle right now. Fingers crossed.

[Previous page](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589.md?page=1)

[Next page](https://forum.onefinitycnc.com/t/huanyang-vfd-to-controller/8589.md?page=3)
