Problems installing Huanyang VFD and spindle on my Woodworker

Hey Rick,

what is the status of Tool Configuration TabModBus Statusconnection:"

Is it “OK”, or “Timed Out”?

  • If it is “Timed Out”, you could check serial communication cable, and especially check if it is this issue.

    Also please check, as Carrianne suggested, that the serial communication settings are correct. For ModBus communication it is important that the ModBus serial communication settings on the Onefinity Controller and the settings in the VFD (PD163, PD164 and PD165) are set identically!

  • If the ModBus communication status shows “OK”, then please can you enter “M3 S8000” into the command field on your MDI Tab"?

    • What happens if you do?

If you cannot find some error here and the spindle still does not run, you could try to switch back from ModBus communication mode to Operator panel mode and see if you can start the spindle then. For this, you would have to set the “Source of Operation Commands” (PD001) and the “Source of Operating Frequency” (PD002) from “2” back to “0” which would allow control by the VFD’s Front Operator Panel, i.e. starting spindle with “RUN” button and setting speed with arrow keys, in this case, the frequency you want the spindle to run is set in “Main Frequency” (PD003). Start with entering “133” here.

Here some additional information on how to properly program a VFD:

The most important settings to enter into your VFD before a first test run are:

  • spindle rated voltage,
  • spindle rated current, and
  • spindle number of magnetic poles.

:warning: If you don’t set these correctly, you can easily damage your spindle or your VFD or both!

On the Huanyang HY series VFDs, these are the settings PD141, PD142, and PD143 (in this order).

According to what you reported, for a 110 V 800 W spindle, the rated voltage should be 110 V and rated current should be about 7 A.

  • Have you set PD141 to “110” and PD142 to “7”?

This is especially important because you wrote that you bought a VFD that is able to provide much more power (1.5 kW) than the spindle is rated (0.8 kW). You have to limit the current which the VFD provides to the spindle in these cases.

Also setting the correct number of magnetic poles is very important, because in case you still have the default of “4” here, instead of “2” (which should be correct for most cheap spindles rated with 24,000 RPM), the spindle would run only with half the speed.

  • Did you set PD143 to “2”?

Also spindles are not only rated with a maximum, but also with a minimum speed, which should not be undercut, what requires you to set a lower limit for spindle speed inside the VFD. Since the rotational speed of the spindle is calculated this way:

SPINDLE_RPM = $VFD_FREQ × 2 × 60 / $SPINDLE_NUMBER_OF_POLES

e.g. 400 Hertz × 2 × 60 seconds / 2 poles = 24,000 rpm

this means with a spindle with two magnetic poles, a VFD with 400 Hz max. frequency can deliver 0–24,000 RPM spindle speed. A VFD with 580 Hz max. frequency can deliver 0–34,800 RPM.

Most 24000 RPM spindles with magnetic 2 poles have a minimum speed allowed by manufacturer of something between 8000 and 6000 RPM (see your spindle’s datasheet!) and running them slower can damage them, it would be good to set the “Lower limit of frequency” inside the VFD to something between 133 and 100 Hz:

100 Hertz × 2 × 60 seconds / 2 poles = 6,000 rpm
133 Hertz × 2 × 60 seconds / 2 poles = 7,980 rpm (≈ 8,000 rpm)

On the Huanyang HY series, this would be setting PD011 “Frequency Lower Limit”.

  • Did you set PD011 to something between “100” and “133”?

Also the HY series have a setting called “rated motor revolution” at 50 Hz (PD144). Here you have to enter the RPM that your spindle would run in case it would be driven with a frequency of 50 Hz (even if this is outside the allowed range for the spindle). You calculate this according the same formula above:

50 Hertz × 2 × 60 seconds / 2 poles = 3,000 rpm

  • So here you got to set PD144 to “3000”.