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

Question #: 14376

Question: reverse stepper motor direction on pokeys

Current Solution

When trying to use two motors on a single axis, there is a multitude of methods to get them to work together.
First: There should always be a slave option in the CNC control software(mach 3/ planet-cnc/emc2/etc.), this will be the easiest way to make the dual motor configuration work. However some adjusting might be necessary due to the orientation of the motor when mounting it on the opposite side of the CNC machine.(Mach3/config/slaveaxis, planet-cnc/file/settings/axes).

Secondly: Dealing with our interface boards(maybe third-party as well), you can have two drivers going to the same axis on the interface board. Which then will have one motor per driver, this will use the same motion and control from the (ex.) x-axis to driver two motors. However some adjusting might be necessary due to the orientation of the motor when mounting it on the opposite side of the CNC machine.

Adjusting of the driver or motor wires, can be done separate from the control software with the use of a hex inverter, that can be used and to switch the signal (ex. takes a low signal and brings it high, and takes a high signal and brings it low) of one of the motors, to run the same as the other motor.
There is also another method of inverting the orientation of the motors movement without the use of a hex inverter. This method you will have to wire the coil's of the motors oppositely of what is recommended for one of the motors. Example, you will wire our Nema 24 as follows(recommended): A+ - red/blue, A- - yellow/black, B+ - white/brown, B- - green/orange. However to run another motor with with it you will have to switch the A/B connections to: A+ - white/brown, A- - green/orange, B+ - red/blue, B- - yellow/black.

These method's are usually needed/used when trying to control two motors and setting it up without the help of the CNC control software, and also due to the mounting orientation of the second motor, the inverting the direction of motion will be necessary so they work together instead of working against each other.

Respond:

Other Possible Solutions to this Question

  • From the BOB how can I reverse one of my steppers - i'm running 2 on my Y Axis

    When trying to use two motors on a single axis, there is a multitude of methods to get them to work together.
    First: There should always be a slave option in the CNC control software(mach 3/ planet-cnc/emc2/etc.), this will be the easiest way to make the dual motor configuration work. However some adjusting might be necessary due to the orientation of the motor when mounting it on the opposite side of the CNC machine.(Mach3/config/slaveaxis, planet-cnc/file/settings/axes).

    Secondly: Dealing with our interface boards(maybe third-party as well), you can have two drivers going to the same axis on the interface board. Which then will have one motor per driver, this will use the same motion and control from the (ex.) x-axis to driver two motors. However some adjusting might be necessary due to the orientation of the motor when mounting it on the opposite side of the CNC machine.

    Adjusting of the driver or motor wires, can be done separate from the control software with the use of a hex inverter, that can be used and to switch the signal (ex. takes a low signal and brings it high, and takes a high signal and brings it low) of one of the motors, to run the same as the other motor.
    There is also another method of inverting the orientation of the motors movement without the use of a hex inverter. This method you will have to wire the coil's of the motors oppositely of what is recommended for one of the motors. Example, you will wire our Nema 24 as follows(recommended): A+ - red/blue, A- - yellow/black, B+ - white/brown, B- - green/orange. However to run another motor with with it you will have to switch the A/B connections to: A+ - white/brown, A- - green/orange, B+ - red/blue, B- - yellow/black.

    These method's are usually needed/used when trying to control two motors and setting it up without the help of the CNC control software, and also due to the mounting orientation of the second motor, the inverting the direction of motion will be necessary so they work together instead of working against each other.

    Click the link to respond:
    From the BOB how can I reverse one of my steppers - i'm running 2 on my Y Axis

  • How can I have two stepper motors on 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 respond:
    How can I have two stepper motors on one axis

  • How do I wire two stepper 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 respond:
    How do I wire two stepper motors for one axis?

  • Mach3 USB Interface Board, I cant reverse my axis direction by toggling Reversed in Motor Home/Softlimits, I have to toggle Dir LowActive in port & pins Motor Outputs to reverse an axis, any ideas?

    That is correct. To reverse the direction for a specific stepper motor on an axis, you should toggle the DirLowActive. The direction terminal on a driver (labeled Dir or CW) has a high signal for a particular direction and a low signal for the opposite direction. By simply toggling the DirLowActive, you are reversing this state.

    Click the link to respond:
    Mach3 USB Interface Board, I cant reverse my axis direction by toggling Reversed in Motor Home/Softlimits, I have to toggle Dir LowActive in port & pins Motor Outputs to reverse an axis, any ideas?

  • How long does it take to ship to Israel 3 nema 11 stepper motors ?

    Unfortunately I am not able to give an estimate of shipping time. This is because there are multiple shipping options, Some of them cost more than others, but ensure the package arrives in a certain number of days. Others do not give a number of days, and many factors could change the length of shipping time, such as weather, or busy season. It would be best to choose an option you are comfortable with the price of, and then Google search the typical times it takes for that option to get to you, or call the shipping company and request that estimated time from them.

    Click the link to respond:
    How long does it take to ship to Israel 3 nema 11 stepper motors ?

  • Is there a warranty on the NEMA 34 651 Oz-in stepper motors you sell?

    Yes, we honor a one year warranty on the NEMA 34 651 oz-in stepper motor.

    Click the link to respond:
    Is there a warranty on the NEMA 34 651 Oz-in stepper motors you sell?

  • MOTOR GOING TWO DIRECTION WHEN JUST PUSH UP. IT WILL GO DOWN AND THEN GOES AGAIN UP WITH THE SAME BUTTON.

    Try slowing your feedrate down and increasing spindle RPMs. End-mills will leave a poor finish if you go too fast. Make sure your cutting depth isn't too much. Maybe the endmill or cutter is blunt? Could it be the feed direction of the cutter? Some materials need to be fed in a certain direction.

    Click the link to respond:
    MOTOR GOING TWO DIRECTION WHEN JUST PUSH UP. IT WILL GO DOWN AND THEN GOES AGAIN UP WITH THE SAME BUTTON.

  • MOTOR GOING TWO DIRECTION WHEN JUST PUSH UP. IT WILL GO DOWN AND THEN GOES AGAIN UP WITH THE SAME BUTTON.

    The wire coming from the CW from the driver. Move it to another pin on the breakout board and set the new pin in software.

    Click the link to respond:
    MOTOR GOING TWO DIRECTION WHEN JUST PUSH UP. IT WILL GO DOWN AND THEN GOES AGAIN UP WITH THE SAME BUTTON.

  • do I need a stepper driver for each motor?

    Refer to this video:

    Click the link to respond:
    do I need a stepper driver for each motor?

  • 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 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 respond:
    How can I determine which wires on my stepper motor bellong to A+ A- B+ or B-?

  • I cannot turn the shaft of my stepper motor. It not even connected to a driver

    The motor is creating it's own EMF when you try to turn the shaft manually. When coils are connected (or not connected) to any circuit that is not powered can cause unpredictable results.

    The motor freezing from just turning it by hand with no connection is surely the wires touching each other. This is actually how we test if a motor is good or bad. If the motor freezes when two of the wires are touching, that means the motor is functioning properly since the magnets are causing current to flow through that coil opposing the magnet.

    Click the link to respond:
    I cannot turn the shaft of my stepper motor. It not even connected to a driver

  • Where are the datasheets for the stepper motors?

    You can find the datasheets to our motors be going to the the stepping motor category page https://www.buildyourcnc.com/category/nema and selecting the motor. This will bring you to the product page for the motor and all of the motor information will be found there.

    Click the link to respond:
    Where are the datasheets for the stepper motors?

  • What size stepper motors does the blueChick use?

    The blueChick uses NEMA 23 425 oz/in motors.

    Click the link to respond:
    What size stepper motors does the blueChick use?

  • stepper motor steps per inch formula

    The formula and calculation is a starting point to get into the area of steps per inch. You will then need to use the mach3 calibration utility to get the exact steps per inch.

    Formula:
    step per inch = (motor steps * microstepping) / (travel at one turn of the motor in inches)
    if microstepping is set at 16 (1/16 on the driver) then and you are using a sprocket and chain with a pitch of .25 inches and 12 teeth on the drive sprocket
    = (200 * 16) / (12 * .25)
    = 3200 / 3
    = 1066.666 steps per inch

    For lead screw that has a travel of .5 inches at one turn like the 5 start 1/2 inch lead screw and using 4 microsteps per step (1/4):
    = (200 * 4) / (.5)
    = 800 / .5
    = 1600 steps per inch

    Remember to use the mach3 calibration wizard and double check the driver microstep setting.

    Additional Information:

    Click the link to respond:
    stepper motor steps per inch formula

  • can my stepper motor lift the weight of my router?

    There are two main questions that we can answer with respect to motor torque and the mechanical advantage of lead screws, 1) What torque motor do you need to lift a particular weight, or 2) What maximum weight will my motor torque be able to lift.

    This formula uses Newtons (N) as it's final unit. Use this with the included radius (R) to determine the torque. Newtons can easily be converted to lbs or ounces using online conversions.

    Effort = Sf + (Load/(2 x pi x (R/p) x Se))

    where:
    p = pitch of the screw
    Se = screw efficiency = Standard lead screw will be between 20% (.2) and 40% (.4)
    Sf = static force. This is the force that is needed to start the movement. The number may be eliminated, but it is good to use a number in the 5 N to 20 N range.
    Load = the expected load that the effort will need to carry (i.e., the router and the included axis assembly that the motor will need to lift)
    R = radius of the lead screw


    This formula is based on the "law of the machine"

    The final effort amount with its unit of newtons and R will be the torque. For example, if the effort comes to 100 N (newtons) and the R is .5 inches, then you can assume that the effort is 50 N-in since it would take twice the effort to turn form the one inch mark from the center of the shaft.

    Example:

    Load = 90 N (20.2 lbs)
    R = 1 inch since that is the length from the center of the shaft that the motor is rated
    p = 1 inch / 13 = .08 inches

    Effort = 5 N + (90 N / (2 x 3.14 x (1 / .08) x .2))
    Effort = 5 N + (90 N / (6.28 x 12.5 x .2))
    Effort = 5 N + (90 N / (15.7))
    Effort = 5 N + (5.73 N)
    Effort = 10.7 N = 2.4 lbs = 38.4 oz-in

    I am putting the oz-in on the end because the formula considers the distance from the center of the shaft to be one inch.

    Therefore, a 425 oz-in motor would be able to lift a 20.2 lb Router with its accompanying assembly. If the assembly and router is heavier, plug in the numbers and determine the effort required.

    With a bit of algebra, the formula can be rewritten to find the load:

    Load = (Effort - Sf) x (2 x pi x (R/p) x Se)

    Another formula that does not consider friction at all:

    Effort = (Load x p) / (2 x pi x R)

    Lets see if we get similar results:

    Effort = (20 lb x .08 inches) / (2 x 3.14 x 1)
    Effort = 1.6 / 6.28 = .255 lbs = 4.08 oz-in

    The results from both formulas appear to be very small because a 13 TPI screw will have enormous mechanical advantage.

    It is evident that the first formula that does consider friction that we are loosely estimating is far more conservative than the second formula. Either way, even the most conservative formula shows that the 425 oz-in motor will handle very large weights. If you are using a lead screw with only two turns per inch, .5 inch pitch, you can determine the requirements with the first formula.

    Example for a 10 TPI 5 start (2 turns per inch) lead screw:

    Load = 90 N (20.2 lbs)
    R = 1 inch since that is the length from the center of the shaft that the motor is rated
    p = 1 inch / 2 = .5 inches

    Effort = 5 N + (90 N / (2 x 3.14 x (1 / .5) x .2))
    Effort = 5 N + (90 N / (6.28 x 2 x .2))
    Effort = 5 N + (90 N / (2.512))
    Effort = 5 N + (35.83 N)
    Effort = 40.828 N = 9.18 lbs = 146.88 oz-in

    Customer Response:
    thank you so much

    Additional Information:


    Additional Information:


    Additional Information:
    how do i calculate torque of stepper motor if lead screw coupled to motor shaft and load applied by lead screw on plate is 100 kg by vertically

    Additional Information:
    Pls


    Additional Information:
    1m 16mmdiameter ball screws calculations

    Click the link to respond:
    can my stepper motor lift the weight of my router?

  • how to calibrate stepper motors with ballscrews In mach3

    The easy way is to use Mach3's calibration process to calibrate the axis with the ballscrew coupled to the stepper motor. This is done in the settings tab of Mach3 and clicking the button just above the "Reset" button called "Set Steps Per Unit". A dialog box will appear asking how far you want Mach3 to move that axis. Mach3 will move that axis at a distance that is determined by the existing steps per unit value set in the motor tuning dialog box (config menu -> motor tuning). Not knowing the distance that this axis will travel, it's best to use a very small value.

    The more difficult way and the technique that should be used to create the initial value for the step per unit in the motor tuning dialog box. Use the steps/unit formula. This example will use inches.

    Steps/Inch
    = ((motor natural steps) x microsteps) / (the travel for one complete revolution)

    The travel for one revolution would be the distance a ball nut will travel with one complete turn of the ball screw. This is generally the number of starts / threads per inch. Say the ball screw has 5 starts (5 threads starting from the beginning of the screw) and 10 threads per inch (TPI), then the travel for one complete turn of the screw would be 5/10, or 1/2".

    Say you set the microstepping to be 1/4 on the stepper motor driver and your stepper motor has 200 natural steps per revolution (1.8 degrees per step), then the total steps would be 200 x 4 = 800.

    So, the steps/inch is 800 / 1/2" = 1600 steps per inch

    Hope that helps

    Click the link to respond:
    how to calibrate stepper motors with ballscrews In mach3

  • What brand and/or country of origin are the stepper motors?

    The stepping motors we sell are from China.

    Click the link to respond:
    What brand and/or country of origin are the stepper motors?

  • Which is cp step pulse and CR direction?

    CP- is the step pulse CP+ goes to common VCC 5v. CW- is the direction signal and CW+ goes to common 5v.

    Click the link to respond:
    Which is cp step pulse and CR direction?