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

Question #: 13812

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

Current Solution

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.

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.

    Additional Information:

    Click the link to respond:
    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?

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

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

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

    Additional Information:


    Additional Information:


    Additional Information:

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

  • WHAT'S THE DIFFERENCE BETWEEN PARALLEL BREAKOUT BOARD AND USB ITERFACE?

    The parallel (printer cable) port is uses the computer as its main source of pulse trains to operate the motor driver directly. Parallel ports are a direct connection from the processor commonly referred to as GPIO pins (General Purpose I/O pins) and provides a convenient and powerful way to interface with the computer. The parallel breakout board is included in those kits only to condition those signals for use with the drivers.

    The USB serves at the actual controller, sending the pulse trains, but the computer sends simple human readable instructions to the USB controller to tell the controller how to send pulses.

    The non-technical differences that may serve as the most important information to you is that the parallel configurations allow for a wider variety of industry standard software that can be used to control the cnc machine. The USB that we offer requires the operator to use a software called Planet-CNC software which is a very well made and feature full cnc control software.

    Additional Information:


    Additional Information:

    Click the link to respond:
    WHAT'S THE DIFFERENCE BETWEEN PARALLEL BREAKOUT BOARD AND USB ITERFACE?

  • Breakout Board with Relay. What is the USB connection on this board for? Does this board Still require a 5v power supply?

    We generally use the USB to power the interface (breakout board). The current from the computer is sufficient to supply the breakout board.

    Click the link to respond:
    Breakout Board with Relay. What is the USB connection on this board for? Does this board Still require a 5v power supply?

  • I have a breakout board and it appears that the pin 12 connection has failed: when i move my limit switches to pin 11 they work; they don't work on pin 12. Do i need a new breakout board?

    For safety's sake I would recommend a new board because they are inexpensive compared to the electronics that they support. Alternatively, it's possible that the one dead pin is a simple fix, such as a bad connection or solder joint; if you feel comfortable making those repairs then it could be worthwhile to check. Finally, if you are not using all the input pins, you could continue to operate the limit switch on pin 11 and hope for the best.

    Click the link to respond:
    I have a breakout board and it appears that the pin 12 connection has failed: when i move my limit switches to pin 11 they work; they don't work on pin 12. Do i need a new breakout board?

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

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

  • HOW DO I WIRE FROM THE BREAKOUT BOARD TO DRIVER?

    CP+ to COM
    CP- to STEP
    CP+ to CW+ (small jumper wire)
    CW- to DIR

    Additional Information:
    If the driver does not have CP or CW labels, the CP is Step and the CW is Direction or DIR. If you connect the 5v to CP+ (or Step+) and CW+ (or DIR+) and the pin to CP- (or Step-) and another pin to CW- (or DIR-), then in software, the configuration for the step on that axis must be active low. Otherwise, if you connect the GND to CP- (or Step-) and CW- (or DIR-) and the pin to CP+ (or Step+) and another pin to CW+ (or DIR+), then in software, the configuration for the step on that axis must be active high.

    Additional Information:
    If you have a driver that is labeled pul, dir and ena: Pul+ is the Step+ and Pul- is the Step-. Pul is short for pulse. A pulse will create a step. Don't worry about the enable terminals.

    On the x-axis, pin #2 can go to pul- and pin #3 can go to dir-. The 5v will go to pul+ and dir+. The configuration for each axis for step will be active low and toggle active low for the dir on each axis to make it go in the direction desired.

    Additional Information:


    Additional Information:


    Additional Information:


    Additional Information:

    Click the link to respond:
    HOW DO I WIRE FROM THE BREAKOUT BOARD TO DRIVER?

  • Installing THC to my limit ports on the breakout board. Once wired how do I get Mach 3 to reconize the port?

    Getting continuity from the x--/x++ might not mean it is a faulty board, unless they are bridged, so both get a pulse rather than one. But to check if you might have a opposite connection for those input:
    Planet-cnc/file/settings/input/invert inputs/input 1/input 2.

    Additional Information:
    In input port section in config. Scroll down and you will see THC On, Up and Down. Enter your input pin numbers there.

    Click the link to respond:
    Installing THC to my limit ports on the breakout board. Once wired how do I get Mach 3 to reconize the port?

  • I have your breakout board with relay parallel port , how can I wire up a regular router to that board so I can control the router

    Here is how to connect your router to the parallel breakout board through the on-board relay. You will need a spare extension cord. You will need to remove a portion of the outer jacket of the extension cord to expose the white, black and green wires (white = neutral, black = live and green = ground), understanding that the neutral and live create the completed circuit.

    See this image of a similar connection. The terminal has the same connections.
    https://www.buildyourcnc.com/images/vacuum-pressure-controller-relay-terminals-700.JPG

    Image of the relay terminal:
    https://www.buildyourcnc.com/images/breakoutboardrelayNONC.PNG

    The live/black wire would be cut and one end of the cut would be secured into the P terminal and the other cut end would be secured into the S terminal. The live and ground wire would be uncut and travel from the plug to the router.


    Additional Information:
    You can also connect other high powered devices to the breakout board using any of the output terminals. You will need to supply extra relays like the one shown here:
    https://www.buildyourcnc.com/item/electronicsAndMotors-breakout-Relays-relay-board-250V-12A-5V

    Or you can find SSRs (Solid State Relays) that will accept 5v to drive the relay coil. Make sure the SSR will protect the 5V line from Back EMF as there is a coil in the relay. The one we sell contains a fly-back diode to protect the 5v terminal.

    Click the link to respond:
    I have your breakout board with relay parallel port , how can I wire up a regular router to that board so I can control the router

  • What power supply do you recommend for the spindle and limit switches if I buy the USB Mach3 breakout board?

    Any of the following power supplies will be fine for powering the Mach3 USB controller:
    https://www.buildyourcnc.com/item/24v

    however, the limit switches do not need high current, so the following power supply is sufficient for the task of connecting limit switches:
    https://www.buildyourcnc.com/item/electronicsAndMotors-power-supply-24v-1a-dc

    Click the link to respond:
    What power supply do you recommend for the spindle and limit switches if I buy the USB Mach3 breakout board?

  • How do I wire up multiple E-stop to breakout board, does each E-stop need there own pin? If not since there are only 4 screws on stop 2 for no and 2 for nc do you just splice the wires together if your only using 1 pin? Thanks
  • My computer doesn't have a parallel port connection. Can I use a usb to parallel port cable to communicate with my breakout board?

    A parallel to USB adapter will not work. You will need to use a USB interface like the ones below:

    Mach3 USB interface:
    https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

    Poeys57CNC Interface:
    https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach4-mach3-USB-ethernet-Board

    Additional Information:
    To answer the question in more detail, the parallel port is actually an extension straight from the CPU and is also called the GPIO (General Purpose I/O) pins. These pins carry signals independently, hence the description as being a parallel port.

    The stepper motor driver receives a pulse train (series of pulses). A single pin on the parallel port sends a pulse train to one stepper motor driver and stepper motor for a single axis. Another pin on the parallel port sends a pulse train to another stepper motor driver on another axis. This happens simultaneously as with the direction signals for each axis.

    If a parallel port is adapted through a USB (using an adapter), the parallel port cannot have these signals happen in a simultaneous fashion and will cause the stepper motors of a CNC router or machine to be very clunky, if it works at all. To elaborate, the computer sends an instruction to the USB to send a high signal to pin 1, so it does, then another signal to pin 2, so it does. This is happening one after another. The speed at which this happens is reduced dramatically, and the position of one axis may now be out of sync to another axis.

    The reason the USB interfaces (linked above) work is that the USB delivers broad instructions to the interface (to a microcontroller) and the interface parses the instructions and outputs simultaneous signals to the stepper motor drivers.

    Hope this helps.

    Click the link to respond:
    My computer doesn't have a parallel port connection. Can I use a usb to parallel port cable to communicate with my breakout board?

  • Can you control the spped of the 2.2 KW spindle using the breakout board and Mach3 soft ware?

    Yes, you can control the speed of the 2.2 kW spindle, and the other spindles we sell, through Mach3 software. It requires making some changes to the settings in Mach3 and in your inverter. It also requires an additional part, which is called a USB to Serial Converter, found on our site here:

    https://www.buildyourcnc.com/item/Interfaces-newbiehack-Interfaces-TTL232R-USB-UART-Serial

    I have some additional instructions, that I will send upon request, by email. I will also be adding a complete tutorial and video, to the website, on how to do this soon.

    Additional Information:
    20

    Click the link to respond:
    Can you control the spped of the 2.2 KW spindle using the breakout board and Mach3 soft ware?

  • I have an issue about the breakout board , i can't understand why i get ( -5V) instead of ( +5V) when i measure the voltage between the "Dir" pin and " com" pin

    It sounds like the meter red and black wires are being switched around. The breakout board should not be giving you a -5 volts. The voltages should be in the range of 0 and 5 volts. The voltages will change when you move the axis in one direction or the other.

    Click the link to respond:
    I have an issue about the breakout board , i can't understand why i get ( -5V) instead of ( +5V) when i measure the voltage between the "Dir" pin and " com" pin

  • hi i think i have a faulty mk1 breakout board im having a problem with my limit ports before even adding any wires to the board am getting continuity between the x-- and the x++ pins is this normal or is my board faulty thanks.

    Getting continuity from the x--/x++ might not mean it is a faulty board, unless they are bridged, so both get a pulse rather than one. But to check if you might have a opposite connection for those input:
    Planet-cnc/file/settings/input/invert inputs/input 1/input 2.

    Additional Information:
    In input port section in config. Scroll down and you will see THC On, Up and Down. Enter your input pin numbers there.

    Click the link to respond:
    hi i think i have a faulty mk1 breakout board im having a problem with my limit ports before even adding any wires to the board am getting continuity between the x-- and the x++ pins is this normal or is my board faulty thanks.

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

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

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

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

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

    Additional Information:


    Additional Information:
    wiring diagram at spindle top


    Additional Information:

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