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

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

  • I have a "Based on planet-cnc's diy cnc usb controller", I activated the output signal (mist, coolant or spindle) in the planetcnc software but at the output there is no voltage, what can I do to turn on this elements?

    On the Planet-CNC board, the Mist, Spindle and Coolant outputs will require a relay to switch on those devices. Test one of those terminals with a multi-meter (Mist, Coolant, or Spindle). Each of these terminals have a GND next to the terminal for the device.

    Test the voltage across the GND to the terminal with the arrow that you want to test. Go to the software and click on the device you want to test (mist, coolant or spindle) and note the voltage. If no voltage is output then check under the board to where the terminals are soldered. Re-test the terminals across the solder joints rather than the terminal block wire inputs. If you get a voltage, then there is a problem with the terminal block. If you don't get a voltage, then the board is not functioning properly.

    Additional Information:
    I activated the output signal.. I did the tests indicated and I did not get voltage. I heated the welds of the three outputs and now works coolant but no mist or spindle, what should I do?

    Additional Information:
    There are probably cold joints on the board at the chip or the resistors on the traces for those terminals. You can send the board back to us and we will repair and test the board.

    Click the link to respond:
    I have a "Based on planet-cnc's diy cnc usb controller", I activated the output signal (mist, coolant or spindle) in the planetcnc software but at the output there is no voltage, what can I do to turn on this elements?

  • I have a "Based on planet-cnc's diy cnc usb controller", I activated the output signal (mist, coolant or spindle) in the planetcnc software but at the output there is no voltage, what can I do to turn on this elements?

    On the Planet-CNC board, the Mist, Spindle and Coolant outputs will require a relay to switch on those devices. Test one of those terminals with a multi-meter (Mist, Coolant, or Spindle). Each of these terminals have a GND next to the terminal for the device.

    Test the voltage across the GND to the terminal with the arrow that you want to test. Go to the software and click on the device you want to test (mist, coolant or spindle) and note the voltage. If no voltage is output then check under the board to where the terminals are soldered. Re-test the terminals across the solder joints rather than the terminal block wire inputs. If you get a voltage, then there is a problem with the terminal block. If you don't get a voltage, then the board is not functioning properly.

    Additional Information:
    I activated the output signal.. I did the tests indicated and I did not get voltage. I heated the welds of the three outputs and now works coolant but no mist or spindle, what should I do?

    Additional Information:
    There are probably cold joints on the board at the chip or the resistors on the traces for those terminals. You can send the board back to us and we will repair and test the board.

    Additional Information:
    If you want to troubleshoot this yourself, take a very close look at the traces from the terminal and follow them to the tiny resistors, then to the legs of the chip. If you see any bad or bridged solder joints, then those will need to be re-touched. It will take a somewhat experienced soldering individual to accomplish this task and will require flux to make sure the solder joints are fully joined.

    Click the link to respond:
    I have a "Based on planet-cnc's diy cnc usb controller", I activated the output signal (mist, coolant or spindle) in the planetcnc software but at the output there is no voltage, what can I do to turn on this elements?

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

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

  • 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 respond:
    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 settings does I use for controlling the spindle in StepCon/Linuxcnc?

    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 respond:
    What settings does I use for controlling the spindle in StepCon/Linuxcnc?

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

  • Can LinuxCNC EMC2 control the 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 respond:
    Can LinuxCNC EMC2 control the spindle?

  • 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 respond:
    I can't seem to find information on spindle control via the breakout board. Can someone point me in the right direction?

  • 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 respond:
    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 looking to upgrade my X-Carve with one of your vfd spindles, can you reccomend which one to use to replace the dewalt 611 router?

    If you would like to replace a router that outputs a relatively low HP (horse power) such as the Bosch PR20EVSK or Dewalt 611, both having about 1-1.25 HP, the 1.5kW spindle would have more than enough power and will also provide constant torque where the routers are unable to achieve. The 1.5kW spindle outputs 2 HP and is water cooled to keep the dust out of the air!

    Click the link to respond:
    I'm looking to upgrade my X-Carve with one of your vfd spindles, can you reccomend which one to use to replace the dewalt 611 router?

  • 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 respond:
    can I control the speed of a 2.2 spindle through your 5 axis breakout board with relay?

  • HOW CAN THE ROUTER BE CONTROLLED OR CONNECTED TO ELECTRONICS COMPUTER?

    The parallel breakout board has a relay that can turn the router on and off according to the control software in the computer. The router will turn on automatically prior to the machine moving (a time frame can be set so the router is up to speed). When the machine is finished and is not moving, the router automatically turns off. This is with the m3, m4, and m5 codes in the g-code.

    If you are interested in the USB breakout board, you will need to get an independent relay board.

    Click the link to respond:
    HOW CAN THE ROUTER BE CONTROLLED OR CONNECTED TO ELECTRONICS COMPUTER?

  • My pokeysCNC board creates and analog signal of 0-10V for 0 to 24000 spindle rpm just like it should from Mach3. However, when the spindle is on, the voltage only gets to about 3.8V for 24000 rpm. It seems like the vfd is drawing more current than the pokeyscnc analog output can produce. It there an easy solution to this problem?

    Do you have the Pokeys57CNC connected to a 24V external power supply?

    Additional Information:
    Yes, a 24V external power supply with the jumper positioned. I'm using the ethernet port so the 24v is the only source of power. I plan to measure the amp draw when I have a chance to see how much the vfd is drawing on the analog out.

    Additional Information:
    Further information. The resistance across the terminals on the vfd is 22k ohms. With an independent 0-10v current source I can run the spindle from 20 to 400 Hz. The PokeysCNC only gets to 3.8v with the vfd attached (and the vfd is at 150 Hz) compared to 10v when the vfd is not attached. The power to the PokeysCNC is steady at 24.18 V, so I'm not maxing out the power supply. Still looking for thoughts on what might be going on?

    Additional Information:
    And the other thing - The measured amperage is 0.17 mA for the 0-10 V signal (which makes perfect sense for 3.7 V and 22k Ohms).

    Additional Information:
    Just to bring finality to this issue - I added a 2.2 microfarad capacitor across the 0-10V input terminal (from signal to ground). This solved the issue. Evidently, it was an electrical noise issue.

    Click the link to respond:
    My pokeysCNC board creates and analog signal of 0-10V for 0 to 24000 spindle rpm just like it should from Mach3. However, when the spindle is on, the voltage only gets to about 3.8V for 24000 rpm. It seems like the vfd is drawing more current than the pokeyscnc analog output can produce. It there an easy solution to this problem?

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

  • 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 respond:
    How can I make LinuxCNC control a spindle?

  • Is there a recommended cooling system for purchase that can be used with your 2.2 kW water cooled spindles?

    A standard water pump like this one will work: https://www.buildyourcnc.com/item/pneumatic-hydraulic-water-pump-370-Gallons-Per-Hour-220v-110v

    You will also need silicone tubing at 1/4" ID and 3/8" OD to connect from the pump to the spindle: https://www.buildyourcnc.com/Item/pneumatic-hydraulic-silicone-tubing

    And a bucket to hold the water.

    You may also consider CPU cooling systems which can actually be fastened to the back of the gantry. We do this for the Fabricator Pro machine. The CPU cooling I would recommend is a small pump and cylinder with a heat sink, or a small radiator.

    Click the link to respond:
    Is there a recommended cooling system for purchase that can be used with your 2.2 kW water cooled spindles?

  • I have blacktoe 4.1 with porter cable 890 router.To convert to spindle(2.2kw) can I just change the mount?

    If you would like to use a spindle rather than a router on your existing CNC, we will send you another set of components that will allow the spindle to be mounted properly which includes the z-axis rails, rail support, spindle mounts and the dust shoe components. You can find this item to purchase here: https://www.buildyourcnc.com/category/z-axis

    Click the link to respond:
    I have blacktoe 4.1 with porter cable 890 router.To convert to spindle(2.2kw) can I just change the mount?

  • I HAVE BLACKTOE 4.1 WITH PORTER CABLE 890 ROUTER.TO CONVERT TO SPINDLE(2.2KW) CAN JUST CHANGE THE MOUNT?

    If you would like to use a spindle rather than a router on your existing CNC, we will send you another set of components that will allow the spindle to be mounted properly which includes the z-axis rails, rail support, spindle mounts and the dust shoe components. You can find this item to purchase here: https://www.buildyourcnc.com/category/z-axis

    Click the link to respond:
    I HAVE BLACKTOE 4.1 WITH PORTER CABLE 890 ROUTER.TO CONVERT TO SPINDLE(2.2KW) CAN JUST CHANGE THE MOUNT?