[ Register ]

### Question #: 5744

Question: What size of wire do you use to connect the VFD to the spindle?

Current Solution

The type of wire that should be used between the spindle and the VFD (Variable Frequency Driver also called the inverter) should be of stranded type and we use between 18 and 16 AWG.

The total current is divided among the three coil wires, therefor a wire gauge of 16 should be sufficient.

Currently we use 20AWG 4 conductor.

Respond:

### Other Possible Solutions to this Question

• What gauge wire between the VFD and the 2.2K spindle? The spindle connection posts are very tiny, equivalent to 18 gauge, but that seems too small. What do you use?

The type of wire that should be used between the spindle and the VFD (Variable Frequency Driver also called the inverter) should be of stranded type and we use between 18 and 16 AWG.

The total current is divided among the three coil wires, therefor a wire gauge of 16 should be sufficient.

Currently we use 20AWG 4 conductor.

• What length of wire do you recommend for the black toe (2'x4') between the spindle and VFD?

The length of the cable from the VFD (Variable Frequency Drive) to the actual spindle should be about the same as the z-axis cable from the z-axis motor to the z-axis driver which is recommended at 11 feet. This is locating the VFD about at the midpoint of the machine.

Click the link to respond:
What length of wire do you recommend for the black toe (2'x4') between the spindle and VFD?

• WHAT ELECTRICAL CABLE DO I USE TO CONNECT VFD INVERTER SPINDLE?

The type of wire that should be used between the spindle and the VFD (Variable Frequency Driver also called the inverter) should be of stranded type and we use between 18 and 16 AWG.

The total current is divided among the three coil wires, therefor a wire gauge of 16 should be sufficient.

Currently we use 20AWG 4 conductor.

Click the link to respond:
WHAT ELECTRICAL CABLE DO I USE TO CONNECT VFD INVERTER SPINDLE?

• What wire size to use from VFD to 2.2kW spindle?

We use 16 AWG wires between the spindle and the VFD. This wire size has a maximum capacity for 22 Amps, a good buffer to eliminate any possibility for overheating. The 2.2kW using 220V may draw up to 10 Amps (220 x 10 = 2200).

That is, all three wires are sharing the total current draw.

grounding a spindle

Click the link to respond:
What wire size to use from VFD to 2.2kW spindle?

• How do you connect the spindle VFD to the parallel breakout board

The parallel board contains a relay that is connected to pin #16. You can use this relay as the start/stop by connecting the relay to the FOR and it's related digital GND pin on the VFD.

Click the link to respond:
How do you connect the spindle VFD to the parallel breakout board

• WHAT ARE THE OUTPUT INVERTER (VFD) CONNECTIONS TO SPINDLE?

U - Pin1
V - Pin2
W - Pin3

My home made cnc is a big problem with my NC connection. When in start my spindle it will be gone wrong. It will be limith switch problem anytime. Need help thanks.

Click the link to respond:
WHAT ARE THE OUTPUT INVERTER (VFD) CONNECTIONS TO SPINDLE?

• How do I conect the VFD of the spindle to the RS485 connections

It is not necessary to connect the spindle VFD (Variable Frequency Drive also called an Inverter) to the computer or CNC motion electronics. The VFD can be controlled independently using the control panel on the VFD. The control panel has the ability to control all aspects of the spindle including Speed, Torque, limits, etc. However, you can connect the VFD to the computer so the CNC control program can control the spindle during the CNC Machine operation. You will need to connect the VFD to the computer via a serial conection (in this case, it is the RS-485 protocol).

The following are instructions on how to connect the VFD to Mach3 via this RS-485 serial connection.

The first thing you will need is the dynamic link library to pair with mach3 called the Huanyang VFD Mach3 PlugIn. You can find this file at the mach3 support forum here: http://www.machsupport.com/forum/index.php/topic,14182.0.html

You will also need to download the Microsoft .net 3.5 framework and install it: https://www.microsoft.com/en-us/download/details.aspx?id=21

Follow the pdf that comes with the library file, but here is a synopsis of what you need to do (I also added a lot more information that may be useful during this process as the manual does not cover the main connections that need to be done):

