[ Log In ]
[ Register ]
Database maintenance (5/13/2022 and 5/14/2022 between 9:00 pm to 3:00 am EDT). You may experience reduced performance during this time.

Question #: 14820

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

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

  • How can I control my motors and drivers 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 add information to this solution:
    How can I control my motors and drivers from my pc?

  • I've built a machine where the y axis has (2) 425oz motors, x axis has (1) 425oz. motor, and the z axis also has (1) 425oz motor. Would it be better to purchase a redleaf system with 4 drivers? or can I just connect both y axis motors to the same driver for a total of 3 drivers?

    In all CNC electronics configurations, you will need the motor paired with its own driver.

    If two motors/drivers are intended for a single axis and the motors need to turn at the same rate and in the same direction, then the two drivers for these motors should be connected to the same signal wires from the breakout board (step (CP) and direction (CW)) signal wires.

    If the motors need to turn in opposite directions, then either one driver will need to have the direction signal inverted, or resolve the opposite direction through a change in the mechanical drive train (i.e. flip the rack on a rack and pinion configuration, or in a roller chain setup, have the chain ride along the opposite side of the drive sprocket).

    How do I go about purchasing a redleaf system with 4 drivers, where the (y) and (a) driver are connected to the same signal from the breakout board? I'd also need them to rotate in opposite directions.

    The redLeaf webpage contains a purchase option for an extra motor and driver. We can setup the redLeaf system uniquely so it conforms to your application (i.e. motors running in opposite directions).

    Click the link to add information to this solution:
    I've built a machine where the y axis has (2) 425oz motors, x axis has (1) 425oz. motor, and the z axis also has (1) 425oz motor. Would it be better to purchase a redleaf system with 4 drivers? or can I just connect both y axis motors to the same driver for a total of 3 drivers?

  • 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 add information to this solution:
    3d printer motors not moving fast enough. How should I configure the motor drivers?

  • 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 add information to this solution:
    Can I have two motors and drivers on a single axis?

  • How do I connect my motor wires to the driver?

    Use the datasheet associated to the motor that you purchased. Use the bipolar parallel configuration to optimum performance. The datasheets are located in their respective motor product pages. Just click on the motion electronics at the left and scroll down to the motor you have and click on the title, or datasheet link next to the motor. The datasheet will either be in the form of a pdf, or within the instructions on that product page.

    Additional Information:
    wiring diagram



    Additional Information:

    Click the link to add information to this solution:
    How do I connect my motor wires to the driver?

  • 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 add information to this solution:
    I have motors and drivers, how can I control them from my pc?

  • 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 add information to this solution:
    I need to determine steps/inch mach3 setup information for my motors and drivers.

  • how do I connect an 8 wire motor to a driver?

    If the motor has 8 wires, you will need to wire the stepper motor in bipolar parallel. This motor (425 oz-in) is wired as follows:

    Red and Blue wires to A+ on driver
    Yellow and Black wires to A- on driver
    White and Brown wires to B+ on driver
    Orange and Green wires to B- on driver

    Click the link to add information to this solution:
    how do I connect an 8 wire motor to a driver?

  • 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 add information to this solution:
    how do I connect my spindle to mach3 so mach3 can control it

  • My x and y motors are on each end of my gantry do I wire each motor to the same XP

    I'm not sure what you mean by XP. Can you clarify? Thanks.

    All stepper motors must be wired to their own stepper motor driver. If two motors need to be driven by one signal (say there are two X motors) then the two drivers will be connected to same CP (pulse or step) and CW (direction) pins on the control interface. If the two motors need to turn in opposite directions, then swap the A and B coil connections.

    Additional Information:
    Whitch A+ or A - B + or B -

    Click the link to add information to this solution:
    My x and y motors are on each end of my gantry do I wire each motor to the same XP

  • HOW DO I SET UP MY MOTOR 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

    Click the link to add information to this solution:
    HOW DO I SET UP MY MOTOR DRIVERS?

  • Can I drive my X axes with 2 motors using one motor driver?

    It is not recommended to drive two stepping (stepper) motors with a single driver. The driver will need to output the sum of the current that is rated for both motors. The best way to drive two motors on the same axis, or if you need the motors to spin in a synchronous fashion, then have each motor connected to their own driver and connect the signal wires from the drivers to the same signal step and direction pin on the breakout/interface board.

    Click the link to add information to this solution:
    Can I drive my X axes with 2 motors using one motor driver?

  • I bought your 3 axis combo and need to know what name brand is the motors and their ounces and the drivers

    Surely you know the brand motors you sold me?

    Click the link to add information to this solution:
    I bought your 3 axis combo and need to know what name brand is the motors and their ounces and the drivers

  • I just finished building my first CNC with the electronics I purchased from you and I am already thinking about improving it. I would like to build a 2 motor X axis solution. Is it possible to attach 2 parallel motors and drivers to the BlueBrew Breakout Board? If so, how?

    Attaching two motors in parallel is possible, but you will need another motor and driver for the opposite side. Each motor must have its own driver to work accordingly and fluently. The two can be wired together, to the same pins on your breakout board and set the dip switches on the driver to match the ones on your x-axis(ex). But remember to view the orientation of the motor and which way it spins, since it is on the opposite side it will have to be orientated correctly to move in sync with the other motor.

    Click the link to add information to this solution:
    I just finished building my first CNC with the electronics I purchased from you and I am already thinking about improving it. I would like to build a 2 motor X axis solution. Is it possible to attach 2 parallel motors and drivers to the BlueBrew Breakout Board? If so, how?

  • What wiring should I use to connect two motors for one axis?

    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 add information to this solution:
    What wiring should I use to connect two motors for one 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 add information to this solution:
    Can you sell me a kit to control my motor from the pc? I already have a motor, driver and power supply.

  • How can I to connect a signal to turn on a mist in a USB board? Thank you

    You will need a 24V relay to control mist using the Mach3 USB breakout board. The wiring diagram (link below) will show one of the output terminals (O1, O2, O3 or O4) connected to one of the leads of the relay. The other lead is connected to the V+ to complete the circuit. The other part of the relay is used as a switch to control the mist on/off.

    Wiring diagram: https://www.buildyourcnc.com/Documents/Electric%20Wiring%20Diagram.pdf

    Mach3 USB Breakout Board for CNC Routers: https://buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

    Click the link to add information to this solution:
    How can I to connect a signal to turn on a mist in a USB board? Thank you

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

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

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

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

  • How can I determine which wires on my stepper motor bellong to A+ A- B+ or B-?

    You can use a multimeter to determine the wires of the same coil (i.e A+ and A- belong to he same coil). The wires that are connected on the same coil will have relatively low resistance. A wire from one coil to another coil with have no continuity since the two coils are not touching each other.

    Click the link to add information to this solution:
    How can I determine which wires on my stepper motor bellong to A+ A- B+ or B-?

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.