Hello Guest it is March 28, 2024, 03:52:50 PM

Author Topic: Motor problem  (Read 6523 times)

0 Members and 1 Guest are viewing this topic.

Motor problem
« on: December 09, 2008, 07:35:10 PM »
Hi, I've just joined the forum, having just built a CNC Router. After having problems getting an output from the parallel port, which I eventually  found was a problem with the port driver, I now have an output, but the motors will only oscillate. They move in one direction for a fraction of a revolution, then reverse for the same amount continually when in jog mode. All my electrical equipment is Keling.

 

 

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Motor problem
« Reply #1 on: December 09, 2008, 08:00:04 PM »
Try setting the pulse width on motor tuning page to 5. Also make sure you have the motors coils connected the right way.
Hood
Re: Motor problem
« Reply #2 on: December 09, 2008, 11:22:12 PM »
You're a genius Hood. Why is it the thing that you don't check that is the problem? One of the steppers was not wired correctly when I joined the pairs, and the wiring to the drivers from the other motors was also incorrect. Only myself to blame! I now have motors turning when I toggle, but they go in one direction only, whether I hit plus or minus. Maybe I've wired something else incorrectly. Thanks again Hood.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Motor problem
« Reply #3 on: December 10, 2008, 02:34:49 AM »
Make sure your Dir pin is asigned properly, might also need the active state of it changed.
Hood
Re: Motor problem
« Reply #4 on: December 10, 2008, 05:36:11 PM »
Hi Hood, I've checked the port assignment, and swapped the pin assignment for step and direction, and it has no effect. I changed the active state and same result. I checked all wiring from the motors to the drivers, and from the BOB to the drivers, and all appears correct. When the motors run in one direction, the correct one I assume, they run smoothly, while in the opposite direction they are rough and jerky!

Many Thanks, Denis.   

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Motor problem
« Reply #5 on: December 10, 2008, 05:41:55 PM »
 To Test that the Dir signal is coming out of the PP you can disconnect the cable and put a voltmeter between the ports Gnd pin and the Dir pin and jog one way then the other, you should see 5V one way and 0V the other. If that works then put the cable back and check at the other end of the cable, if its getting there then put the cable back on the BOB and check the output Dir pins from the BOB.
Hood
Re: Motor problem
« Reply #6 on: December 10, 2008, 06:58:16 PM »
I checked the the voltage coming out of the PP and it is 3.5V. When I jog it drops to 3V. When I jog the other way the voltage does not change. The voltage at the BOB pins is 5V, and when I jog I get the same result with the voltage dropping to 4.2V when jogging one way, and not changing at all the other way. The motor runs roughly when the voltage drops, smoothly when it remains high. The BOB is powered at 5V by it's own transformer.
Denis

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Motor problem
« Reply #7 on: December 10, 2008, 07:02:24 PM »
Can you attach your xml, you will find it in the Mach3 folder. If you are using the standard Mill profile it will be called Mach3Mill.xml, if you are using a custom profile it will be the name of your custom profile.xml. You will need to copy the xml to your desktop and then rename it before the forum will accept it as an attachment, suggest you call it Sinbad.xml

Hood
Re: Motor problem
« Reply #8 on: December 10, 2008, 07:22:33 PM »
I have the xml file Hood, but cannot work out how to send an attachment with this reply. There doesn't seem to be a button in "quick reply", the only way I know to give you an answer, which allows you to add an attachment, as in normal email programs.
Denis.
Re: Motor problem
« Reply #9 on: December 10, 2008, 07:25:11 PM »
I think I have it worked out. Here is the xml.
Denis