[ Log In ]
[ Register ]

Question #: 14822

Question: How can I control my motors and drivers from my pc?

Current Solution

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.

Respond:

Other Possible Solutions to this Question

  • I have motors and drivers, how can I control them from my pc?

    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 respond:
    I have motors and drivers, how can I control them from my pc?

  • 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 respond:
    How can I connect my pc to my motor drivers and motors?

  • Can i wire my drivers and motors in parallel to your laser controll system to add a laser unit on my router?

    It is possible to add the laser control system to an existing CNC router but there are a few considerations:

    All of the signal wires from the laser controller that connect to the drivers drivers and all of the signal wires from the CNC controller that go to the drivers will need to first pass through a tri-state gate buffer chip that will allow one set of signal wires to be switched off and the other set switched on.

    We have a board that does this in development, but If you wish to accomplish this on your own, you will need:

    - 3 Quad buffer line drivers (each one can receive 4 signal wires): https://newbiehack.com/categories/newbiehack-integrated_circuits-buffer-quad-buffer-line-driver-throughhole
    - Some perf board, solder and a soldering iron, and some hookup wire.

    If this doesn't scare you, please feel free to submit additional information and let me know if you would like more information.


    Additional Information:
    You will also need a physical switch to select laser control or CNC control.

    Click the link to respond:
    Can i wire my drivers and motors in parallel to your laser controll system to add a laser unit on my router?

  • How do I control stepper motors from my computer?

    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 respond:
    How do I control stepper motors from my computer?

  • My plasmacam cnc machine has servo motors with an optical encoder to provide position sensing. Can the pokeys57 cnc controller and drivers run those servos?

    Yes, the Pokeys57CNC can control standard CNC or plasma machine servos as servo drives accept step and direction signals just like stepper motors.

    Click the link to respond:
    My plasmacam cnc machine has servo motors with an optical encoder to provide position sensing. Can the pokeys57 cnc controller and drivers run those servos?

  • Can you offer me a combo with motors NEMA17, NEMA23 and NEMA34 and a control box ready for plug and play operation? (this including motor drivers and cables)

    We have a redLeaf and redSprout system available which has all of the CNC electronics and computer system assembled as a plug and play system.

    Click the link to respond:
    Can you offer me a combo with motors NEMA17, NEMA23 and NEMA34 and a control box ready for plug and play operation? (this including motor drivers and cables)

  • Can I have two motors and drivers on a single axis?

    Yes, you can have two drivers connected to a single axis. If you want the two drivers/motors to work as a single, more concerted pair, then I would suggest connecting the two drivers to a single step pulse and direction signal.

    That is to say:
    driver 1 and driver 2 have wires connecting from the CP terminals of the drivers to a single step terminal on the interface board (USB or parallel breakout board), and the CW terminals of the drivers connected to a single direction terminal on the interface board.

    If the motors need to spin in the opposite directions, simply reverse one of the the motor A B coil connections (i.e. wires that would go to A+ and A- is connected to the B+ and B-, and the same with the B+ and B- to the A+ and A-). You can alternatively resolve this mechanically if desired.

    Click the link to respond:
    Can I have two motors and drivers on a single axis?

  • Can you sell me a kit to control my motor from the pc? I already have a motor, driver and power supply.

    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 respond:
    Can you sell me a kit to control my motor from the pc? I already have a motor, driver and power supply.

  • I have registered version of planetcnc software that I purchased with a Chinese controller I want to use 3 better drivers with a separate USB controller can you recommend a controller and how to link my existing software. Regards Lloyd from Australia

    You can only use the planet-cnc interfaces with the PlanetCNC software. If you like the software and want to remain with that software, the hardware interfaces will need to be purchased from the planet-cnc folks.

    I would recommend using the Pokeys57CNC interface which is compatible with Mach3 and Mach4. You can also consider the Mach3 USB interface if the Pokeys57CNc interface is out of your price range.

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

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

    Click the link to respond:
    I have registered version of planetcnc software that I purchased with a Chinese controller I want to use 3 better drivers with a separate USB controller can you recommend a controller and how to link my existing software. Regards Lloyd from Australia

  • I need to determine steps/inch mach3 setup information for my motors and drivers.

    blueChick:

    X-axis
    “CW230 (3.0A) Driver”
    Set to 1/16 Microstep, 2.7A
    Dipswitches: 11001100
    Mach3 Motor Tuning: 1422.22 steps/in

    Y-axis
    “CW230 (3.0A) Driver”
    Set to 1/16 Microstep, 2.7A
    Dipswitches: 11001100
    Mach3 Motor Tuning: 1422.22 steps/in

    Z-axis
    “CW230 (3.0A) Driver”
    Set to 1/4 Microstep, 2.7A
    Dipswitches: 10101100
    Mach3 Motor Tuning: 1600 steps/in

    blackToe:

    X-axis
    “CW230 (3.0A) Driver”
    Set to 1/16 Microstep, 2.7A
    Dipswitches: 11001100
    Mach3 Motor Tuning: 1422.22 steps/in

    Y-axis
    “CW230 (3.0A) Driver”
    Set to 1/16 Microstep, 2.7A
    Dipswitches: 11001100
    Mach3 Motor Tuning: 1422.22 steps/in

    Z-axis
    “CW230 (3.0A) Driver”
    Set to 1/4 Microstep, 2.7A
    Dipswitches: 10101100
    Mach3 Motor Tuning: 1600 steps/in

    blackFoot:

    X-axis
    “CW8060 (6.0A) Driver”
    Set to 1/16 Microstep, 2.7A
    Dipswitches: 11001100 (“0”=down, “1”=up)
    Mach3 Motor Tuning: 914.29 steps/in

    Y-axis
    “CW230 (3.0A) Driver”
    Set to 1/16 Microstep, 2.7A
    Dipswitches: 11001100
    Mach3 Motor Tuning: 1422.22 steps/in

    Z-axis
    “CW230 (3.0A) Driver”
    Set to 1/4 Microstep, 2.7A
    Dipswitches: 10101100
    Mach3 Motor Tuning: 1600 steps/in

    greenBull:

    X-axis
    “CW8060 (6.0A) Driver”
    Set to 5.43A, 1/16 Microstep
    Dipswitches: 01100110 (“0”=down, “1”=up)
    Mach3 Motor Tuning: 914.29 steps/in

    Y-axis
    “CW8060 (6.0A) Driver”
    Set to 5.43A, 1/16 Microstep
    Dipswitches: 01100110
    Mach3 Motor Tuning: 914.29 steps/in

    Z-axis
    “CW8060 (6.0A) Driver”
    Set to 5.43A, 1/4 Microstep
    Dipswitches: 01100100
    Mach3 Motor Tuning: 1600 steps/in


    Scratch-Build / Book-Build Kit:

    X-axis
    “CW230 (3.0A) Driver”
    Set to 1/4 Microstep, 2.7A
    Dipswitches: 10101100 (“0”=down, “1”=up)
    Mach3 Motor Tuning: 1600 steps/in

    Y-axis
    “CW230 (3.0A) Driver”
    Set to 1/4 Microstep, 2.7A
    Dipswitches: 10101100
    Mach3 Motor Tuning: 1600 steps/in

    Z-axis
    “CW230 (3.0A) Driver”
    Set to 1/4 Microstep, 2.7A
    Dipswitches: 10101100
    Mach3 Motor Tuning: 1600 steps/in

    Additional Information:


    Additional Information:
    Scratch built/book CNC with NEMA 34 motors and CW8060 microstep driver

    Additional Information:

    Click the link to respond:
    I need to determine steps/inch mach3 setup information for my motors and drivers.

  • CAN THERE BE CLOSED LOOP CONTROL WITH STEPPING MOTORS?

    I haven't delved into using encoders with stepping motors too much. From my research, you need to have a controller that can provide the closed loop control, rather than software handling that process. I have also found from my research that using encoders on stepping motors is generally used to stop the machine in the case that the motor failed to achieve the commanded position for some reason and gives the user the chance to correct and continue with the job.

    If you want proper closed loop control, it may be best to go with servos and servo controller that provide the closed loop control within the real of those two components.

    Click the link to respond:
    CAN THERE BE CLOSED LOOP CONTROL WITH STEPPING MOTORS?

  • How can I control my VFD using Mach4 cnc control software?

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

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

    Click the link to respond:
    How can I control my VFD using Mach4 cnc control software?

  • Can I run two stepper motors off the same axis output on the USB controller?

    Yes, you can use 2 motors in the same axis output, however you will still need a driver for that motor! Also depending on the orientation on which you mount the motor you might have to invert the direction of the motor, and that will be simple by swapping the A+,A-, to the B+,B- locations and vice versa, from the driver to the motor wiring.

    Also you can run a slave motor using another axis on the board, and setting it up in the Planet-CNC settings.

    Planet-CNC/File/Settings/Axes, here you will enter 3 in the Number of Axes location, and then change the Function of the Axis 4 to Slave 1. There you will have the 4th axis or A-axis be a slave for the x-axis.
    Slave 1 - X-Axis
    Slave 2 - Y-Axis
    Slave 3 - A-Axis
    Slave 4 - B-Axis
    Etc...

    Click the link to respond:
    Can I run two stepper motors off the same axis output on the USB controller?

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

    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 respond:
    how do I connect my spindle to mach3 so mach3 can control it

  • i have purchased the laser control does it have an software and can i run this from my computer instead of using a thumb drive

    Yes, the laser controller comes with software (LaserCAD), and you can indeed use your computer to communicate with the controller.

    Click the link to respond:
    i have purchased the laser control does it have an software and can i run this from my computer instead of using a thumb drive

  • how to connect USB controller to the drivers. Any instructions/video other then html datasheet?
  • 3d printer motors not moving fast enough. How should I configure the motor drivers?

    This will depend on the 3D printer that you are using and the mechanics involved. Specifically regarding the motor drivers, software is really what determines the speed of the motor. If the computer is not able to product the high number of pulses that is required for faster motion, then you can reduce the microstepping and configure the software appropriately for the new microstepping so the resolution is corrected (steps/inch or steps/mm).

    Click the link to respond:
    3d printer motors not moving fast enough. How should I configure the motor drivers?

  • Do you know what drivers the xylotex control boxes have

    After looking at their site, we cannot determine what drivers are used in the xylotex control box.

    Click the link to respond:
    Do you know what drivers the xylotex control boxes have

  • Mach 3 stalls in the middle of a file and the dwell button is flashes randomly. Can't control motors and have to re-start Mach 3. Any help?

    Is this a licensed version of Mach 3? If not and you are currently running the demo version, mach 3 will have only 500 lines of G-code available for cutting. Which will not allow you to cut or move the machine after the first 500 lines.

    Additional Information:
    Yes, It is a licensed version of Mach 3.

    Click the link to respond:
    Mach 3 stalls in the middle of a file and the dwell button is flashes randomly. Can't control motors and have to re-start Mach 3. Any help?

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.