[ Log In ]
[ Register ]
NEW: CNC Router PLANS Available for all of our Newest CNC Models!! Click here to "Design Your CNC".

Question #: 14137

Question: wiring the Huajiang yl6000 inverter to mach 3

Current Solution

1) Acquire a 5 or 6 conductor wire cable of generous length to fit between your Mach30 controller and your VFD (Variable Frequency Drive). The wire gauge should be somewhere between 18GA and 22GA. Maximum current draw will be under 20 milliamps. Cable may also be shielded and/or twisted pairs.
2) Wire #1 from controller ground to VFD XGND (DC ground)
4) Wire #2 from controller output defined as (MACH3 output#2) to VFD FWD input
Note This will give you the ability to start and top the spindle.
5) Wire #3 from controller analog ground (Speed circuit) to VFD GND.
6) Wire #4 from controller analog speed output to VFD VI1 (Speed control voltage).
7) Wire #5 from controller Analog speed 10V or 12V input to VFD 10V or VFD 13V output. (Analog supply voltage).
8) Program the VFD to accept external start and stop control with front panel STOP.
9) Program the VFD to accept external analog speed control for zero to ten volts input.
The above wiring will allow you to start and stop the spindle, and set the spindle speed. You will have control both from G-Code and Mach3 front panel control, including manual On/OFF and percentage control.
Note: Modbus control is very difficult and fussy to set up, and you lose mach3 front panel manual control.

Respond:

