# Huanyang spindle and VFD 800 watt on masso

**URL:** https://forum.onefinitycnc.com/t/huanyang-spindle-and-vfd-800-watt-on-masso/25923
**Category:** Uncategorized
**Created:** [March 14, 2024, 2:37am UTC](https://forum.onefinitycnc.com/t/huanyang-spindle-and-vfd-800-watt-on-masso/25923 "2024-03-14T02:37:58Z")
**Posts on this page:** 1
**Showing post:** 8

<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: [March 14, 2024, 10:11pm UTC](https://forum.onefinitycnc.com/t/huanyang-spindle-and-vfd-800-watt-on-masso/25923/8 "2024-03-14T22:11:08Z")

</div>

Hey Marcel,

> [@Marcel63](#):
>
> I changed it to 4 poles and I can only get 12000 RPM max.

to 4 poles, really? Spindles with four magnetic poles are rather rare and usually much more expensive. The usual 24 000 rpm spindles have two poles, not four. As I wrote in the [posting I linked for you above](https://forum.onefinitycnc.com/t/problems-installing-huanyang-vfd-and-spindle-on-my-woodworker/13464/5#here-some-additional-information-on-how-to-properly-program-a-vfd-1), I would set "number of poles (PD143) to four **only if you are sure that you have a four-pole spindle.** Otherwise I would set it to 2.

Anyway, **if you have a VFD that can do max. 400 Hz, you can not drive a four-pole spindle faster than 12 000 rpm,** because spindle speed calculates this way:

> [@Huanyang VFD - RPM is not reading correctly](https://forum.onefinitycnc.com/t/huanyang-vfd-rpm-is-not-reading-correctly/18115/9):
>
> The rotational speed of a spindle is calculated this way:
> 
> [SPINDLE\_RPM](https://en.wikipedia.org/wiki/Induction_motor#Synchronous_speed) = [$VFD\_FREQ](https://en.wikipedia.org/wiki/Variable-frequency_drive) × 2 × 60 / [$SPINDLE\_NUMBER\_OF\_POLES](https://commons.wikimedia.org/wiki/File:Polpaar_zahl_1.svg)
> 
> e.g. 400 Hertz × 2 × 60 seconds / 2 poles = 24,000 rpm  
> or: 400 Hertz × 2 × 60 seconds / 4 poles = 12,000 rpm
> 
> This means with a spindle with two magnetic poles a VFD will make the spindle run with 24,000 RPM spindle speed at 400 Hz. If it was a spindle with four magnetic poles, at 400 Hz, it would run at 12,000 Hz according to the formula. To bring this spindle to 24,000 rpm, you would need 800 Hz.

…but VFDs with more than 600 Hz capability were banned in the EU and in the US because you could use them on Uranium enrichment centrifuges.

* * *

Pole pairs on [three-phase asynchronuous induction motors](https://en.wikipedia.org/wiki/Induction_motor):

| 

![Polpaar_zahl_1](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/2X/6/6086785372ce9129795acf499808126e55161d63.svg)  
[Biezl](https://commons.wikimedia.org/wiki/File:Polpaar_zahl_1.svg), Public domain, via Wikimedia Commons

 | 

![Polpaar_zahl_2](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/e/1/e1b8b1801a4ebad739f986c7f368c0a14009b4b2.svg)  
[Biezl](https://commons.wikimedia.org/wiki/File:Polpaar_zahl_2.svg), Public domain, via Wikimedia Commons

 |
| 2 magnetic poles (1 pole pair) | 4 magnetic poles (2 pole pairs) |
| --- | --- |

Also are you sure that you set PD144 to 3000 like I wrote on [this](https://forum.onefinitycnc.com/t/huanyang-vfd-rpm-is-not-reading-correctly/18115/4) and [this](https://forum.onefinitycnc.com/t/problems-installing-huanyang-vfd-and-spindle-on-my-woodworker/13464/5#here-some-additional-information-on-how-to-properly-program-a-vfd-1) posting I linked to you above? If not, your spindle would not be able to run at 24 000 rpm speed.

I have no experience with the Masso G3 CNC Controller. On the buildbotics-derived Onefinity Controller, the thing is simple as the supported VFDs are stored inside the Controller, and because the buildbotics-derived Onefinity Controller supports Modbus, the Modbus commands to control the VFD are stored inside the CNC controller too. You really send the exact _spindle speed_ as data via Modbus protocol over RS-485 communication, that’s why a CNC Controller capable of Modbus communication can send exact speed settings.

But because Masso G3 does not support the Modbus protocol ☹, the Masso can control the speed of the VFD only with an analog 0–10 V voltage on an analog input of the VFD (as shown in [“Spindle VFD Examples – MASSO Documentation”](https://docs.masso.com.au/wiring-and-setup/setup-and-calibration/spindle-vfd-examples)). You got to make sure that this analog voltage is translated correctly to the spindle speed in the VFD settings. There are parameters that allow to configure this in your VFD. See your VFD manual.

EDIT: PS: Just had a look at the Huanyang VFD manual in my VFD manuals collection. Seems that it is the settings PD070–PD073 that you have to configure.

PD001 (Source of RUN commmand) and PD002 (Source of spindle speed) would both be set to 1.

---

_[View the full topic](https://forum.onefinitycnc.com/t/huanyang-spindle-and-vfd-800-watt-on-masso/25923)._
