[ Log In ]
[ Register ]

Question #: 13383

Question: how do I connect my spindle to mach3 so mach3 can control it

Current Solution

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?

Respond:

Other Possible Solutions to this Question

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

  • Hey ! I have purchased a VFD with matching spindle 1.5kW and control program UCCNC. And my interface card is DB25, the question is how do I connect the VFD to DB25 so that I can control the speed with 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. And my interface card is DB25, the question is how do I connect the VFD to DB25 so that I can control the speed with UCCNC? Sincerely "cnc beginners"

  • HOW TO CONTROL MY 2.2 KW SPINDLE VIA MACH3

    You can go to our instructions on for the breakout board here: http://www.buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay to get the information on turning the spindle on and off from the computer and mach3. Alternatively, you can connect the computer using RS485 serial to the inverter and send control commands that way.

    Additional Information:
    HOW TO CONTROL MY 2.2 KW SPINDLE VIA MACH3 usb

    Additional Information:


    Additional Information:


    Additional Information:
    How should I wire the Mach3 card (red, 4 axis) and the vfd (Yl620-a)?

    Additional Information:



    Additional Information:



    Additional Information:

    Click the link to add information to this solution:
    HOW TO CONTROL MY 2.2 KW SPINDLE VIA MACH3

  • HOW MUCH SILICONE TUBE DO I NEED FOR A GREEN LEAN TO CONNECT THE SPINDLE

    The greenlean requires 56 feet of 1/4 Inside Diameter and 3/8 Outside Diameter silicon tube for the spindle.

    Additional Information:
    20

    Additional Information:
    20

    Click the link to add information to this solution:
    HOW MUCH SILICONE TUBE DO I NEED FOR A GREEN LEAN TO CONNECT THE SPINDLE

  • How can I make LinuxCNC control a spindle?

    LinuxCNC has excellent documents; however, I would like to offer our help in case you don't understand the information on that page. So, please use this FAQ (Question #: 13233) to state your questions by submitting additional information below.

    The LinuxCNC spindle control page is found here: http://linuxcnc.org/docs/html/examples/spindle.html

    Additional Information:
    After reading the LinuxCNC page my first questions would be can the spindle be controlled by PWM signal? Also, what pin on the parallel port would I set to Spindle Enable and FRW?

    Additional Information:
    To connect your computer to the VFD, use a USB to RS-485 interface. RS-485 is just a serial interface protocol that uses standard 0 to +5 voltage TTL signal levels for communication (as opposed to RS-232 which uses -12v and +12 for signal level changes).

    Get a high quality interface to reduce any issues during the process. The VFD should have two terminals labeled RS+ and RS-. The USB to RS-485 adapter should have this labeled on it as well so the connections should be relatively straight forward.

    In the VFD parameters:
    PD001: 2 to accept RS485 commands
    PD002: 2 to accept frequency comands
    PD163: 1 to RS485 slave address:1
    PD164: 1 RS485 baud rate 9600
    PD165: 3 8bit, no parity, 1 stop bit

    Make sure LinuxCNC is also set accordingly:

    The PIN14 and PIN16 in the stepconf wizard should be set to unused because you don't want LinuxCNC to be outputting unnecessary signals.

    In the options step of the stepconf wizard:
    - Check the Include Halui user interface component.
    - Check the Include custom PyVCP GUI panel.
    - Check Spindle speed display

    You will want to edit the custom.hal text file located in the folder that was created from the stepconf wizard. Add these following lines:
    loadusr -Wn vfd hy_vfd -n vfd -d /dev/ttyUSB0 -p none -r 9600
    net spindle-cmd-rpm-abs => vfd.speed-command
    net spindle-cw motion.spindle-forward => vfd.spindle-forward
    net spindle-ccw motion.spindle-reverse => vfd.spindle-reverse
    net on motion.spindle-on => vfd.spindle-on

    The dev folder in linux is typically used for interfacing devices and peripherals to the computer as these devices are communicated by simple memory addresses and these files are linked directly to these addresses.

    Under the custom_postgui.hal file, change this line:

    from: sets spindle-at-speed true
    to: net spindle-at-speed => cfd.spindle_at_speed

    and add the line:

    setp vfd.enable 1

    When you start LinuxCNC, you will a spindle section with the reverse and forward buttons, a stop button and - and + buttons. Use these buttons to conform that the spindle is functioning properly. The spindle speed indicator in LinuxCNC will show the spindle speed and you can confirm that this is equal to the speed indicated on the VFD.


    Credit for this helpful information goes to:


    Additional information was also added by us to provide a better understanding.

    Click the link to add information to this solution:
    How can I make LinuxCNC control a spindle?

  • I HAVE YOUR MACH3 USB BOB, DO YOU GUYS SELL A TORCH CONTROL RELAY CAN WIRE UP TO TURN MY PLASMA ON AND OFF HOW WOULD WIFE THAT TOO THIS BOB?

    We do have a relay board that words like a standard relay.

    Here is the URL of the relay board that we offer:

    https://www.buildyourcnc.com/item/electronicsAndMotors-breakout-Relays-relay-board-250V-12A-5V

    Click the link to add information to this solution:
    I HAVE YOUR MACH3 USB BOB, DO YOU GUYS SELL A TORCH CONTROL RELAY CAN WIRE UP TO TURN MY PLASMA ON AND OFF HOW WOULD WIFE THAT TOO THIS BOB?

  • How can I connect an inductive proximity sensor to the Mach3 USB controller?

    I would suggest using the NPN proximity sensor for the Mach3 USB or the Pokeys57cnc. The proximity sensors have a top DC voltage limit of 30 volts, so it would be best to use the 24V power supply that is used to power the controller. Both controllers have a 24V power requirement, so that is convenient.

    The blue wire of the proximity sensor is the GND wire and is connected to the 24V power supply's V- terminal. The brown wire is the positive wire and is connected to the V+ terminal of the 24V power supply. The black wire is the signal wire and is connected to the input terminal of the controller.

    Click the link to add information to this solution:
    How can I connect an inductive proximity sensor to the Mach3 USB controller?

  • It is possible to control externally the 1.5kW Inverter (VFD) (220 Volt) with PWM so i can control the spindle rotation? Do you have the documentation? Thank you

    Our spindle VFD's, have a multitude of different connectors that can be used for different operations. There is a manual that comes with each VFD, and you can refer to page 11 for different functions and descriptions.

    We currently have a PWM, working with our machine, however it is connected via USB, and setup through Mach 3.
    Also if you may have misplaced or lost the manual here is a link to the pdf:

    (https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCAQFjAAahUKEwibxaaIndTHAhXQlogKHZVyDFE&url=http%3A%2F%2Fwww.c-n-c.cz%2Fdownload%2Ffile.php%3Fid%3D42252&ei=_cHkVdvSC9CtogSV5bGIBQ&usg=AFQjCNHTQcxs-KhJkvkhMdxVFPzkoYJtsA&sig2=JAcZawTGMuC-t4wmn1z-rA)

    Click the link to add information to this solution:
    It is possible to control externally the 1.5kW Inverter (VFD) (220 Volt) with PWM so i can control the spindle rotation? Do you have the documentation? Thank you

  • I have your mach3 USB BoB, do you guys sell a torch control relay I can wire up to turn my plasma torch on and off and how I would wife that too this BoB?
  • I HAVE THE REDFLY SYSTEM AND A 2.2KW SPINDLE - 110V HOW DO CONNECT SPINDAL?

    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:
    I HAVE THE REDFLY SYSTEM AND A 2.2KW SPINDLE - 110V HOW DO CONNECT SPINDAL?

  • How should I control a plasma torch, spindle and a laser on my CNC machine?

    It will depend on how you configure the machine to use the Laser and plasma. Is the laser on a separate gantry? That will determine the way you will connect the laser control system or if you use a typical CNC controller. The plasma will need inputs of THC on, THC up, THC down and outputs to trigger the plasma torch. I recommend the Pokeys57CNC for the plasma and you can also fire the laser with it, but you will not be able to do engraving with the laser unless you use a laser controller. If you use a laser controller, you will need to either build circuitry to switch the digital signals from which controller you will be using, or if you have the laser on a separate gantry, you can use a traditional laser controller connected to the stepper motor drivers on that gantry.

    Users response:
    I was planing on using same gantry, and installing plasma and laser module on z axis along the side with current router. Perhaps if it’s needed installing another z axis on current z axis. So that when I use plasma, router z will be homed and plasma z axis will be able to utilize thc.

    When you say “If you use a laser controller, you will need to either build circuitry to switch the digital signals from which controller you will be using,”
    If i install laser controller, pokeys and router motion card, do you mean all ( axis and router/laser/plasma) signals or just the one that controls router/laser/plasma?
    I was wondering if I could jump (parallel connect) axis signals from card to card without ?
    Also do you prefer ethernet card or usb?
    I really do appreciate your help :) thanx again.

    Buildyourcnc response:
    Not a problem at all.

    Remember that with all of that weight on the z-axis, you will not be able to do efficient raster style engraving.

    By putting the laser on another gantry, say at the far end of the table, then you would be able to use a laser controller that controls its own stepper motors and the nozzle can have fast swing motion for engraving. With the laser on the z-axis of the spindle (like see on the greenBull), you will only be able to do vector motions for the laser.

    You can also have a CNC interface and laser controller controlling the same stepper motor drivers, but you will need a few tri-state buffer chips where you can use a toggle switch for which controller has control of the drivers.

    Click the link to add information to this solution:
    How should I control a plasma torch, spindle and a laser on my CNC machine?

  • WHAT ELECTRICAL CABLE DO I USE TO CONNECT VFD INVERTER SPINDLE?

    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:


    Additional Information:



    Additional Information:



    Additional Information:

    Click the link to add information to this solution:
    WHAT ELECTRICAL CABLE DO I USE TO CONNECT VFD INVERTER SPINDLE?

  • I have the redFly system and a 2.2kW Spindle - 110V how do i connect the spindal?

    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:
    I have the redFly system and a 2.2kW Spindle - 110V how do i connect the spindal?

  • I have the redFly system and a 2.2kW Spindle - 110V how do i connect the spindal?

    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:
    I have the redFly system and a 2.2kW Spindle - 110V how do i connect the spindal?

  • How can I connect my pc to my motor drivers and motors?

    All you need is a CNC controller like the following options:

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

    This controller is easy to connect using standard wire screw terminals and works with the mach3 control software.

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

    This controller is a little bit more difficult to connect, but is a more feature-rich controller and will work with both mach3 and mach4 CNC control software titles.

    Specifically, a CNC controller connects to the computer via a USB cable and connects to the motor drivers. These controllers also connect to the limit switches, spindle/router control, air/fluid/mist control, etc.

    Click the link to add information to this solution:
    How can I connect my pc to my motor drivers and motors?

  • Can the spindle be controlled with a PWM signal or analog signal? Which pin do I assign the spindle control to in LinuxCNC?

    The Spindle can be controlled with either analog (Like with a DAC card) or PWM.

    If your spindle speed is controlled by an analog signal, (for example, by a VFD with a 0 to 10 volt signal) and you’re using a DAC card like the m5i20 to output the control signal:

    First you need to figure the scale of spindle speed to control signal. For this example the spindle top speed of 5000 RPM is equal to 10 volts.

    10 volts / 5000 RPM = .002 volts / 1 RPM

    If you need a spindle enable signal, link your output pin to motion.spindle-on. To link these pins to a parallel port pin put something like the following in your .hal file (net spindle-enable motion.spindle-on => parport.0.pin-14-out), making sure you pick the pin that is connected to your control device.

    Click the link to add information to this solution:
    Can the spindle be controlled with a PWM signal or analog signal? Which pin do I assign the spindle control to in LinuxCNC?

  • HOW TO CONNECT THE SPINDLE INVERTER?

    U - Pin1
    V - Pin2
    W - Pin3
    Pin4 Dead

    Additional Information:
    My home made cnc is a big problem with my NC connection. When in start my spindle it will be gone wrong. It will be limith switch problem anytime. Need help thanks.

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

  • How do I connect the outputs on the Mach3 USB motion card?

    A 24V connection to the USB motion card is only needed if you are using limit switches (inputs), powering the spindle/VFD speed and direction, and for the outputs, for powering other devices (mist, coolant, etc.).

    If you are using a VFD (Variable Frequency Drive, also called Inverter) for a spindle, they typically have a 24V out terminal that can be used with our USB motion card. If you are not using a spindle/VFD (we highly recommend one), then you will need to purchase a 24v power supply to power that side of the board.

    The outputs mentioned above are to connect to external devices and will require a relay (a mechanical switch that is controlled by a digital signal). This mechanical switch can turn on a device like coolant and mist, or even a router, if you are using one. A relay is required to turn on these devices because the devices are typically higher voltage, like mains (110v or 220v). So, a relay can turn on or off a high voltage device with a lower voltage (24v) signal.

    Click the link to add information to this solution:
    How do I connect the outputs on the Mach3 USB motion card?

  • How do I connect the outputs on the USB motion card for Mach3?

    A 24V connection to the USB motion card is only needed if you are using limit switches (inputs), powering the spindle/VFD speed and direction, and for the outputs, for powering other devices (mist, coolant, etc.).

    If you are using a VFD (Variable Frequency Drive, also called Inverter) for a spindle, they typically have a 24V out terminal that can be used with our USB motion card. If you are not using a spindle/VFD (we highly recommend one), then you will need to purchase a 24v power supply to power that side of the board.

    The outputs mentioned above are to connect to external devices and will require a relay (a mechanical switch that is controlled by a digital signal). This mechanical switch can turn on a device like coolant and mist, or even a router, if you are using one. A relay is required to turn on these devices because the devices are typically higher voltage, like mains (110v or 220v). So, a relay can turn on or off a high voltage device with a lower voltage (24v) signal.

    Click the link to add information to this solution:
    How do I connect the outputs on the USB motion card for Mach3?

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.