[ Log In ]
[ Register ]

Question #: 13248

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

Current Solution

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.

Respond:

Other Possible Solutions to this Question

  • 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'VE BUFFERED A PWM SIGNAL TO 0-10V ANALOG AND I WOULD LIKE USE THAT RUN YOUR 110V 2.2KW SPINDLE VFD. COULD YOU PLEASE DETAIL THE CORRECT WIRING VFD SETTINGS GET WORKING?

    This will depend on the VFD you have to identify the correct terminal. The terminal on the VFD will be labeled AI1 typically (Analog Input #1). You will also need to make sure to complete the PWM circuit using the GND terminal on the VFD.

    Additional Information:
    I have wired my 0-10V signal to the AI1 and GND terminals as suggested. I have also set the PD-01 and PD-02 settings to 1. Still nothing. Is there something else that I am missing?

    Additional Information:
    Thanks for the information. Can you let me know the model of the VFD that you have?

    Additional Information:
    VFD Model # YL600-2S-2K20

    Additional Information:
    Thanks. I will check our resources and documentation to see if there is another programming setting that needs to be changed.

    Additional Information:
    Does your VFD have a VI terminal?

    Additional Information:
    No, it does not. The terminals for this VFD are as follows (seperated by dashes "-").

    10V-AI1-AO2-PLC-DI5-DI3-DI1-COM
    AI2-GND-AO1-DI6-DI4-DI2-FM-24V

    Additional Information:
    Do you have a PD070 parameter?

    PD070 is the main Analog Input parameter.

    The options for that parameter is:
    0: 0-10V
    1: 0-5V
    2: 0-20mA
    3: 4-20mA
    4: 0-10V (4-20mA Stacked)
    5: XIA
    6: (VI+XIA)/2
    7: (3VA+XIA)/4
    8: (XIA_XIB)/2
    9: Max (XIA, XIB)
    10: Min (XIA, XIB)


    Additional Information:
    There is a PD-00 thru PD-09. PD-07 is currently set to 0.

    Additional Information:
    It appears that the manual I’m using “Titled YL600” is not the same as your unit. I will check our manuals and find the one that has only PD-00 to PD-09.

    Additional Information:
    For that VFD, the parameters are P0. The 0 may look like a D on the display.

    The parameters that need to be changed for the AI1 to work (Brackets [] around the correct selection):

    P0-01: First Motor Control Mode
    - 0: Sensorless Vector Control
    - 1: Flux Vector Control (FVC)
    - [2]: V/F Control

    P0-02: Options of Command Source
    - 0: Operation Panel Command Channel (LED will be off)
    - [1]: Terminal Command Channel (LED will be on)
    - 2: Communication Command Channel (LED will flicker)

    P0-03: Options of Principle Frequency Source X
    - 0: Digital Setting (Preset Frequency P0-08, UP/DOWN modifiable, no power-down memory)
    - 1: Digital Setting (Preset Frequency P0-08, UP/DOWN modifiable, with power-down memory)
    - [2]: AI1
    - 3: AI2
    - 4: AI3
    - 5: Pulse Setting (DI5)
    - 6: Multi Speed Instruction
    - 7: Simple PLC
    - 8: PID (Proportional Integral Derivative Control)
    - 9: Communication Given

    P0-11: Upper Limit Frequency Source
    - 0: P0-12 (Make sure the P0-12 parameter has the correct max frequency if used)
    - [1]: AI1
    - 2: AI2
    - 3: AI3
    - 4: Pulse Setting
    - 5: Communication Given

    P0-27: Command Source Bundle with Frequency Sources
    Single Digit: Options of Operation Panel Command Bundle with Frequency Sources
    - 0: No Bundling
    - 1: Digital Setting Frequency
    - [2]: AI1
    - 3: AI2
    - 4: AI3
    - 5: Pulse Setting (DI5)
    - 6: Multi Speed Instruction
    - 7: Simple PLC
    - 8: PID
    - 9: Communication Given
    Double Digit: Options of Terminal Command Bundle with Frequency Sources
    Hundred Place: Options of Communication Command Bundle with Frequency Sources
    Kilobit: Options of Automatic Operation Bundle with Frequency Sources

    P2-09: Upper Limit Source of Lower Torque Under Speed Control Mode
    - 0: Function Code P2-10 Setting
    - [1]: AI1
    - 2: AI2
    - 3: AI3
    - 4: Pulse Setting
    - 5: Communication Given
    - 6: MIN (Al1, Al2)
    - 7: MAX (Al1, Al2)
    - Maximum range for options 1-7, accords with P2-10

    If you elect to use a different AI#, then configure the parameters (P0-03, P0-11, P0-27 and P2-09) accordingly.

    Click the link to add information to this solution:
    I'VE BUFFERED A PWM SIGNAL TO 0-10V ANALOG AND I WOULD LIKE USE THAT RUN YOUR 110V 2.2KW SPINDLE VFD. COULD YOU PLEASE DETAIL THE CORRECT WIRING VFD SETTINGS GET WORKING?

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

  • can I control the speed of a 2.2 spindle through your 5 axis breakout board with relay?

    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 add information to this solution:
    can I control the speed of a 2.2 spindle through your 5 axis breakout board with relay?

  • I can't seem to find information on spindle control via the breakout board. Can someone point me in the right direction?

    We currently can only control the On/Off of the spindle via Mach 3 and through our Parallel Interface Board. We have the listed instructions on our Parallel Interface Board webpage, will be a easy job that will included 2 wires (18-24g wire will be fine) from your inverter(VFD) to the location of your Parallel Interface Board.

    Parallel Interface Board webpage: https://buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay

    In regards to our USB Interface Board, we are currently working on a prototype board that will allow the same On/Off capability with Planet-CNC. Prototype Board currently not available as of yet.

    Click the link to add information to this solution:
    I can't seem to find information on spindle control via the breakout board. Can someone point me in the right direction?

  • I would like to build a low cost laser engraver/ cutter, can your 40w laser power supply be controlled with an arduino or is it only controlled by the controller sold here?

    You can control our 40W laser power supply (which controls the laser tube) with an Arduino, if that is your intention. The trigger for turning the laser on and off uses a 5V level. To control intensity, you can use the Arduino PWM output. If you want the Arduino to move the machine as well (providing pulse trains to each of the stepper motor drivers) then you will need to make sure you consider the processing speed of the Arduino so you will be able to run the stepper motors at the speed you need for the laser engraving/cutting.

    Our laser controller do all of these functions. Here is a link to our laser control system:
    https://www.buildyourcnc.com/item/Laser-Component-Laser-Control-System



    Additional Information:
    Thank you! I am building a 3 axis cnc/ engraver and I think this would be a good option as well as the router head and the 3d printing head. How heavy is the tube? I may mount it directly onto one of the axis of the machine to eliminate the need to line up all three axis, similar to what you have with your xl engraver.

    Additional Information:
    The tube isn't that heavy, but when filled with water, it can get up to a few pounds. The key is to use the axis moving the nozzle for engraving as this requires fast back and forth motion. The cutting is generally dependent on the axes moving from vector to vector at a relatively slow motion, so this is not a problem.

    Click the link to add information to this solution:
    I would like to build a low cost laser engraver/ cutter, can your 40w laser power supply be controlled with an arduino or is it only controlled by the controller sold here?

  • [575] I have the wiring and programming and parameters set the same way that you do in the spindle speed control and outputs videos, I can start and stop the spindle with mach3 but can't seem to control the speed. Can you think of solutions?

    Do you have an oscilloscope? You will be able to see the PWM signal and determine if the output is correct. Make sure that you are using the 10V from the VFD as the voltage reference for the 10V terminal on the Mach3 USB controller. The 10V terminal is an input, not an output on the Mach3 USB controller. The 10V is the top voltage signal level that the Mach3 USB controller uses for the PWM signals 100% duty cycle.

    Click the link to add information to this solution:
    [575] I have the wiring and programming and parameters set the same way that you do in the spindle speed control and outputs videos, I can start and stop the spindle with mach3 but can't seem to control the speed. Can you think of solutions?

  • I've buffered a PWM signal to a 0-10V analog signal and I would like to use that signal to run your 110V 2.2kW spindle and VFD. Could you please detail the correct wiring and VFD settings to get that working?

    This will depend on the VFD you have to identify the correct terminal. The terminal on the VFD will be labeled AI1 typically (Analog Input #1). You will also need to make sure to complete the PWM circuit using the GND terminal on the VFD.

    Additional Information:
    I have wired my 0-10V signal to the AI1 and GND terminals as suggested. I have also set the PD-01 and PD-02 settings to 1. Still nothing. Is there something else that I am missing?

    Additional Information:
    Thanks for the information. Can you let me know the model of the VFD that you have?

    Additional Information:
    VFD Model # YL600-2S-2K20

    Additional Information:
    Thanks. I will check our resources and documentation to see if there is another programming setting that needs to be changed.

    Additional Information:
    Does your VFD have a VI terminal?

    Additional Information:
    No, it does not. The terminals for this VFD are as follows (seperated by dashes "-").

    10V-AI1-AO2-PLC-DI5-DI3-DI1-COM
    AI2-GND-AO1-DI6-DI4-DI2-FM-24V

    Additional Information:
    Do you have a PD070 parameter?

    PD070 is the main Analog Input parameter.

    The options for that parameter is:
    0: 0-10V
    1: 0-5V
    2: 0-20mA
    3: 4-20mA
    4: 0-10V (4-20mA Stacked)
    5: XIA
    6: (VI+XIA)/2
    7: (3VA+XIA)/4
    8: (XIA_XIB)/2
    9: Max (XIA, XIB)
    10: Min (XIA, XIB)


    Additional Information:
    There is a PD-00 thru PD-09. PD-07 is currently set to 0.

    Additional Information:
    It appears that the manual I’m using “Titled YL600” is not the same as your unit. I will check our manuals and find the one that has only PD-00 to PD-09.

    Additional Information:
    For that VFD, the parameters are P0. The 0 may look like a D on the display.

    The parameters that need to be changed for the AI1 to work (Brackets [] around the correct selection):

    P0-01: First Motor Control Mode
    - 0: Sensorless Vector Control
    - 1: Flux Vector Control (FVC)
    - [2]: V/F Control

    P0-02: Options of Command Source
    - 0: Operation Panel Command Channel (LED will be off)
    - [1]: Terminal Command Channel (LED will be on)
    - 2: Communication Command Channel (LED will flicker)

    P0-03: Options of Principle Frequency Source X
    - 0: Digital Setting (Preset Frequency P0-08, UP/DOWN modifiable, no power-down memory)
    - 1: Digital Setting (Preset Frequency P0-08, UP/DOWN modifiable, with power-down memory)
    - [2]: AI1
    - 3: AI2
    - 4: AI3
    - 5: Pulse Setting (DI5)
    - 6: Multi Speed Instruction
    - 7: Simple PLC
    - 8: PID (Proportional Integral Derivative Control)
    - 9: Communication Given

    P0-11: Upper Limit Frequency Source
    - 0: P0-12 (Make sure the P0-12 parameter has the correct max frequency if used)
    - [1]: AI1
    - 2: AI2
    - 3: AI3
    - 4: Pulse Setting
    - 5: Communication Given

    P0-27: Command Source Bundle with Frequency Sources
    Single Digit: Options of Operation Panel Command Bundle with Frequency Sources
    - 0: No Bundling
    - 1: Digital Setting Frequency
    - [2]: AI1
    - 3: AI2
    - 4: AI3
    - 5: Pulse Setting (DI5)
    - 6: Multi Speed Instruction
    - 7: Simple PLC
    - 8: PID
    - 9: Communication Given
    Double Digit: Options of Terminal Command Bundle with Frequency Sources
    Hundred Place: Options of Communication Command Bundle with Frequency Sources
    Kilobit: Options of Automatic Operation Bundle with Frequency Sources

    P2-09: Upper Limit Source of Lower Torque Under Speed Control Mode
    - 0: Function Code P2-10 Setting
    - [1]: AI1
    - 2: AI2
    - 3: AI3
    - 4: Pulse Setting
    - 5: Communication Given
    - 6: MIN (Al1, Al2)
    - 7: MAX (Al1, Al2)
    - Maximum range for options 1-7, accords with P2-10

    If you elect to use a different AI#, then configure the parameters (P0-03, P0-11, P0-27 and P2-09) accordingly.

    Click the link to add information to this solution:
    I've buffered a PWM signal to a 0-10V analog signal and I would like to use that signal to run your 110V 2.2kW spindle and VFD. Could you please detail the correct wiring and VFD settings to get that working?

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

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

  • Are there plans to release a USB Controller to work with the Planet CNC Output Board for more advanced spindle control from within Planet CNC?

    At this time we are working to release a new USB controller board that will be compatible with Mach4 software and do not have any immediate plans to update the Planet-CNC USB board.

    Click the link to add information to this solution:
    Are there plans to release a USB Controller to work with the Planet CNC Output Board for more advanced spindle control from within Planet CNC?

  • I'm considering buying the 4 axis cnc combo. I have metal lathe with variable speed spindle. Can i somehow control the spindle with the gcode. like s values and ,m03,m04, m05?

    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:
    I'm considering buying the 4 axis cnc combo. I have metal lathe with variable speed spindle. Can i somehow control the spindle with the gcode. like s values and ,m03,m04, m05?

  • [575] How is the bit-resolution on the PWM output for the spindle control? (8-bit or higher?)

    I am not sure of the resolution for the PWM output for spindle speed control. However, if you are worried about getting the exact speed you need, 8-bit will provide 256 levels of increments. This translates roughly to a change of 94 RPM from one increment to another. Remember to provide some inductance and shielding to the signal lines so you won't get fluctuations in speed.

    Click the link to add information to this solution:
    [575] How is the bit-resolution on the PWM output for the spindle control? (8-bit or higher?)

  • Can I purchase a computer off Amazon (I have a machine I want to use) and still use the USB interface to drive it with LinuxCNC?

    You will need to build the table unit for your machine. There are instructions on how to do this at the bottom of the product page here, https://www.buildyourcnc.com/Item/cnc-machine-blackFoot-v4
    There is no estimate on how much this will cost though, since there are too many variables involved to do this.

    - PC with parallel port and USB port
    - 20awg stranded wires for the motors - http://www.buildyourcnc.com/electronicscombo.aspx
    - 18awg stranded wires for power supply to drivers
    - 24awg stranded wires for breakout board to drivers
    (location and spacing of components varies from one person to another, so we do not provide cables/wires)
    - General purpose extension cord (cut the female end off) to provide power to power supply
    - USB cable to power breakout board
    - Parallel cable to communicate to breakout board
    - Router
    - (optional - instead of router) Spindle with power inverter http://www.buildyourcnc.com/SpindlesAndAccessories.aspx
    - (if purchasing spindle with inverter) General purpose extension cord (240v) (cut the female end off) to provide power to power inverter
    - End Mill(s) http://www.buildyourcnc.com/ProductsEndMills.aspx
    - CAD, and/or CAD-CAM software (to produce geometry, machine operations, and g-code) http://www.buildyourcnc.com/CNCsoftware.aspx
    - CNC control software (to read g-code and control machine) http://www.buildyourcnc.com/CNCsoftware.aspx

    This answer is applicable to most of our machines with the exception of the greenLean and the blueChick since those machines are equipped with a table structure.

    Additional Information:



    Additional Information:



    Additional Information:

    Click the link to add information to this solution:
    Can I purchase a computer off Amazon (I have a machine I want to use) and still use the USB interface to drive it with LinuxCNC?

  • I have the 2.2KW VFD. I would like to have it controlled through software. What are the Mode parameters that need to be changed that will allow FWD/ REV, START/STOP and RPM control?

    What controller are you using to control the cnc machine (Mach3 usb, parallel breakout board, etc.)?

    The spindle VFD has an input for 0-10 volts to control the speed and can be used with the MAch3 USB or the Pokeys57CNC board. There are also other terminals in the VFD to control the forwared/reverse and start and stop. Mach3 has parameters to control these output and you need to specify which pins are used for these.

    You can also use the TX/RX RS-485 connection on the VFD to have total control using an FTDI USB to serial connector board to connect the computer directly to the VFD.

    How to connect the USB to Serial adapter to the VFD:
    https://www.buildyourcnc.com/FAQ/13790

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

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

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

    Parallel Breakout board:
    https://www.buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay



    Additional Information:
    I do apologize for leaving out the parts list.
    Leadshine MX4660 4-Axis Digital Stepper Motor Driver
    Ethernet SmoothStepper
    YL600-2S-2K20 VFD
    4 Relay control board
    Has anyone had any success getting Mach3 to control the spindle speed and direction?

    Click the link to add information to this solution:
    I have the 2.2KW VFD. I would like to have it controlled through software. What are the Mode parameters that need to be changed that will allow FWD/ REV, START/STOP and RPM control?

  • Does the Redfly that I bought with the GreenBull in 2016 work with Mach4? Also I want to add a 4th axis and a spindle with automatic tool changer. Will this work too or do I need a new control board? I bought my CNC with a longer Z travel, so I have plenty of room for these. Thanks!

    That will depend on the controller that was installed in the redFly. If the controller is a pokeys57CNC controller, you can use Mach 4 with that system.

    You can add a 4th axis and an ATC (Automatic Tool Changer) with the redFly system.

    Click the link to add information to this solution:
    Does the Redfly that I bought with the GreenBull in 2016 work with Mach4? Also I want to add a 4th axis and a spindle with automatic tool changer. Will this work too or do I need a new control board? I bought my CNC with a longer Z travel, so I have plenty of room for these. Thanks!

  • I would like to know what the lowest rpm that can be acheived with the 2.2kw spindle and inverter and still have enough torque to drill

    According to the supplier of the 2.2 kW spindle, the safest operating speed for the spindle is 6000 RPM. The supplier also stated that theoretically, the spindle can operate from 0 to 24,000 RPM. I am continuing a dialog with the supplier to delve deeper into understanding the configurations and ramifications of such configurations for operations outside of the safe boundaries into the "theoretical" ranges.

    Additional Information:
    20

    Click the link to add information to this solution:
    I would like to know what the lowest rpm that can be acheived with the 2.2kw spindle and inverter and still have enough torque to drill

  • I’M LOOKING TO PURCHASE SPINDLE AND VFD WAS CURIOS IF THE SPINDLES COME WITH COLLETS SO WHICH ONES?

    Yes, all of the spindles come with collets. The collets have a 1/4" (6.35mm) bore for end mills that have a 1/4" shank. The ER specification is different for the 1.5kW (ER-11) and the 2.2kW (ER-20).

    Additional Information:



    Additional Information:



    Additional Information:

    Click the link to add information to this solution:
    I’M LOOKING TO PURCHASE SPINDLE AND VFD WAS CURIOS IF THE SPINDLES COME WITH COLLETS SO WHICH ONES?

  • Can I wire in a 5vdc relay board to the spindle relay for my router. Gnd would be negative and the arrow would be positive right?

    Yes, a 5v relay board can be connected to a spindle. Relays generally have terminals labeled S, O and P and you will want to pass one of your main wires "through" the P and S terminals or the P and O terminals depending if you want normally closed or normally open function.

    Refer to Step #8 on this page to get the full instructions on how to use a relay to control the spindle or router.

    https://buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay#prettyPhoto

    User response:
    I have the USB board. I was thinking of wiring a 5v relay board to the breakout board labeled (spindle) using the GND and (arrow) which i think is 5vdc. I will need this relay board to operate my router. Thanks

    Buildyourcnc response:
    Yes, those terminals are to control the relay (engage the relay). On the switch part of the relay, the router main poser wire (say, the live, black, wire) would pass through this switch portion of the relay.

    Click the link to add information to this solution:
    Can I wire in a 5vdc relay board to the spindle relay for my router. Gnd would be negative and the arrow would be positive right?

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.