You will need to program your VFD so that it knows how to communicate with mach3 and the computer (go into the programming mode of the VFD and change these parameters):
- PD001 - value 2 - Enables with communication aspect of the VFD
- PD002 - value 2 - Enables frequency control from the communcations port
- PD163 - value 1 - VFD address
- PD164 - value 1 - Baud rate of 9600 (speed of the communication)
- PD165 - value 3 - 8N1 RTU - 8 bits (that's the size of the word that gets communicated), N (No parity or no error checking) and 1 (1 stop bit)

Copy the dll file to the PlugIns folder of mach3.

Connect the RX and TX lines to your computer. There are a couple ways you can do this, but the recommended way would be to use an FTDI USB device which converts a USB to a serial com port. The device will have Rx and Tx connectors to connect to the VFD terminals with the same labels. This method is recommended since serial ports are not as common in computers these days.

Next, you will need to configure mach3 to use the plugin library. Start mach3 and click on Menu -> config ->Config Plugins. Enable the new plugin by clicking on the red cross on the left column next to the plug in. Restart mach3 after doing this.

No you need to configure mach3 to use the HuanyangVFD plugin. Go to the ports & pins configuration and select the spindle setup tab. Make sure that the Disable Spindle Relays checkbox is unchecked. We don't want mach3 to output a signal for a relay since the spindle will start up and turn off within the VFD and not from an external relay.

Next, go to the HuanyangVFD settings by clicking on Menu -> plugin control -> HuanyangVFD. Set the parameters to the same settings you put into the VFD programming. The com port will be shown as new hardward when you plug in the USB FTDI device. A little bubble will be displayed at the bottom right where it will notify you that a new device is being installed (be patient while windows assigns a com port). Alternatively, you can use the windows device manager to see which port was set for the new USB FTDI device). You may need to restart mach3 several times until you get the correct information displayed in the PD001 and PD002 fields. When the com port is correct and the other parameters, like baud and VFD address is the same as you entered in the programming, then the PD001 and PD002 will show the number 2, otherwise, a 99 will appear which means that communication was not successful.

You can now control the on/off and RPM of the spindle using the RS485 communication between mach3 and the VFD.

The question was how to connect the spindle to the redfy. I did not receive a VFD.
I have the redFly system and a 2.2kW Spindle - 110V how do i connect the spindle?

If you received a spindle without a VFD, please contact us asap. Our spindle will not work without a VFD.

Hi, how is this setup in mach4?

Click the link to respond:
How do I conect the VFD of the spindle to the RS485 connections

• What kind of wire should I use between the invertor and the spindle?

The type of wire that should be used between the spindle and the VFD (Variable Frequency Driver also called the inverter) should be of stranded type and we use between 18 and 16 AWG.

The total current is divided among the three coil wires, therefor a wire gauge of 16 should be sufficient.

Currently we use 20AWG 4 conductor.

Click the link to respond:
What kind of wire should I use between the invertor and the spindle?

• do you stock the water hose connector for the 1.5kw spindle

The 1/4" Inside Diamater to 3/8" Outside Diameter silicon tubing is what is used as a water hose for the 1.5kw and 2.2kw Spindles. It can be found here https://buildyourcnc.com/Item/pneumatic-hydraulic-silicone-tubing

Click the link to respond:
do you stock the water hose connector for the 1.5kw spindle

• WHAT ARE THE SPINDLE INVERTERS (VFD) INPUT AC CONNECTIONS FROM WALL OUTLET?

Input to VFD:
240V Active - R
240V Neutral - S
Ground - E

Click the link to respond:
WHAT ARE THE SPINDLE INVERTERS (VFD) INPUT AC CONNECTIONS FROM WALL OUTLET?

• What wire AWG can I use to connect the power supply 24v 8.3 amps

Most of our power supplies allow for a 9 amp current draw.

For the Neutral, Live and earth ground, wire gauge for that level of current is 14 for relatively short cable lengths. Increase the gauge for longer lengths past 25 feet.

For the DC 24V output terminals to the drivers, 20 gauge is fine. If the power supply is connecting to only one driver, increase the wire gauge to 14.

What gage wire should I use from motor to driver

Click the link to respond:
What wire AWG can I use to connect the power supply 24v 8.3 amps

• How to connect the spindle VFD to RS-485 serial modbus

It is possible to connect and configure the spindle VFD to the mach3 via an RS485 communication and protocol.

The first thing you will need is the dynamic link library to pair with mach3 called the Huanyang VFD Mach3 PlugIn. You can find this file at the mach3 support forum here: http://www.machsupport.com/forum/index.php/topic,14182.0.html

You will also need to download the Microsoft .net 3.5 framework and install it: https://www.microsoft.com/en-us/download/details.aspx?id=21

Follow the pdf that comes with the library file, but here is a synopsis of what you need to do (I also added a lot more information that may be useful during this process as the manual does not cover the main connections that need to be done):

