[ Log In ]
[ Register ]

Question #: 1027

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

Current Solution

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

Respond:

Other Possible Solutions to this Question

  • 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

  • WILL THE USB BREAKOUT BOARD WORK WITH MACH3?

    Sure, the USB interface has a place for 4 axes of limit switches.

    Each axis can have two limit switches: one for the ++ (positive) end and one for the -- (negative) end. The positive end would be the limit switch at the end of the machine that, say the machine has a 4'x8' area, reaches a bit after the 8 foot mark. The negative end would be the limit switch behind the 0 foot location behind the origin. If the origin is in the middle, the negative would be at a little more than the -4 foot end and the positive would be at a bit more than the +4 foot end. Note that you can have more than one switch on each pin where the NC is connected in serial fashion and the NO is connected in parallel fashion (this can be seen on the diagram in the multiple limits switch section). The software configurations for the limits switches are under File -> Settings -> Limit.

    A typical limit switch has three connections on it. These connections consist of COM (common), NC (normally closed) and NO (normally open). The COM would generally go to GND and the NC or the NO would go to the pin. If the NC is used, then the the switch is constantly connected until the switch is pushed (engaged) then the connection from the pin to gnd is broken (open). Use the settings in software to set whether in NC or NO configuration.

    Let me know if this information was helpful (or not) by adding information to this question. Thanks.

    User response:
    Thank you very much for this helpful information. I'm still a little fuzzy on how the 6 limit switches physically connect to each other and to the USB breakout board. You've stated one switch (home) goes to positive and another switch (limit) goes to negative. Are all the GND prongs from all 6 switches connected to each other and going to GND on the breakout board, or no? And the NC prongs, how exactly are they connected to each other? And to the board? There has to be a diagram somewhere shows this visually, no? I don't know how to wire the switches in series or in parallel. I have already physically installed all the switches on the machine and ran the wires to where the board is. Now I just need to know where to plug these wires into the board. Also, taking into consideration that I'm using the Planet CNC software, the only settings I have pertaining to limit switches is "Enable/Disable" for each axis, and the actual limit for each axis. Nothing about NC or NO. Is that only in Mach3?
    Thank you.

    buildyourcnc response:
    On the USB interface, the COM on the switch connects to GND and the NC or NO connects to the input pin (i.e. x++, y--, etc.)

    Limit switch configuration is rather difficult to understand, especially with series and parallel. You can think of series as a single wire going from GND to the axis letter input terminal (i.e. X++ or X--). If the wire is broken, then the circuit is open (or the switch is engaged in a normally closed scenario). Normally closed is like an actual wire, and when engaged, the switch "opens" (breaks the wire). This is why we recommend in some systems that you can put many switches in series on a single pin. When one of the switches is engaged (breaking the connection) then the entire circuit of switches is broken and the machine stops.

    In a parallel scenario, the state of the circuit is always broken until the one of the switches is engaged and the circuit is then closed or connected. The topology looks like a ladder. All the switches connect to both sides of the ladder and the switches are like the runs of the ladder (the horizontal bars that the feet are placed while climbing). Imagine all of the switches broken in this scenario (normally open). It would be like the ladder could be split in two, but if one of the ladder runs (switches) is closed by engaging it, then that run would connect both sides of the ladder and the two sides of the ladder would have a connection.

    There is a diagram on the USB page of the various limit switch configurations. If you need more information (visual and/or otherwise), please let us know and we will immediately add that information to benefit everyone.

    Click the link to add information to this solution:
    WILL THE USB BREAKOUT BOARD WORK WITH MACH3?

  • 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

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


    Additional Information:
    USB Motion controller breakout board work with planet cnc software?

    Click the link to add information to this solution:
    WHAT'S THE DIFFERENCE BETWEEN PARALLEL BREAKOUT BOARD AND USB ITERFACE?

  • WHATISTHE DIFFERENCE WTIH THE PARALLEL BREAKOUT BOARD AND USB BOARD?

    The parallel is the most versatile breakout board we have and will work with most of the software out there, but many computers are not equipped with parallel connectors anymore. Parallel adapter cards are available if you don't have a parallel connection on your computer.

    The USB interface must be used only with the planet-cnc software, which is great software, but you are still limited to only that software application. This is actually the least expensive option unless you use linux and go with the above option.

    Click the link to add information to this solution:
    WHATISTHE DIFFERENCE WTIH THE PARALLEL BREAKOUT BOARD AND USB BOARD?

  • 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 COMPLEX IS YOUR KIT TO ASSEMBLE, AND MOST IMPORTANTLY - HARD IT SETUP CONTROL THE LASER WITH MACH3?

    The blackTooth Laser cutter and Engraver can be built in a weekend. Take a look at the build instructions and try to determine if you feel you have sufficient capability to put together the laser system.

    Click the link to add information to this solution:
    HOW COMPLEX IS YOUR KIT TO ASSEMBLE, AND MOST IMPORTANTLY - HARD IT SETUP CONTROL THE LASER WITH MACH3?

  • Can the 2.2 KW water cooled spindle be fitted with a 1/2" chuck/collet ?

    Absolutely. You can have 1/2" collets used in 2.2kW spindles.

    Here is a link for the ER-20 1/2"ID Collet:
    https://www.buildyourcnc.com/item/spindle-collet-!5-er20-spindle-collet

    Click the link to add information to this solution:
    Can the 2.2 KW water cooled spindle be fitted with a 1/2" chuck/collet ?

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

  • MY COMPUTER DOES NOT HAVE A PARALLEL PORT. HOW DO I INTERFACE WITH THE BREAKOUT BOARD?

    If your computer does not have a parallel port, all you will need is a low cost PCI parallel adapter card (these can be found on amazon for $15-$20). If you plan on using a laptop (not recommended) you can try to find a PCMCIA parallel adapter, but many people have frequent issues with this setup. A more expensive solution would be to purchase a USB smooth stepper board. Unfortunately, we do not supply any of these adapters and cannot attest to their reliability.

    Additional Information:
    ur gay

    Additional Information:

    Click the link to add information to this solution:
    MY COMPUTER DOES NOT HAVE A PARALLEL PORT. HOW DO I INTERFACE WITH THE BREAKOUT BOARD?

  • Can you provide setting for the VFD setting for 110v US, 1.5kw 220v spindle?

    The configuration settings for our VFD's are these: VFD Setup:
    Change PD001 to '0' (source of run commands)
    Change PD003 to 300 (main frequency - Hz)
    Change PD004 to 300 (base frequency - Hz)
    Change PD005 to 400 (max operating frequency - Hz)
    Change PD006 to 2.5 (intermediate frequency - Hz)
    Change PD008 to 220 (max voltage - V)
    Change PD009 to 15 (intermediate voltage - V)
    Change PD010 to 8 (minimum voltage - V)
    Change PD011 to 100 (frequency lower limit - Hz)
    Change PD142 to 7 (rated motor current - Amps)
    Change PD143 to 2 (motor pole number)
    Change PD144 to 3000 (rated motor revolution)
    For further info please refer to (https://www.buildyourcnc.com/item/spindle-inverter-2!2kw-spindle-novfd#prettyPhoto) for wiring and other specifications.

    Click the link to add information to this solution:
    Can you provide setting for the VFD setting for 110v US, 1.5kw 220v spindle?

  • I HAVE A 2000 WK 11–3 Z LIMIT SWITCHES GOING TO C10R10 BREAKOUT BOARD . CAN ALSO USE THEM AS MY HOME POSITION WELL. NEED THE WIRING CONFIGURATION

    No, you should not have received two parallel breakout boards in your CNC kit. You can return the extra item using standard shipping with COD. Our apologies for the confusion and the inconvenience.

    I will answer the other question as another FAQ. Please check the Customer Service page to see the answer to that question.

    If you have difficulty finding the answer, here is a link:
    https://www.buildyourcnc.com/FAQ/13636

    Click the link to add information to this solution:
    I HAVE A 2000 WK 11–3 Z LIMIT SWITCHES GOING TO C10R10 BREAKOUT BOARD . CAN ALSO USE THEM AS MY HOME POSITION WELL. NEED THE WIRING CONFIGURATION

  • MACH3 CONTROL SPINDLE

    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:
    MACH3 CONTROL SPINDLE

  • I AM USING A XYLOTEX 3 AXIS BOARD AND WANT TO ADD ANOTHER MOTOR SLAVED THE X-AXIS. WILL DRIVE CW230 WORK?

    If the pins from the terminal block on the side of the board are outputs, or at least 2 of them are outputs, then you can connect our modular driver to the board (example: cw230). If they are all inputs, then you would not be able to connect an external driver.

    Click the link to add information to this solution:
    I AM USING A XYLOTEX 3 AXIS BOARD AND WANT TO ADD ANOTHER MOTOR SLAVED THE X-AXIS. WILL DRIVE CW230 WORK?

  • HOW DO I CONNECT A TOUCH PLATE TO THE BREAKOUT BOARD?

    The instructions on how to do this are found here, in these two videos, http://buildyourcnc.com/PrimeronHomingandLimitSwitches.aspx

    Additional Information:

    Click the link to add information to this solution:
    HOW DO I CONNECT A TOUCH PLATE TO THE BREAKOUT BOARD?

  • DO YOU SUPPLY THE MALE PORTION OF MOTOR CONTROL CABLES WITH REDLEAF?

    Yes and properly soldered.

    Additional Information:
    20

    Click the link to add information to this solution:
    DO YOU SUPPLY THE MALE PORTION OF MOTOR CONTROL CABLES WITH REDLEAF?

  • 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 add information to this solution:
    HOW DO I WIRE FROM THE BREAKOUT BOARD TO DRIVER?

  • What is the runout on the 2.5 KW spindle and how many bearings?

    The runout on our 2.2kW spindle and number of bearings are:
    Radial runout: 0.01mm - 0.000393701 inches, 3 Bearings


    Additional Information:



    Additional Information:



    Additional Information:

    Click the link to add information to this solution:
    What is the runout on the 2.5 KW spindle and how many bearings?

  • I am interested in buying the water cooled 2.2 KW spindle for $339, how much does it weigh?

    The weight of the 2.2kW spindle without the VFD (variable frequency drive or inverter) is 11 lbs or 5 kg.

    The 2.2kW spindle with the VFD is 15 lbs or 6.8 kg.

    Additional Information:

    Click the link to add information to this solution:
    I am interested in buying the water cooled 2.2 KW spindle for $339, how much does it weigh?

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.