Other Possible Solutions to this Question

  • Need wiring diagram from mach3 USB breakout board to inverter.

    I suppose you are trying to determine how to connect the VFD tothe relay on the breakout board. This is possible, however, not recommended as there is a more robust way to connect the VFD to mach3 or mach4 that allows that CNC machine control software to control the speed and other features of the VFD.

    Follow the instructions from this question (number 13383):
    https://buildyourcnc.com/FAQ/13383

    To get to this answer, you can also ask this customer service "How can I connect my spindle's VFD to mach3?"

    Additional Information:
    If you still want to connect the VFD through the relay, I will clarify this instruction on this question tomorrow as I don't have the information in front of me at this moment. Thanks.

    Click the link to respond:
    Need wiring diagram from mach3 USB breakout board to inverter.

  • I need wiring diagram from mach3 breakout board to hy inverter

    I suppose you are trying to determine how to connect the VFD tothe relay on the breakout board. This is possible, however, not recommended as there is a more robust way to connect the VFD to mach3 or mach4 that allows that CNC machine control software to control the speed and other features of the VFD.

    Follow the instructions from this question (number 13383):
    https://buildyourcnc.com/FAQ/13383

    To get to this answer, you can also ask this customer service "How can I connect my spindle's VFD to mach3?"

    Additional Information:
    If you still want to connect the VFD through the relay, I will clarify this instruction on this question tomorrow as I don't have the information in front of me at this moment. Thanks.

    Click the link to respond:
    I need wiring diagram from mach3 breakout board to hy inverter

  • I purchased the greenbull with the electronics assembled, where are the wiring schematics to wire to 110 volt inverter?

    There is another image on the spindle page here that shows another type of wiring using the R, T and E terminals for power. The image is one of the clickable main images on that page:

    https://www.buildyourcnc.com/item/spindle-inverter-2!2kw-spindle-novfd

    Additional Information:
    Here is a link to the image directly:

    https://www.buildyourcnc.com/images/SpindleWiring-800.JPG

    And here is the link to the alternate diagram:

    https://www.buildyourcnc.com/images/NewSpindleDiagram-800.JPG

    Click the link to respond:
    I purchased the greenbull with the electronics assembled, where are the wiring schematics to wire to 110 volt inverter?

  • please send wiring diagram for the 1500kw spindle and inverter combo. i need to see what additional things need be purchased. thanks.

    Please refer to the Spindle wiring diagram found on the product page for the 2.2KW spindle. The wiring diagram will be the same for the 1.5kW Spindle. The only difference will depend on if you are using 110v or 220v power, as setting PD008 asks you to specify the max voltage.

    Click the link to respond:
    please send wiring diagram for the 1500kw spindle and inverter combo. i need to see what additional things need be purchased. thanks.

  • Is there a wiring diagram for hooking up your hex inverter between your USB breakout board and the controller?

    The use of the hex inverter in the application to invert a direction signal to have a motor run in the reverse directions is relatively simple.

    First, go to this link and look at the chip diagram:
    https://www.buildyourcnc.com/item/electronicsAndMotors-hex-inverter-breakout-newbiehack-integrated_circuits-hex-inverter

    Connect 5V from the USB interface tothe VCC pin. The pin on the keyboard jog header can be used. Connect the GND pin from the USB interface to the GND pin on the hex inverter. Connect the CW terminal from the USB interface to the 1A pin on the hex inverter. Connect the 1Y pin from the hex inverter to the driver.

    Additional Information:
    I got a question??? I am a dummy when it comes to cnc. I got 6040 1500kw water cold engraver 3 axis from china. I can not get anything out of them pertaining help they keep telling me the same thing over and over and over and I'm doing it and send them pictures that I know. Anyway email me a wiring diagram for the PRT 1500 watt spindle motor control box and has the emergency stop on and off switch manual PC and of course yhe screanm fultonsbusiness@gmail.com

    Additional Information:
    I got a question??? I am a dummy when it comes to cnc. I got 6040 1500kw water cold engraver 3 axis from china. I can not get anything out of them pertaining help they keep telling me the same thing over and over and over and I'm doing it and send them pictures that I know. Anyway email me a wiring diagram for the PRT 1500 watt spindle motor control box and has the emergency stop on and off switch manual PC and of course yhe screanm fultonsbusiness@gmail.com

    Click the link to respond:
    Is there a wiring diagram for hooking up your hex inverter between your USB breakout board and the controller?

  • When will the 2.2kw 110v inverter be in stock?

    It's actually difficult to say when we will get our 2.2kW 110v VFDs (Variable Frequency Drives) in stock. The problem of predicting inventory stock with fluctuating sales is a challenge, especially at the price we offer. Please consider the 220v VFD, even if a 220 outlet is needed to be installed. We have found that the 220v VFD units performance to be better than the 110v VFD units.

    Click the link to respond:
    When will the 2.2kw 110v inverter be in stock?

  • HOW TO HOOK UP THE VFD INVERTER WALL OUTLET?

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

    Click the link to respond:
    HOW TO HOOK UP THE VFD INVERTER WALL OUTLET?

  • HOW DO YOU HOOK UP THE SPINDLE TO INVERTER?

    U - Pin1
    V - Pin2
    W - Pin3
    Pin4 Dead

    Additional Information:
    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:
    HOW DO YOU HOOK UP THE SPINDLE TO INVERTER?

  • Mach3 USB interface board. Could you please give me the correct wiring configuration for tool prob?

    Depending on the probe that you have, you should have two wires coming from the probe. One of those two wires will need to be connect to an input pin as shown in this wiring diagram (the diagram show the probe connected to pin I4):
    https://www.buildyourcnc.com/Documents/Electric%20Wiring%20Diagram.pdf

    The other pin is connected to V-. Please make sure that you have 24V connected to the V- and V+ on that side of the Mach3 USB board.

    The way the probe works is when the probe is in contact with an object, a specific spring mechanism will cause the input pin to be connected to the V- (close the circuit). When Mach3 senses an active low on the input pin, mach3 knows that the probe has made contact (closed the circuit).

    If your probe is used as a Z-Axis zero plate, then the concept is the same, but the end mill is connected to V- and the plate is connected to the input pin. If the plate comes in contact to the end mill, then the circuit is closed and mach3 will sense an active low on the input pin.

    Click the link to respond:
    Mach3 USB interface board. Could you please give me the correct wiring configuration for tool prob?

  • HOW DO YOU CONNECT THE INVERTER TO AC?

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

    Click the link to respond:
    HOW DO YOU CONNECT THE INVERTER TO AC?

  • How to wire the inverter to the rs-485

    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.

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

    Click the link to respond:
    How to wire the inverter to the rs-485

  • HOW TO CONNECT THE SPINDLE INVERTER?

    U - Pin1
    V - Pin2
    W - Pin3
    Pin4 Dead

    Additional Information:
    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:
    HOW TO CONNECT THE SPINDLE INVERTER?

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

    U - Pin1
    V - Pin2
    W - Pin3
    Pin4 Dead

    Additional Information:
    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 TO CONNECT THE INVERTER WALL?

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

    Click the link to respond:
    HOW TO CONNECT THE INVERTER WALL?

  • WHAT TERMINALS ARE USED TO CONNECT THE INVERTER WALL OUTLET?

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

    Click the link to respond:
    WHAT TERMINALS ARE USED TO CONNECT THE INVERTER WALL OUTLET?

  • Is a 110v 20a circuit sufficient to run the spindle (2.2kw w/110v inverter)?

    t might be a better idea to increase the circuit breaker above 20 as 2200/110 is exactly 20. You will not have a buffer there in case you need it. Alternatively, you can decrease the current draw of the spindle in the VFD programming process.

    Click the link to respond:
    Is a 110v 20a circuit sufficient to run the spindle (2.2kw w/110v inverter)?

  • WIRING THE BLACKTOOTH LED PANEL TO PARALLEL BOB

    The blackTooth build instructions explain how to hook the four LED control panel to the USB breakout but not the Parallel BOB. Turns out it's very easy. Simply wire the corresponding LED cathodes (top pins on the display) to the matching CP- for the X, Y, and Z axises and wire the anodes (bottom pins) to the 5V terminals. For the on/off LED, wire the cathode to the G terminal on the laser power supply and the anode to the 5V laser supply terminal. Also, remove the 5V wire running from the Parallel BOB to the 5V terminal on the laser power supply. It is not needed and will cause the laser on/off light to always be on if the USB cable is connected.

    Click the link to respond:
    WIRING THE BLACKTOOTH LED PANEL TO PARALLEL BOB

  • HOW DO YOU SETUP THE SPINDLE INVERTER VFD?

    Change PD001 Source of Run Commands to '1'
    Change PD005 Max operating frequency to 400hz
    Change PD004 base frequency to 400hz
    Change PD003 Main frequency to 400hz
    Change PD006 Intermediate frequency to 2.5
    Change PD008 max voltage to 220v
    Change PD009 Intermediate voltage to 15v
    Change PD010 Min voltage to 8
    Change PD011 frequency lower limit to >100hz (120hz to start)
    Change PD142 7 Amps
    Change PD143 2
    Change PD144 3000

    Note: PD001 had to be changed back to 0 to allow for keypad control.
    Note2: I had to reverse U and V to get the spindle to go forward in FWD. (reverse any two wires, u&v or w&v for example)

    Click the link to respond:
    HOW DO YOU SETUP THE SPINDLE INVERTER VFD?

  • HOW DO YOU SETUP THE SPINDLE INVERTER?

    Change PD001 Source of Run Commands to '1'
    Change PD005 Max operating frequency to 400hz
    Change PD004 base frequency to 400hz
    Change PD003 Main frequency to 400hz
    Change PD006 Intermediate frequency to 2.5
    Change PD008 max voltage to 220v
    Change PD009 Intermediate voltage to 15v
    Change PD010 Min voltage to 8
    Change PD011 frequency lower limit to >100hz (120hz to start)
    Change PD142 7 Amps
    Change PD143 2
    Change PD144 3000

    Note: PD001 had to be changed back to 0 to allow for keypad control.
    Note2: I had to reverse U and V to get the spindle to go forward in FWD. (reverse any two wires, u&v or w&v for example)

    Click the link to respond:
    HOW DO YOU SETUP THE SPINDLE INVERTER?