You will need to program your VFD so that it knows how to communicate with mach3 and the computer (go into the programming mode of the VFD and change these parameters):
- PD001 - value 2 - Enables with communication aspect of the VFD
- PD002 - value 2 - Enables frequency control from the communcations port
- PD163 - value 1 - VFD address
- PD164 - value 1 - Baud rate of 9600 (speed of the communication)
- PD165 - value 3 - 8N1 RTU - 8 bits (that's the size of the word that gets communicated), N (No parity or no error checking) and 1 (1 stop bit)

Copy the dll file to the PlugIns folder of mach3.

Connect the RX and TX lines to your computer. There are a couple ways you can do this, but the recommended way would be to use an FTDI USB device which converts a USB to a serial com port. The device will have Rx and Tx connectors to connect to the VFD terminals with the same labels. This method is recommended since serial ports are not as common in computers these days.

Next, you will need to configure mach3 to use the plugin library. Start mach3 and click on Menu -> config ->Config Plugins. Enable the new plugin by clicking on the red cross on the left column next to the plug in. Restart mach3 after doing this.

No you need to configure mach3 to use the HuanyangVFD plugin. Go to the ports & pins configuration and select the spindle setup tab. Make sure that the Disable Spindle Relays checkbox is unchecked. We don't want mach3 to output a signal for a relay since the spindle will start up and turn off within the VFD and not from an external relay.

Next, go to the HuanyangVFD settings by clicking on Menu -> plugin control -> HuanyangVFD. Set the parameters to the same settings you put into the VFD programming. The com port will be shown as new hardward when you plug in the USB FTDI device. A little bubble will be displayed at the bottom right where it will notify you that a new device is being installed (be patient while windows assigns a com port). Alternatively, you can use the windows device manager to see which port was set for the new USB FTDI device). You may need to restart mach3 several times until you get the correct information displayed in the PD001 and PD002 fields. When the com port is correct and the other parameters, like baud and VFD address is the same as you entered in the programming, then the PD001 and PD002 will show the number 2, otherwise, a 99 will appear which means that communication was not successful.

You can now control the on/off and RPM of the spindle using the RS485 communication between mach3 and the VFD.

Will this work with the brand called "best "vfd as well.

Click the link to respond:
How to connect the spindle VFD to RS-485 serial modbus

• how do you wire the 2.2kw spindle and vfd for 110 single phase

You can find the wiring diagram for the 2.2kW spindle and, follow through instructions here.
https://www.buildyourcnc.com/item/spindle-inverter-2!2kw-spindle-novfd#prettyPhoto/8/

wiring diagram at spindle top

Click the link to respond:
how do you wire the 2.2kw spindle and vfd for 110 single phase

• I purchased the 4.0kw spindle and VFD a while back, and have just installed a PMDX-107 controller... do you have any examples of the wiring connections for the SL-240EE to PMDX-107?

If you want speed control, it is recommended to use the RS-485 connection on the VFD and use the control program such as Mach3 to communication serially with the VFD using this RS-485 connection.

If you would rather use a controller such as the PMDX-107 to simulate the effect of a potentiometer using the Aref, Aout and Agnd and the Rev/Dir and Fwd/Run terminals to control operation and direction, you can connect those to the VFD.

PMDX-107 Aout connects to the VI (analog voltage in). This is like the wiper on a potentiometer.
PMDX-107 Agnd connects to the ACM terminal on the VFD for Analog common.
PMDX-107 COM connects to DCM terminal on the VFD for Digital common.
PMDX-107 Fwd/Run connects to the FOR terminal on the VFD for Forward.
PMDX-107 Rev/Dir connects to the REV terminal on the VFD for Reverse.

Refer to your PMDX-107 manual to correctly configure your dip switch settings and make sure to calibrate (tweak) the speed control using the trimmer next to the terminals on the PMDX-107.

• what is the warranty period and do you repair these in house? 2.2 kW (kilowatt) Water Cooled Spindle with Inverter (VFD)

Spindles are generally covered up to 1 year after date of purchase. We do not repair them in house, but we do work with our manufacturer to replace defective units. Generally if you have a defective unit covered under warranty, we will issue a replacement.

• I WIRED MY VFD (2.2KW VERSION) AND TRIED TEST RUNNING THE SPINDLE. CONFIGURED TO YOUR SPECS ON THIS WEBSITE, ONLY ISSUE IS WE GOT AN ERROR CODE. ERR 02, DO YOU KNOW WHAT IS? OR HAVE A LIST OF CODES? THANK

Can you provide the model number of your VFD?

Yes, I have the "YL600 - 2S - 2K20"

It just came with a small booklet that is all in Chinese...

• do you have a 4 pin male connector with the wires attached?

Yes and properly soldered.

20

Click the link to respond:
do you have a 4 pin male connector with the wires attached?

• How do you wire the connection between the vfd and the pokoys57cnc breakout board?

The Pokeys57cnc board: https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach4-mach3-USB-ethernet-Board

This board contains a 0-10V output at pin #17 that can be connected to the spindle's VFD 0-10V input. On the VFD, this terminal is typically called AI0 or above.

Pin #14 on the Pokeys57cnc board can also be used as a spindle error input.

The Galvanically isolated I/O section of terminals on the Pokeys57cnc board (which also contain the pins 14 and 18, can be used to serve as the on/off for the spindle/VFD using the VFDs digital input.

Click the link to respond:
How do you wire the connection between the vfd and the pokoys57cnc breakout board?

• What size collet can the 2.2kW spindle use?

All of our spindles come standard with a 1/4" collet. The 2.2kw, and 4.0kw, can be upgraded to a 1/2" collet with a separate purchase.

Click the link to respond:
What size collet can the 2.2kW spindle use?