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

Question #: 14545

Question: My Z motor only goes in the up direction

Current Solution

The wire that connects from the CNC controller to the stepper motor driver that is responsible for direction (called DIR, or CW) is not connected, or not connected well. This can be true for the positive direction terminal or the negative direction terminal.

Additional Information:
I checked the connections all appear to be secure. I completely turned off all systems, restarted, and the problem went a way. ??? not sure why.

Respond:

Other Possible Solutions to this Question

  • my motor only goes one direction. I checked all the wiring and it's correct. Any suggestions?

    The video showing the hookup of the large motors showed a sequence that was not correct, or I totally misread what was recommended. I hooked the first motor up that way and it would only go in one direction in a very jerky mode. I confirmed that i had hooked it up the way the video showed, disconnected the wiring that runs through to the motor and reconnected it, thinking maybe a cold solder joint was the problem. No good. I finally went to the motor page that showed a different connection pattern. I tried the one that the motor page said to do, and it works smoothly and in the right direction now.

    Click the link to respond:
    my motor only goes one direction. I checked all the wiring and it's correct. Any suggestions?

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

  • Why does my axis only go in one direction?

    The wire that connects from the CNC controller to the stepper motor driver that is responsible for direction (called DIR, or CW) is not connected, or not connected well. This can be true for the positive direction terminal or the negative direction terminal.

    Additional Information:
    I checked the connections all appear to be secure. I completely turned off all systems, restarted, and the problem went a way. ??? not sure why.

    Click the link to respond:
    Why does my axis only go in one direction?

  • The z-axis on my assembled machine is moving in the opposite direction

    If your Z axis is moving in the opposite direction, go into Mach3, click on config, ports & pins, then click on the motor outputs tab. You will see the axes labeled on the left and the parameters labeled on the top of this dialog box. Toggle the dir low active for the z-axis.

    Additional Information:
    What if I'm having the same issue on a different axis?

    Additional Information:
    You can follow the same procedure as with the z-axis. When you get to the motors outputs tab, toggle the dir low active checkbox for the axis that you would like to change.

    Additional Information:
    sdf

    Additional Information:

    Click the link to respond:
    The z-axis on my assembled machine is moving in the opposite direction

  • my servos only spin in one direction! and not only that, but when they do spin it is super jittery and inconsistent, it will spina small amount and juat clcik,

    This sounds like a wiring issue where you have the incorrect wires going to the driver in the wrong locations (i.e. A+ A- B+ and B-). Check the wiring diagram for the motor and verify that it is wired correctly.

    Click the link to respond:
    my servos only spin in one direction! and not only that, but when they do spin it is super jittery and inconsistent, it will spina small amount and juat clcik,

  • reverse stepper motor direction on pokeys

    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:
    reverse stepper motor direction on pokeys

  • Can the spindle speed and direction be conrolled by 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:
    Can the spindle speed and direction be conrolled by LinuxCNC?

  • I have wired the step motors with the USB breakout board. When I jog the y axis it travels in the wrong direction. How do i switch the motors rotation?

    For the USB controller and reversing the rotation for a motor, you would need to do this in the software (planet-cnc). In the configuration, you will need to reverse the direction by inverting the direction output.

    Technically, the motor changes direction when the direction signal changes from a high to a low, or vice verse. For instance, the motor turns in one direction when the direction signal is, say, low. The motor will turn in the other direction when the direction signal is high. High is 5v and low is 0v or gnd.

    Click the link to respond:
    I have wired the step motors with the USB breakout board. When I jog the y axis it travels in the wrong direction. How do i switch the motors rotation?

  • My mechanical limits work by changing color on computer when tripped but the stepper motors don't stop on X and Y only Z.

    Please let us know which board and machine you are using so that we can help you troubleshoot the problem.

    Click the link to respond:
    My mechanical limits work by changing color on computer when tripped but the stepper motors don't stop on X and Y only Z.

  • how do you hook up the 100 oz-in motor wires to the driver?

    Black - A+, Green A-, Red B+, Blue B-

    Click the link to respond:
    how do you hook up the 100 oz-in motor wires to the driver?

  • how do i change the direction of a particular axis?

    If your Z axis is moving in the opposite direction, go into Mach3, click on config, ports & pins, then click on the motor outputs tab. You will see the axes labeled on the left and the parameters labeled on the top of this dialog box. Toggle the dir low active for the z-axis.

    Additional Information:
    What if I'm having the same issue on a different axis?

    Additional Information:
    You can follow the same procedure as with the z-axis. When you get to the motors outputs tab, toggle the dir low active checkbox for the axis that you would like to change.

    Additional Information:
    sdf

    Additional Information:

    Click the link to respond:
    how do i change the direction of a particular axis?

  • My Nema 24 motors make high pitched alarm sound when changing directions quickly - what could be the cause? Red LED is lit on Microstep Driver CW230 but everything seems to run fine - is this a problem?

    Stepper motors are known to make different type of noises when in motion. So there should be no issues in regards to accuracy with the steppers. You also might be able to lower the noise that comes from the motors, by adjusting the acceleration and velocity of the motors. This usually tends to either make different noises or lowers the pitch of the noises.

    Cool video(personal opinion, does not relate to BYCNC):

    Click the link to respond:
    My Nema 24 motors make high pitched alarm sound when changing directions quickly - what could be the cause? Red LED is lit on Microstep Driver CW230 but everything seems to run fine - is this a problem?

  • I have theNema 24, 425 Oz stepper motors kit what are my Ports and Pins?

    The ports and pins are designated by the breakout board that you have, Now here are the schematics for both(https://www.buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay#prettyPhoto/2/ and https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-USB-Controller-Breakout#prettyPhoto/2/) Which for the Parallel the pins will be 1,14,2,3,4,5,6,7,8,9. For 1,14 you will need to use them together for a additional axis. Setup will be (ex.mach3) step in (2) / direction pin (3). continued for other pins, 4,5 6,7 etc.
    Now for the USB it has the label on the board right next to the terminal blocks, x-axis/etc.

    Click the link to respond:
    I have theNema 24, 425 Oz stepper motors kit what are my Ports and Pins?

  • My CNC machine has suddenly started going in only one direction in the Y axis. It was working fine for several days and then started going in a single direction when I would do a manual job.

    We have ran across this issue on occasion, and usually results is there is something along your wiring that is causing a fault or is not getting good contact.
    We would recommend going through the wiring thoroughly and checking continuity with the y-axis wires, going from your USB or Parallel BoB to the driver.

    Click the link to respond:
    My CNC machine has suddenly started going in only one direction in the Y axis. It was working fine for several days and then started going in a single direction when I would do a manual job.

  • HOW DO I DETERMINE THE AMOUNT OF SCREW WEIGTH THAT MY MOTOR CAN HANDLE

    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:
    HOW DO I DETERMINE THE AMOUNT OF SCREW WEIGTH THAT MY MOTOR CAN HANDLE

  • With the Mach3 USB board, my stepper motors are moving or spinning slowly.

    If your motors turn very slowly using your Mach3 USB board, then either the pulse from the board is being output at a slow rate or the motor drivers are set to a higher than expected microstepping:

    The Mach3 USB board outputs the pulse rather than the computer, but Mach3 controls this pulse frequency within the motor tuning section. First, determine if the travel distance is correct with the computer and the physical travel of the machine.

    If the travel is different, then your stepper motor driver's microstepping is incorrect, or the steps per inch/mm in the motor tuning within Mach3 is incorrect.

    If the travel is correct, then simply change the velocity and acceleration parameters to your desired level. If Mach3 will not achieve the velocity you desire, then decrease your stepper motor driver's microstepping setting, readjust the step per inch/mm in mach3 and readjust the acceleration and velocity to your desired levels.

    Click the link to respond:
    With the Mach3 USB board, my stepper motors are moving or spinning slowly.

  • MY MOTORS GET REALLY HOT TO THE TOUCH.

    If your motors are hot to the touch, this is normal. Current is being drawn by the motor coils as the motor moves and as the motor stays at a position. If the motor is not using the current in the coils to move (holding it's position), the energy will be translated as heat (rather than motion, sound or light). Even while moving, some of the energy will be lost as heat. Remember that energy cannot be created nor destroyed.

    Click the link to respond:
    MY MOTORS GET REALLY HOT TO THE TOUCH.

  • what are the motor setting for the greenbull

    In the customer service live, just enter "motor tuning" and it will give you a list of all the recommended or default settings for our machines. However the acceleration and velocity for the greenBull(other machines) will be an actual determination on your trials. You will want the highest possible acceleration and velocity without the motors stalling, so you can do increments of ten to be on the safe side, if it is too slow try increments of 25.

    The steps per inch is dependent on the microstepping:
    Steps/Inch for the x and y
    Steps = 200 motor steps per revolution x 16 microsteps = 3200 steps
    Inches = sprocket number of teeth x pitch of the sprocket = 14 x .25" = 3.5 inches
    steps/inch = 3200 / 3.5 = 914.28
    This is really a starting point. You will then need to use the mach3 calibration function to get the perfect steps/inch value. Use as long a measurement as possible when calibrating.

    Velocity:
    Start with a value of 1000 ipm. Increase this value with a relatively low acceleration at about 10. You will notice at a particular velocity that it will stall. This is your stall velocity. I would take the stall velocity and reduce it by about 30% to 50% which should give you a good final safe velocity.

    Acceleration:
    Once the velocity is found, raise the acceleration until it start to stall at a low velocity. Reduce the acceleration by about the same percentage to stick with a safe acceleration.

    The acceleration is mostly dependent on torque (current) and the top speed is dependent on the amount of voltage.

    Give some tests with all of the axes running at the same time. If you notice and stalling, reduce velocities and acceleration depending on when the stall happens (top end, or acceleration curve).


    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

    Additional Information:


    Additional Information:


    Additional Information:
    4th axis


    Additional Information:

    Click the link to respond:
    what are the motor setting for the greenbull