Introduction
This manual provides detailed instructions for the installation, setup, operation, and troubleshooting of the Huanyang Variable Frequency Drive (VFD) for CNC spindle motor speed control. The VFD supports both 110V and 220V versions and is designed for controlling air and water-cooled spindle motors up to 2.2KW. It can be controlled via the front panel, a 0-10V signal, or an RS485 Modbus.
For new CNC users, controlling the VFD via the front panel is recommended for maximum flexibility. This guide specifically covers connecting the HY VFD to the CNC xPRO V5 using the RS485 Modbus.
Package Contents
Please verify that all items are included in your package:
- 1 x VFD Inverter (110V/220V/380V 2.2KW)
- 1 x User Manual (physical copy)
Technical Specifications
General Specifications
| Attribute | Value |
|---|---|
| Model Number | HY-2.2 |
| Type | DC/AC Inverters |
| Power | 2.2KW |
| Output Current | 20A / 11A / 6A |
| Output Frequency | 0.10~400.00Hz |
| Output Type | Triple |
| Weight | 1.9 kg |
| Origin | Mainland China |
| Customization | Yes |
Input & Output Features
- Input Voltage: 110V/220V/380V, single phase or three phase
- Input Frequency: 47-63Hz
- Output Voltage: 110/220V/380V, three phase
- Output Frequency: 0-50Hz / 0-400Hz
- Programmable Digital Input: 7 terminals which can support ON-OFF inputs, 1 terminal which can support high speed pulse input and PNP, NPN
- Programmable Analog Input: AI1 can accept input of -10V-10V, AI2 can accept input 0-10V or 0-20mA
- Programmable Open Collector Output: Provide 1 output terminal (open collector output or high speed pulse output)
- Relay Output: Provide 1 output terminal
- Analog Output: Provide 2 output terminals, whose output range can be 0/4-20mA or 0-10V, as chosen.
Main Control Functions
- Control Mode: V/F, Torque control
- Overload Capacity: 60s with 150% of rated current, 10s with 180% of rated current
- Speed Adjusting Range: 1:100 (SVC)
- Carrier Frequency: 1kHz - 15.0kHz
- Frequency Reference Source: Keypad, analog input, HDI, serial communication, multi-stage speed, simple PLC and PID setting. The combination of multi-modes and the switch between different modes can be realized.
- PID Control Function
- Simple PLC, Multi-Steps Speed Control Function: 16 stages speed can be set
- Traverse Control Function
- Non-Stop Operation: Maintains operation during instantaneous power off
- Speed Trace Function: Smoothly starts the running motor
- QUICK/JOG Key: User defined shortcut key can be realized
- Automatic Voltage Regulation (AVR): Automatically keeps the output voltage stable when input voltage fluctuates
- Fault Protections: Protects from over current, over voltage, under voltage, over temperature, phase failure, over load etc.
Setup and Installation
This section details the setup process for the Huanyang VFD, particularly for integration with a CNC xPRO V5 using RS485 Modbus. For a comprehensive reference, please consult the official Huanyang VFD manual (PDF available here).
Setting up the VFD
- Download the manual for reference: For detailed wiring instructions to the spindle and AC power, and for changing register settings, refer to the Huanyang VFD manual.
- Set the following registers:
Register Value Description PD000 0 Unlock parameters PD001 2 Command source is RS485 PD002 2 Speed source is RS485 PD163 1 Communications address 1 PD164 1 9600 b/s PD165 3 8 Bit No Parity - RTU PD000 1 Lock parameters - Verify the following registers:
Register Description Typical Value PD004 Base frequency as listed on spindle 400 PD005 Maximum frequency Hz 400 PD011 Min speed (air-cooled/water-cooled) 120 (air) / 100 (water) PD014 Acceleration time (Optimize) PD015 Deceleration time (Optimize) PD023 Reverse run enabled 1 PD141 Spindle max rated voltage 220 PD142 Max rated motor current (0.8kw=3.7, 1.5kw=7.0, 2.2kw=10) 10 (for 2.2KW) PD143 Motor poles 2 or 4 PD144 Rated motor revolution at 50Hz 3000 @ 50Hz and 24000 @ 400Hz - Power cycle the VFD.
Setting up the CNC xPRO V5
- Install the latest firmware:
- For Normally Open Door Switches (or no door switch): Download firmware from xPro-V5/CNCxPROv5_XYYZ_NO.bin.
- For Normally Closed Door Switches: Download firmware from xPro-V5/CNCxPROv5_XYYZ_NC.bin.
- Load firmware using these directions: Checking firmware and upgrading.
- Define the spindle: Set
$Spindle/type=HuanYangin the xPRO V5 configuration.ok ►$Spindle/Type=HuanYang [MSG:Initializing RS485 VFD spindle] [MSG:Auto_RTS in use] [MSG:VFD RS485 Tx:GPIO(4) Rx:GPIO(25) RTS:None] ok - Flip PWM / RS 485 switch to 485: Locate the PWM/RS485 switch on your xPRO V5 board and set it to the '485' position.
- Power cycle the xPRO.
Connecting the CNC xPRO V5 to the HY VFD
- Turn off both the CNC xPRO V5 and HY VFD before making any connections.
- Arrange the units to minimize RS485 cable length. The VFD should be positioned to the left of the xPRO, allowing cables from the RS485 port to route towards the USB port and then to the HY VFD.
- Using twisted pair or shielded twisted pair wiring:
- Connect the RS485 A port of the xPRO to the RS+ port of the HY VFD.
- Connect the RS485 B port of the xPRO to the RS- port of the HY VFD.
Operating Instructions
Using the HY VFD with the CNC xPRO V5 RS485 Control
It is recommended to use CNCjs to monitor all messages during setup and operation.
- Turn on the HY VFD. Allow it to fully start (approximately 20 seconds).
- Turn on the CNC xPRO V5, press the reset button, or connect to the USB port. Ensure the firmware restarts.
- Confirm HY VFD connection in the xPRO startup message. Look for messages similar to:
[MSG:Initializing RS485 VFD spindle] [MSG:Auto_RTS in use] [MSG:VFD RS485 Tx:GPIO(4) Rx:GPIO(25) RTS:None] [MSG:VFD: VFD settings read: RPM Range(3456, 11520)] - Issue command
M3 S5000to start the spindle. - Check the HY VFD display; it should read
F 173.6.
Your setup is now complete. Happy cutting!
Troubleshooting
Spindle Unresponsive Error
If you encounter a message like [MSG: Spindle RS485 Unresponsive 8] repeatedly:
If this happens immediately after starting the xPRO:
- Ensure the HY VFD is powered on before the xPRO.
- Verify all wires are correctly connected. Gently tug each wire to confirm it is fully seated and clamped.
- Check that no wires are shorted at the connectors.
- Observe the LED under the PWM / RS485 switch:
- Red indicates messages output from the xPRO.
- Green indicates messages coming from the HY VFD.
- If only a red light is visible, check the VFD's register settings.
- If only a green light is visible, ensure the PWM / RS485 switch is fully seated on the 485 side and verify
$Spindle/Type = HuanYang.
If this happens after sending an ON command (M3 or M4), it indicates a noise issue:
- Route the VFD to Spindle wires well away from the RS485 lines.
- Route the AC power lines well away from the RS485 lines.
- Keep the 24V and Stepper motor lines well away from the RS485 lines.
- Install a Ferrite choke. For more information, refer to this GitHub issue comment.
Spindle Starts but Stops Moving After Movement Command
This issue is related to the defined ramp-up and ramp-down times in the HY VFD registers.
- Increase the values of PD014 (Acceleration time) and PD015 (Deceleration time). Repeat adjustment until tuned correctly.
Factory Reset the HY VFD
If all other troubleshooting steps fail, a factory reset can resolve many issues.
- Set register PD013 to
08. - Reapply all register settings as described in the "Setting up the VFD" section of this document.
Maintenance
To ensure optimal performance and longevity of your Huanyang VFD, consider the following general maintenance guidelines:
- Keep Clean: Regularly clean the VFD's exterior to prevent dust and debris accumulation, especially around ventilation openings.
- Ensure Proper Ventilation: Make sure the VFD has adequate airflow to prevent overheating. Do not block air vents.
- Check Connections: Periodically inspect all wiring connections for tightness and signs of wear or corrosion. Loose connections can lead to intermittent operation or damage.
- Environmental Conditions: Operate the VFD within its specified environmental conditions (temperature, humidity) to avoid premature failure.
- Firmware Updates: Check the manufacturer's website or relevant community forums for any available firmware updates for the VFD or your CNC controller, as these can improve performance and address known issues.
Warranty and Support
For specific warranty information, please refer to the documentation provided with your purchase or contact the seller directly. Technical support may be available through the product manufacturer or the vendor from whom the VFD was purchased.
Additional resources, including the full user manual in PDF format, can be found here.
Applications
The Huanyang VFD is versatile and suitable for a wide range of industrial and machinery applications:
- Industries: Metallurgy, petroleum, chemical, textile, electricity, building material, coal, medicine, food, paper making, plastic, printing, lifting, cable, washing, water supply, HVAC, sewage disposal.
- Machinery: CNC routers, CNC machines, milling machines, drilling machines, winding machines, mixers, extruders, slitters, winders, compressors, ventilators, pumps, grinders, conveyors, elevators, centrifuges, and other speed control machines.