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

Question #: 13619

Question: need wiring diagram from rs485/breakout to VFD 110 v serial modbus

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.

Respond:

Other Possible Solutions to this Question

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

    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:
    purchased assembled greenbull with electronics, need wiring diagram from rs485/breakout to VFD 110 v

  • 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 need wiring diagram to wire two nema motors parallel

    To move two stepper motors simultaneously with the same signal, simply wire the two stepper motor drivers to the same interface board signal terminals (CP and CW).

    Additional Information:
    using a ardino uno controller and a cnc sheild on top of that how to wirer 2 motors to 1 axis its the x axis ?

    Click the link to respond:
    I need wiring diagram to wire two nema motors parallel

  • Need wiring diagram for new still usb motion control for limit emergency shut down and auto zero

    The Mach3 USB controller's wiring diagram, wiring instructions, manual and video instructions are located on tis page:
    https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

    Click the link to respond:
    Need wiring diagram for new still usb motion control for limit emergency shut down and auto zero

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

    Additional Information:
    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

  • I need wiring diagram for motor to driver to usb motion card. I cannot find diagram. I have been unable to get information for a week.
  • 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.

  • Where are the wiring diagrams for the blackTooth laser cutter?

    You can find the wiring diagrams for the blackTooth on step 105 and 106 on the list of instructions on the blackTooth page. Step 105 pertains to the parallel breakout board and step 106 pertains to the USB interface board.

    Additional Information:
    wire size

    Click the link to respond:
    Where are the wiring diagrams for the blackTooth laser cutter?

  • laser wont fire...double checked wiring and all seems correct to diagram

    Is there a test button on the laser tube power supply? You can test the laser output by using the test button. This will help you determine if the laser tube is bad, or if you have wiring issues. Sometimes, wiring to he TL may not work as some controllers are set to active low, so you may need to wire the controller to TH instead.

    Additional Information:
    Additionally, the mA on the high tension line does not have any relationship to the digital trigger signal from the controller to the power supply.

    Click the link to respond:
    laser wont fire...double checked wiring and all seems correct to diagram

  • WHERE ARE THE WIRING DIAGRAMS FOR BLACKTOOTH LASER CUTTER IN INSTRUCTIONS?

    You can find the wiring diagrams for the blackTooth on step 105 and 106 on the list of instructions on the blackTooth page. Step 105 pertains to the parallel breakout board and step 106 pertains to the USB interface board.

    Additional Information:
    wire size

    Click the link to respond:
    WHERE ARE THE WIRING DIAGRAMS FOR BLACKTOOTH LASER CUTTER IN INSTRUCTIONS?

  • 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 respond:
    SIGNAL AND 5V POWER WIRING DIAGRAM FOR RELAY USB BR ABOUT BOARD.

  • Do you have a wiring diagram for your breakout board and the SuperPID?

    It is not necessary for a wiring diagram for the breakout board to the SuperPID controller since you are only going to connect two wires from the breakout board output terminals of your choosing to the SuperPID controller. The only thing remaining is to configure Mach3 so that the spindle control section serves as the SuperPID controller.

    To setup this configuration in Mach3, go to your ports and pins dialog box (config menu -> ports and pins). Click on the spindle setup tab. In the Motor Control Section of the dialog, check the box for Use Spindle Motor Output and check the box for PWM control. Change the PWM Base Frequency to 50Hz.

    Click the link to respond:
    Do you have a wiring diagram for your breakout board and the SuperPID?

  • I have my motors wired like the wiring diagram I have two motors on Y axis how do I wire the second motor

    To move two stepper motors simultaneously with the same signal, simply wire the two stepper motor drivers to the same interface board signal terminals (CP and CW).

    Additional Information:
    using a ardino uno controller and a cnc sheild on top of that how to wirer 2 motors to 1 axis its the x axis ?

    Click the link to respond:
    I have my motors wired like the wiring diagram I have two motors on Y axis how do I wire the second motor

  • Signal and 5v power wiring diagram for 5v relay and 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 respond:
    Signal and 5v power wiring diagram for 5v relay and USB Br about board.

  • looking for wiring schematic for redleaf electronics to huijang yl600 VFD 110v, 2.2k, thanks!

    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:
    looking for wiring schematic for redleaf electronics to huijang yl600 VFD 110v, 2.2k, thanks!

  • laser wont fire using the trocen awc...double checked wiring and all seems correct to diagram

    Is there a test button on the laser tube power supply? You can test the laser output by using the test button. This will help you determine if the laser tube is bad, or if you have wiring issues. Sometimes, wiring to he TL may not work as some controllers are set to active low, so you may need to wire the controller to TH instead.

    Additional Information:
    Additionally, the mA on the high tension line does not have any relationship to the digital trigger signal from the controller to the power supply.

    Click the link to respond:
    laser wont fire using the trocen awc...double checked wiring and all seems correct to diagram

  • is everything included in the 4axis cnc kit to build a cnc control box like wires,connectors,wiring diagrams ect?

    The electronics combos come with stepping motor drivers, stepping motors, breakout board (interface between the computer and the drivers) and power supply. The electronic combos do not include the cable and wires since the mounting configuration can differ from application to application.

    The wiring diagrams are located on the product page for each product. For instance, to determine the wiring for the motors, go to the specific motor that you purchase and the datasheet will be available which will include the wiring configuration. The breakout board product page will contain the wiring diagram for the remaining electronics. You can also use the electronics videos found here (https://buildyourcnc.com/CNCElectronicsandWiring.aspx) to understand the best process to connect all of the electronics.

    Click the link to respond:
    is everything included in the 4axis cnc kit to build a cnc control box like wires,connectors,wiring diagrams ect?

  • Hi, whats the actual (with the fixed errata) laser electronic wiring diagram for the blacktooth? thank you

    Which wiring diagram are you specifically requesting? Due to your current model blackTooth? We currently have two wiring diagrams, Parallel Interface board (https://www.buildyourcnc.com/images/LaserWiringParallel.jpg) and the USB interface board (https://www.buildyourcnc.com/images/LaserWiringUSB.jpg). Also if you have the new model blackTooth with the control unit, we still do not currently have that wiring diagram in a document format!

    Click the link to respond:
    Hi, whats the actual (with the fixed errata) laser electronic wiring diagram for the blacktooth? thank you

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.