[ Log In ]
[ Register ]

Question #: 13616

Question: purchased assembled greenbull with electronics, need wiring diagram from rs485/breakout to VFD 110 v

Current Solution

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.

Additional Information:
Where Can i find vfd plug-in for yl-620a for mach3 MODBUS?

Respond:

Other Possible Solutions to this Question

  • need wiring diagram from rs485/breakout to VFD 110 v 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.

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

    Additional Information:
    Where Can i find vfd plug-in for yl-620a for mach3 MODBUS?

    Click the link to add information to this solution:
    need wiring diagram from rs485/breakout to VFD 110 v serial modbus

  • 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 add information to this solution:
    I purchased the greenbull with the electronics assembled, where are the wiring schematics to wire to 110 volt inverter?

  • If I understand correctly, the greenBull kit comes with a spindle and laser. What else do I need to have a working machine. Obviously a table, do I also need the computer, software, wires, pump and plumbing, electronics, VFD, steppers and controllers?

    The greenBull kit (not the assembled) will need the table (the rails for the table is supplied), wires/cables for the stepper motors and stepper motor drivers, smaller gauge wires for digital wire connections (limit switches, drivers to control interface, etc), wires for the spindle connection to the VFD, tubing for water flow to and from the spindle, and a pump and reservoir (we are just about to introduce a small pump/reservoir/radiator/fan system for use with the spindle. The VFD/spindle, stepper motors/drivers and interface board are included.

    Click the link to add information to this solution:
    If I understand correctly, the greenBull kit comes with a spindle and laser. What else do I need to have a working machine. Obviously a table, do I also need the computer, software, wires, pump and plumbing, electronics, VFD, steppers and controllers?

  • I PURCHASED A VFD AND SPINDLE FROM FRIEND, HIS SET UP IS 220. DON'T HAVE 220 IN MY SHOP. QUESTION CAN USE YOUR 110 WITH THIS SPINDLE??

    Depending if the spindle can work with this specific VFD, it might be possible. However we would not like to risk you working unit, with a possible match so we would like more details on your specific model and any information available on the spindle itself.

    Response
    The only info on the spindle is 2.2KW 400HZ 220V. Made by Zhong Hua Jiang.

    Was originally on a Delta C200 vfd. That is 220 single phase.

    Click the link to add information to this solution:
    I PURCHASED A VFD AND SPINDLE FROM FRIEND, HIS SET UP IS 220. DON'T HAVE 220 IN MY SHOP. QUESTION CAN USE YOUR 110 WITH THIS SPINDLE??

  • I purchased a vfd and spindle from a friend, his set up is 220. I don't have 220 in my shop. My question is can I use your 110 vfd with this spindle??

    Depending if the spindle can work with this specific VFD, it might be possible. However we would not like to risk you working unit, with a possible match so we would like more details on your specific model and any information available on the spindle itself.

    Response
    The only info on the spindle is 2.2KW 400HZ 220V. Made by Zhong Hua Jiang.

    Was originally on a Delta C200 vfd. That is 220 single phase.

    Click the link to add information to this solution:
    I purchased a vfd and spindle from a friend, his set up is 220. I don't have 220 in my shop. My question is can I use your 110 vfd with this spindle??

  • I purchased Mach3 from buildyourcnc dont know what verson i need to use in VCarve as the processor. There are 8 2/3Mach listed

    You will probably have post processors like the following listed:
    Mach2/3 ATC Arcs (inch)
    Mach2/3 ATC Arcs (mm)
    Mach2/3 Arcs (inch)
    Mach2/3 Arcs (mm)
    Mach2/3-WrapX2A ATC Arcs (inch)
    Mach2/3-WrapX2A ATC Arcs (mm)
    Mach2/3-WrapY2A ATC Arcs (inch)
    Mach2/3-WrapY2A ATC Arcs (mm)

    If you have an Automatic Tool Changer, use the post processor with the ATC in the name. For most applications and if you don't have an ATC (automatic tool changer), use the Mach2/3 Arcs (inch) or (mm) post processor.




    Additional Information:

    Click the link to add information to this solution:
    I purchased Mach3 from buildyourcnc dont know what verson i need to use in VCarve as the processor. There are 8 2/3Mach listed

  • If I use your greenBull CNC with 110 instead of 220, am I taking a reduction in functionality?

    No, the greenBull CNC will function with the same performance in 110 or 220 volts. When the voltage changes, the current compensates for the different voltage. Make sure to select the appropriate products for the voltage. If the product does in list the voltage, make sure to give us a cal to inform us so we can supply the correct components in the package for shipping.

    Click the link to add information to this solution:
    If I use your greenBull CNC with 110 instead of 220, am I taking a reduction in functionality?

  • 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.

    Click the link to add information to this solution:
    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?

  • Good morning, we purchased the vfd with 220v but here in south america the standard is 110v, will it work? or should I adapt one power outlet to 220v

    If you purchased a 220 volt VFD (Variable Frequency Drive), you will need to use a 220 volt outlet. A VFD that has an input voltage rating of 220 volts will not work with 110 volts being applied to the VFD. We do sell 110 volt VFDs but you will also need a spindle that pairs with the 110 volt VFD.

    Click the link to add information to this solution:
    Good morning, we purchased the vfd with 220v but here in south america the standard is 110v, will it work? or should I adapt one power outlet to 220v

  • WHAT DOES THE GREENBULL KIT INCLUDE AND DO I NEED TO INCLUDE?

    The greenBull 4X comes with all of the components and electronics to assemble the gantry of the machine. You will need to build the table. We provide the rails and roller chain for the X-axis (along the length of the table for full 8 feet of travel). You will need to provide some wire to connect the electronics and a computer to run the machine. You will also need to purchase the software that you will need to run the machine that matches how you will apply the machine. We suggest the mach3 control program. The CAM program is up to you as there are many options out there.

    Click the link to add information to this solution:
    WHAT DOES THE GREENBULL KIT INCLUDE AND DO I NEED TO INCLUDE?

  • Hey guys and Happy New Year! I was wondering how close you were to releasing part 2 of https://youtu.be/JWACS6dMMQ0 detailing connections from a purchased redleaf system to your latest VFI as well as stop button and limit switch wiring? Cheers.
  • HEY ! I HAVE PURCHASED A VFD WITH MATCHING SPINDLE 1.5KW AND CONTROL PROGRAM UCCNC. MY INTERFACE CARD IS DB25, THE QUESTION HOW DO CONNECT TO DB25 SO THAT CAN SPEED UCCNC? SINCERELY "CNC BEGINNERS"

    Identify the Control Signals: First, determine which control signals from the DB25 interface card are used for spindle speed control. Typically, these are PWM (Pulse Width Modulation) signals or analog voltage signals.

    VFD Configuration: Your VFD should be configured to accept the type of control signal your DB25 card provides. This involves setting parameters in the VFD that correspond to the type of input signal it will receive for speed control.

    Wiring: Connect the appropriate output pins from the DB25 card to the input terminals on the VFD. This usually involves connecting the PWM or analog output to the corresponding input on the VFD. Make sure to consult the manuals for both your VFD and interface card for specific wiring details.

    UCCNC Settings: Configure UCCNC to output the correct type of signal (PWM or analog) that matches your VFD's configuration. This is done through the software's spindle setup section.

    Test and Adjust: Run some tests to ensure that the spindle speed is being correctly controlled by UCCNC. You might need to tweak settings in either the VFD or UCCNC for optimal performance.

    Click the link to add information to this solution:
    HEY ! I HAVE PURCHASED A VFD WITH MATCHING SPINDLE 1.5KW AND CONTROL PROGRAM UCCNC. MY INTERFACE CARD IS DB25, THE QUESTION HOW DO CONNECT TO DB25 SO THAT CAN SPEED UCCNC? SINCERELY "CNC BEGINNERS"

  • I have the USB controller board and the 8825 step driver. I need a wiring diagram between the two. Specifically, what does the GND pin on the X-axis connect to? Also, what does the 5V pin on the driver connect to?

    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.

    Click the link to add information to this solution:
    I have the USB controller board and the 8825 step driver. I need a wiring diagram between the two. Specifically, what does the GND pin on the X-axis connect to? Also, what does the 5V pin on the driver connect to?

  • I have the USB controller board and the 8825 step driver. I need a wiring diagram between the two. Specifically, what does the GND pin on the X-axis connect to? Also, what does the 5V pin on the driver connect to?

    You can find a wiring diagram here:
    https://buildyourcnc.com/item/electronicsAndMotors-electronic-component-USB-Controller-Breakout#prettyPhoto/2/

    The CP terminal is wired to the step terminal on the 8825 step driver.
    The CW terminal is wired to the direction terminal on the 8825 step driver.
    The GND terminal connects to the GND on the 8825 step driver

    The 5V connector on the driver simply powers the logic side of the chip and needs to connect to VCC pin on the keyboard jog.

    Customer Response:
    Thanks! Working now.

    Click the link to add information to this solution:
    I have the USB controller board and the 8825 step driver. I need a wiring diagram between the two. Specifically, what does the GND pin on the X-axis connect to? Also, what does the 5V pin on the driver connect to?

  • I have a water cooled spindle I only need the VFD drive. Does the VFD come with instrutction on hooking the VFD to Mach3?

    The VFD does come with a manual that details the wiring and connection specifications, terminal features and a list of the parameters. There is no information on how to connect it to Mach3. It does detail the specifications within the parameters and terminal features on the analog input that is used with Mach3 and other control programs.

    Click the link to add information to this solution:
    I have a water cooled spindle I only need the VFD drive. Does the VFD come with instrutction on hooking the VFD to Mach3?

  • ARE THERE PRODUCTS AVAILABLE TO THE GENERAL PUBLIC THAT CAN BE PURCHASED PROTECT CELLULAR OR PORTABLE TELEPHONE USERS FROM RADIATION? IF SO, WHERE THESE FOUND?

    There are a number of opportunistic gadgets on the market to allegedly protect the user from hazards of cellular phones. You can search the Internet to find the latest, ranging from antenna shields to whole-body shielding materials. Most experts believe that these devices take advantage of customers' misunderstanding and unfounded fears to sell products with no real value. First of all, cell phones that operate within the guidelines established by national and international safety panels have never been shown to pose a health risk to the user (see answers to other questions on cell phone safety on this website). Secondly, placing any kind of shield over the antenna of a cell phone will in most cases cause it to increase its RF output as it attempts to compensate for signal loss in the shield and maintain a quality phone call. The U.S. Food and Drug Administration published an advisory on cell phones several years ago that said if you are concerned about risks of using a cell phone, then simply use it less. That is still good advice today. Gary Zeman, ScD, CHP Lawrence Berkeley National Laboratory

    Additional Information:



    Additional Information:

    Click the link to add information to this solution:
    ARE THERE PRODUCTS AVAILABLE TO THE GENERAL PUBLIC THAT CAN BE PURCHASED PROTECT CELLULAR OR PORTABLE TELEPHONE USERS FROM RADIATION? IF SO, WHERE THESE FOUND?

  • I PURCHASED YOUR BOOK TO BUILD A CNC ROUTER, THE PLAN DRAWINGS ARE INDECIPHERABLE AND TEXT WITH THEM IS ILLEGIBLE. THERE NOTE REFER MDF PARTS LAYOUT 1 PDF, 2 PDF PLANS & CUT LIST DOWNLOADABLE FROM THIS SITE. WHERE THEY CAN'T FIND THEM?

    Looks like you are trying to screw me out of $30 plus tax as there will be no pdf files forthcoming unless I shell out another $255. Unless you provide the pdf files I will be forced to seek return of funds and will be notifying VISA, GOOGLE PLAY and the BBB doing so until I get satisfaction. If you are not going to honor your book title by providing complete usable information you should remove your book from the market place, or offer it for free. At this point I don't know how you justify screwing your customers like this, but this one ain't going to take it laying down.

    Additional Information:
    Official Buildyourcnc response:
    Thanks for informing us of this issue. Have you looked at this part of the wabsite:
    https://www.buildyourcnc.com/Book.aspx

    The link to the "book" portion of the website is in the footer of every page of the website. If there is a problem with the pdf documents on any page of this portion of the website, please let me know here. Many thanks, Patrick Hood-Daniel

    Click the link to add information to this solution:
    I PURCHASED YOUR BOOK TO BUILD A CNC ROUTER, THE PLAN DRAWINGS ARE INDECIPHERABLE AND TEXT WITH THEM IS ILLEGIBLE. THERE NOTE REFER MDF PARTS LAYOUT 1 PDF, 2 PDF PLANS & CUT LIST DOWNLOADABLE FROM THIS SITE. WHERE THEY CAN'T FIND THEM?

  • SIGNAL AND 5V POWER WIRING DIAGRAM FOR RELAY USB BR ABOUT BOARD.

    Here is the wiring diagram for the MAch3 USB breakout board:
    https://www.buildyourcnc.com/Documents/Electric%20Wiring%20Diagram.pdf

    You will need 24 volt relays for the output on that board since that side of the board requires 24 volt power at the V+ and V-

    Customer Response:
    My inquiry is for the Planet CNC USB and 5v relays.
    I am 99% finished with my 2 axis lathe build and this is the last item for me to conquer.
    I want to control power to router, and vacuum with the BOB going through the 5V relays purchased on this site.
    Thanks again.

    Using the Mist, spindle or flood pins...

    Buildyourcnc response:
    There is an IN, GND and 5V for the digital side to engage the relay. There is an S, O and P for the power line of the device to be controlled.

    The 5V and GND must be connected to the 5V and GND from the USB board. The IN is the wire from the output terminal (i.e. mist, flood, spindle).

    For the power side, here are the scenarios:
    - P to O connection is normally open
    - P to S connection is normally closed

    So, if you have the power wire that would plug into the wall, the L "black" wire from the power cord will pass through this part of the circuit (cutting the wire and one end in the P terminal and the other end in the O or S terminal). Generally, the P to O is used as this connection is normally open and when the relay is engaged, the circuit will close allowing the current to flow through that wire.

    Click the link to add information to this solution:
    SIGNAL AND 5V POWER WIRING DIAGRAM FOR RELAY USB BR ABOUT BOARD.

  • I am missing the wiring information for the 1.5kw spindle, my electrician says I need documentation for the 4 prong connector into the VFD

    You can find wiring diagrams and illustrations for the spindle on this page: https://buildyourcnc.com/item/spindle-inverter-2!2kw-spindle-novfd

    This information pertains to the 2.2 kW spindle; however, the wiring is the same for the other spindles as well.

    Click the link to add information to this solution:
    I am missing the wiring information for the 1.5kw spindle, my electrician says I need documentation for the 4 prong connector into the VFD

Get Help with:
This Product
Orders
Tech Support
Sales
This Product
Order Query
Tech Support
Sales
Not logged in. Log In Register
Track Order(s)
View Order(s)
I Want to Schecule a One-On-One Paid Tech Support Session
Book an Appointment Pertaining to a BuildYourCNC Product (Free)
Ask a Quesion Below (Free):
Book an Appointment Pertaining Other Equipment ($60/half hour)
Book an Immedite Appointment Pertaining Other Equipment ($120/half hour)
Ask a Quesion Below (Free):
Waiting for response... I may not answer immediately, but I was notified on my cellular phone so my response is forthcoming. If I don't respond immediately, you can always go to the [My Account] page to see all of our chats at any time.