[ Log In ]
[ Register ]

Question #: 14274

Question: Please send a diagram of connections for pokeys57cnc to YL-620 VFD for Mach4

Current Solution

When you install Mach4 and use the Pokeys57cnc, you will use the plug-in provided by Polabs.

You can get this plug-in here:
https://www.poscope.com/product/pokeys57cnc/

The Pokeys57cnc has a 0-10V output pin (a pulse width modulated (PWM) output pin) labeled onthe diagram as pin 17. You can see this pin at the top of the diagram here:
https://buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach4-mach3-USB-ethernet-Board

In Mach4, you will need to set the spindle speed output top this pin #17. In the plug-in, set this pin at 10kHz.

Respond:

Other Possible Solutions to this Question

  • 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 add information to this solution:
    How do I conect the VFD of the spindle to the RS485 connections

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

  • [50] I purchased 3 Axis Heavy Gantry Electronics /w Pokeys57CNC controller (Mach3 and 4 Compatible) and Cable Pack I plan to use Mach 3 do You have a wiring diagram Thanks
  • How can I connect the Pokeys57CNC controller to a DRV8825 / A4988 expansion board?

    The DRV8825 driver IC by TI (Texas Instruments) has two main connections called STEP and DIR. These are the two main connections that you need to use to connect to the Pokeys57CNC controller. You also need to connect the positive digital voltage pin (5V) from the Pokeys57CNC controller's motor connector to both the reset and sleep pins. The GND pin from the Pokeys57CNC motor connector is connected to the GND pin of the DRV8825 driver. The enable pin of the DRV88525 can remain unconnected.

    There is a trimmer potentiometer on the DRV8825 that can increase or decrease the amperage setting for the motor. Depending on the DRV8825 board you purchased, there may be two pads to determine the amp setting while turning the trimmer (in the voltage setting on your multimeter).

    The A1 and A2 is connected to one of the motor's coils and B1 and B2 is connected to the other motor's coil. There is a pin on the DRV8825 called VMOT that you will connect to the power supply (max 45VDC) and the GND pin next to the VMOT is the V- for the same power supply.

    I hope this helps. If not, please add additional information on this thread.

    Additional Information:
    I followed (to the best of my ability) the instructions provided to my original question, but I did not receive successful results. When I followed the instructions and connected the ground pin from the Pokeys57CNC motor connector to the DRV8825 / A4988 expansion board, it stops the communication between the Pokeys57CNC board & the motors 1-3 that I had working previously. The DRV8825 / A4988 expansion board will be the fourth driver I am connecting to the Pokeys57CNC. The previous three drivers are PoStep-60's if that helps understand the issue.

    Prior to hooking up the ground pin (I used pin 10 from the Pokeys57CNC motor connector) to the DRV8825 / A4988 expansion boards ground pin, I was able to see the power being applied via the red LED being illuminated on the DRV8825 board; after this new configuration the light is not turning on.

    With the new recommended setup, I used a heat shrink solder piece to add the shunt for the connection to the sleep pin. The connection to the sleep pin is where I believe my issues are stemming from. I must be connecting it to the incorrect pin (within the 9 pin layout on the DRV8825 / A4988 expansion board). Do you have any reference to the 9 pin pinout on the A4988 expansion board? I double checked the pinout provided on the Texas Instruments page, but it only gives clarity to the pinouts on the DRV8825 board itself. After reviewing their documentation, I tried connecting the 5v (pin 9 from the Pokeys57CNC motor connection that's split to connect with the reset pin on the DRV8825 / A4988) wire directly to the terminal on the DRV8825 board and that didn't work either.

    Any help or clarification you can provide would be greatly appreciated!

    Click the link to add information to this solution:
    How can I connect the Pokeys57CNC controller to a DRV8825 / A4988 expansion board?

  • On the YL600 VFD which connections are DCM, ACM, V1 & Forward?

    The DCM is DC common, or DC Ground which is used in conjunction with Forward (FWD, or FOR) to start the spindle in the forward direction.

    The ACM is the AC Common, or AC Ground (Alternating current, or in this case, a variable voltage for spindle speed). The ACM is used in conjunction with V1 to provide variable speed for the spindle.

    In order to use the terminals DCM/XGND, FOR/FWD, ACM/GND and V1/VI1, you will need to program the VFD to enable the terminals and disable the control panel.

    YL-600:
    Start/Stop - XGND or COM is paired with FWD or X4 (X5 for Reverse).
    Spindle Frequency: XGND or COM is paired with AI1 and uses a top end of 5VDC

    YL-620:
    Start/Stop - XGND is paired with FWD (REV for reverse)
    Spindle Frequency: GND (not XGND) and VI1.

    The Start/Stop portion of the control panel and terminals is separate from the spindle speed/frequency control panel and terminals. Each of these have a separate programming parameter.

    For the YL-600/620, the P00.01 parameter controls the source of the start/stop function.
    Settings for the P00.01 are:
    0: Control Panel is used and the terminals are disabled.
    1: Terminals are enabled and the Stop on the control panel is still enabled if needed.
    2: Terminals are enabled and the Stop on the control panel is disabled.
    3: Control is sourced from the MODBUS also specified as the RS-485 connection. This would be labeled as RX and TX (Receive and transmit) and uses the UART protocol (serial communication protocol). https://buildyourcnc.com/FAQ/13381 explains this in depth.

    Additional Information:
    DCM is Digital Common, ACM is Analog Common

    Click the link to add information to this solution:
    On the YL600 VFD which connections are DCM, ACM, V1 & Forward?

  • Tha answer did not help as I statement wrong diagram for the VFD I recived.

    Can you give me the model number on the VFD?

    Click the link to add information to this solution:
    Tha answer did not help as I statement wrong diagram for the VFD I recived.

  • Hi could you send me a copy of the manual for your 2.2Kw VFD

    Yes, please call us and we will send the manual to you.

    Click the link to add information to this solution:
    Hi could you send me a copy of the manual for your 2.2Kw VFD

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

    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:

    Click the link to add information to this solution:
    WHAT ARE THE OUTPUT INVERTER (VFD) CONNECTIONS TO SPINDLE?

  • 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

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

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

    Additional Information:

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

  • I need info on connecting my vfd to run via mach3. Any videos please? Thanks.

    I will be making a video on controlling the VFD via Mach3 shortly.

    Click the link to add information to this solution:
    I need info on connecting my vfd to run via mach3. Any videos please? Thanks.

  • Does the Pokeys57CNC controller support Auto-Squaring in Mach 4?

    Yes, PoKeys57CNC does support auto gantry squaring if both master and slave axes are equipped with home switches independently.

    Click the link to add information to this solution:
    Does the Pokeys57CNC controller support Auto-Squaring in Mach 4?

  • Does the Pokeys57CNC controller support Auto-Squaring in Mach 4?

    Yes, PoKeys57CNC does support auto gantry squaring if both master and slave axes are equipped with home switches independently.

    Click the link to add information to this solution:
    Does the Pokeys57CNC controller support Auto-Squaring in Mach 4?

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

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

    Click the link to add information to this solution:
    purchased assembled greenbull with electronics, need wiring diagram from rs485/breakout to VFD 110 v

  • CAN YOU PLEASE TELL ME THE AVAILABILITY OF 12X36 BLUE CHICK 4.2, AND COST FOR SHIPPING TO ZIP 72802 IN RUSSELLVILLE, ARKANSAS?

    Yes, the blueChick kits are available. You can get the shipping rates automatically in the shopping cart. There will be a calculate shipping button on the enter shipping information section of the shopping cart.

    Click the link to add information to this solution:
    CAN YOU PLEASE TELL ME THE AVAILABILITY OF 12X36 BLUE CHICK 4.2, AND COST FOR SHIPPING TO ZIP 72802 IN RUSSELLVILLE, ARKANSAS?

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

  • Is there a way to use Mach4 to control my VFD?

    The best way to determine how to control your VFD using Mach4 is to read the MAch4 manual found here:
    http://www.machsupport.com/wp-content/uploads/2014/05/Mach4%20Installation%20Manual.pdf

    You will find that there a a few ways to control the spindle/VFD on your CNC machine or CNC Router.
    - The first and easiest is to have your VFD's power controlled by a relay. This will allow your spindle to have on/off control through Mach4 with an output pin.
    - The second is to have a controller output a DAC voltage between 0-10 volts to control speed on the VFD/Spindle. There is a termial on the VFD to receive this signal line. The controller will also have an output that outputs a high or low and that can control the on/off on the VFD.
    - The third, and more difficult of the three methods is to use a USB to Serial adapter (USB to USART or RS-485). The Computer plugs into the adapter using a USB cable and the adapter uses the RX/TX to connect to the VFD's terminals for communication. This will provide a great amount of control. Mach4 will need a plug-in to make this option work.

    Click the link to add information to this solution:
    Is there a way to use Mach4 to control my VFD?

  • Hi I live in South Africa and want to know if i can buy a wiring and component diagram for the readleaf plug and play computer system?

    The best wiring diagram that can be used for the redLeaf and redSprout CNC computer system would be found on instruction #1 (datasheet for the breakout board) on this page: https://www.buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay

    Click the link to add information to this solution:
    Hi I live in South Africa and want to know if i can buy a wiring and component diagram for the readleaf plug and play computer system?

  • Hi I live in South Africa and want to know if i can buy a wiring and component diagram for the readleaf plug and play computer system?

    The best wiring diagram that can be used for the redLeaf and redSprout CNC computer system would be found on instruction #1 (datasheet for the breakout board) on this page: https://www.buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay

    Click the link to add information to this solution:
    Hi I live in South Africa and want to know if i can buy a wiring and component diagram for the readleaf plug and play computer system?

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.