586,321 active members*
4,021 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Stepper Motors / Drives > 3 axis setup: 2 motors work fine, 1 locks up
Page 1 of 3 123
Results 1 to 20 of 58
  1. #1
    Join Date
    Aug 2004
    Posts
    62

    3 axis setup: 2 motors work fine, 1 locks up

    What would cause a motor to studder or lock up when being ran?
    Keep in mind they are not connected to anything (except the wires of course).

    I have a 3 axis board from HobbyCNC, with 3 motors hooked up.

    I'm using Mach 2.

    I was jogging them around to test everything out, and I noticed X works fine, Z works fine, but Y locks up half the time. I might press "+" and it works, then press it again, and it just vibrates.

    What can cause this?

    Thanks a million!

  2. #2
    Join Date
    Aug 2004
    Posts
    104
    I think something is locking the motor up. Is Always this happening at the same place? If so, it is a mechanical problem you can correct it. You also have to check the encoders parameters. You can explain better when you say : it vibrates... coz the motor might have tried correct itself position....

  3. #3
    Join Date
    Aug 2004
    Posts
    62
    When I jog it forward or backward, it will spin smooth half the time, and just stutter/vibrate the other half. It's just random.

    The other two motors spin perfectly fine.
    I have the same settings for all motors.

  4. #4
    Join Date
    Jul 2004
    Posts
    104
    Check your parallel port with a volt meter. When I first connected mine I was having all sorts of problems, turns out some of the pins I expected to have zero volts had 5vdc. I had to install a cheap aftermarket parallel port card and it worked fine after that.

    When I upgraded that pc recently to a better pentium 4 2.26ghz motherboard built by Intel no less, that built in parallel port was even worse, there must have been 4 or 5 of the pins with 4-5vdc that were supposed to be zero. Again I installed an aftermarket parallel card and it works great.

    For some reason the manufactures are powering those pins, probably for aftermarket stuff like swappable dvd drives and the like. This issue can be really bad if you are using a notebook. Test every pin you plan to use.

  5. #5
    Join Date
    Aug 2004
    Posts
    62
    Do I test the voltage at any time, or when I'm actually using it(like testing the two pins for that axis while I'm jogging it)?

    Right now(not doing anything), it's reading 3.4v on all of the non-ground pins.

    Thanks a bunch!

  6. #6
    Join Date
    Nov 2003
    Posts
    634
    Swap two motors and if its doing the same thing, then you can rule out a motor problem. Then swap wiring, if its doing the same thing you can rule out a cable problem between the controller and the motor.

  7. #7
    Join Date
    Aug 2004
    Posts
    62
    Okay, I swapped motors. The problem is in the same axis.

    I don't really think I need to swap wiring. I have the wires really short right now, for testing, and I can see there are no problems.

    What could it be?

    Thanks again.

  8. #8
    Join Date
    Jul 2004
    Posts
    104
    Test the pins when you are doing nothing, and no programs running, especially not Mach2. Remove the parallel cable from the PC and test the pins at the PC parallel port. Ideally you want all the input/output pins you plan to use to read zero vdc (low) now none will read 0 exactly, you may get some that read 20, 30 milivolts but thats still considered zero. There is a voltage range, I do not know the exact limits but 0 to 1 vdc will most likely be read by the computer as Low zero volt, no signal. 4 to 5vdc will be read as high, it doesn't have to be 5vdc right on the money. But at 3.4 volt you are out here in the middle of lala land and I don't think thats good.

    The other suggestion about swapping motors and cables is also a great idea, eliminate some of the other possible causes.

  9. #9
    Join Date
    Aug 2004
    Posts
    62
    I just tested it again. Reads 4.2v at the end of the cable.

  10. #10
    Join Date
    Aug 2004
    Posts
    62
    Sorry, I don't know what I'm doing. I soldered together this controller board, built my power supply, but I don't know about this printer cable...

    Is there an easy way to test the printer cable pins? It's annoying trying to hold the probes to touch two at a time.
    But you said I should test directly at the computer. My probes won't fit in the pin holes.

    Let me get this straight...
    You said:
    " Ideally you want all the input/output pins you plan to use to read zero vdc (low) now none will read 0 exactly, you may get some that read 20, 30 milivolts but thats still considered zero."

    I want to use pins 2-7. I should test them coming OUT from the PC, correct? They should or shouldn't read 0vdc?

    It should read 4-5vdc, when?

    Thanks for your time.

  11. #11
    Join Date
    Aug 2004
    Posts
    62
    Okay........x_x

    I tested it AGAIN, right at the back of the computer, and it's 3.4vdc.

    But I wonder why the other axes work fine.

  12. #12
    Join Date
    Aug 2004
    Posts
    62
    I just did some reading, and found that 3.3v is normal for parallel ports now.

    I guess I should get a card...

  13. #13
    Join Date
    Jul 2004
    Posts
    104
    If your volt meter probe won't fit in the hole in the printer port then put the cable on and test at the other end of the cable, it should have male pins. Place your black/ground probe somewhere on the PC's metal case, the case should be grounded. Place your red/positive probe on the pin you wish to test. I would not assume one of the grounded pins is actually grounded not after the freaky ports I have tested. ;-)

    Here's a link to a parallel port pin printout in case you don't have one. To answer your question, none of the pins you wish to use should be reading more than some milivolts. 3.4vdc is not good. Some of mine read a solid 5vdc. I purchased my printer port cards at CompUSA by the way.

    If you want my honest opinion, I would not use any built in printer port on a newer computer, who knows what the manufacture designed it to do these days beyond the old standard or when it might start sending a signal out a pin when you don't want it to.

    http://www.timgoldstein.com/cnc/parallel.htm

  14. #14
    Join Date
    Jul 2004
    Posts
    104
    Sorry didn't read your entire question, Pins 2-7 should read zero to no more than some milivolts, you are good to go if they do. If they read 3, 4, 5vdc thats not good, get a parallel port card.

  15. #15
    Join Date
    Aug 2004
    Posts
    62
    Thanks a lot for your help.

    I ordered a new cable and a parallel port card after my last post. Hopefully that does the trick.

  16. #16
    Join Date
    Nov 2003
    Posts
    634
    Chozo, if your probe won't fit in the pin hole, just straighten out a paper clip. Stick that in the hole and put your probe against that.

  17. #17
    Join Date
    Aug 2004
    Posts
    62
    Quote Originally Posted by buscht
    Chozo, if your probe won't fit in the pin hole, just straighten out a paper clip. Stick that in the hole and put your probe against that.
    I don't know why I even made that comment. I ended up saying to myself, "What? This is no big deal."
    I ended up using some solid wire and doing just that. Which was how I made the post where I said:
    "I tested it AGAIN, right at the back of the computer, and it's 3.4vdc."

    I cut some at about 3/4" inch, and folded one end over, and made a loop. I put the pieces in the parallel port at the back of the computer, and then set the probes inside the loops that were hanging out.

    Using paper clips is a good idea too, so thanks for your input.

  18. #18
    Join Date
    Aug 2004
    Posts
    62
    I installed a new parallel port PCI card, and changed the settings accordingly.

    Same problem.

    The voltage is 5v using this card, so the previous idea that 3.4v could cause problems doesn't even matter now.

    Any advice is insanely appreciated.

  19. #19
    Join Date
    Jun 2003
    Posts
    3312
    Which hobby cncboard? The new chopper or the old one with power resistors? Did you measure the 5v with the driver board cabled to the computer? If its the chopped hobbycnc board, I suspect it's using a Sanyo driver. It needs 4V for a logic high. The only way you can verify that your card is outputting 4V into the driver board is to measure it with the board hooked up. It really sounds like the motor on bad channel is seeing step/clk signals that are too fast. An incompatable logic level or noise could be the culpret. Which axis?

    Phil

  20. #20
    Join Date
    Jul 2004
    Posts
    104
    I'm assuming you measured this at the PC/PCI card parallel port with nothing connected to it? If so what pins exactly are reading 5vdc? Also where did you buy the card? Brand?

Page 1 of 3 123

Similar Threads

  1. Staggering motors
    By viktorcnc in forum Stepper Motors / Drives
    Replies: 14
    Last Post: 10-25-2015, 08:11 PM
  2. Could Bob CAD/CAM work with 6 axis robot??
    By calkai1 in forum BobCad-Cam
    Replies: 4
    Last Post: 12-04-2008, 01:42 PM
  3. fourth axis indexer
    By senor J. in forum DIY CNC Router Table Machines
    Replies: 1
    Last Post: 08-04-2004, 09:34 PM
  4. Need help with staggering motors
    By viktorcnc in forum CNC Machine Related Electronics
    Replies: 0
    Last Post: 07-05-2004, 10:42 AM
  5. Will These Work (Stepper Motors)
    By Hawkeye in forum DIY CNC Router Table Machines
    Replies: 9
    Last Post: 12-06-2003, 06:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •