CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > Stepper Motors and Drives


Stepper Motors and Drives Discuss stepper motors, drivers and related topics here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-25-2004, 08:39 PM
 
Join Date: Aug 2004
Location: USA
Posts: 62
chozo is on a distinguished road
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!
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 10-25-2004, 09:18 PM
 
Join Date: Aug 2004
Location: Brazil
Posts: 96
Alex S.A is on a distinguished road

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....
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 10-25-2004, 10:15 PM
 
Join Date: Aug 2004
Location: USA
Posts: 62
chozo is on a distinguished road

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.
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 10-26-2004, 12:21 AM
*Registered*
 
Join Date: Jul 2004
Posts: 104
CNCPlastic is on a distinguished road

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.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 10-26-2004, 03:44 PM
 
Join Date: Aug 2004
Location: USA
Posts: 62
chozo is on a distinguished road

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!
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-26-2004, 04:40 PM
buscht's Avatar  
Join Date: Nov 2003
Location: United States
Posts: 634
buscht is on a distinguished road

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.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 10-26-2004, 05:12 PM
 
Join Date: Aug 2004
Location: USA
Posts: 62
chozo is on a distinguished road

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.
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 10-26-2004, 05:20 PM
*Registered*
 
Join Date: Jul 2004
Posts: 104
CNCPlastic is on a distinguished road

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.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 10-26-2004, 05:59 PM
 
Join Date: Aug 2004
Location: USA
Posts: 62
chozo is on a distinguished road

I just tested it again. Reads 4.2v at the end of the cable.

Last edited by chozo; 10-26-2004 at 06:09 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 10-26-2004, 06:17 PM
 
Join Date: Aug 2004
Location: USA
Posts: 62
chozo is on a distinguished road

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.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-26-2004, 06:55 PM
 
Join Date: Aug 2004
Location: USA
Posts: 62
chozo is on a distinguished road

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.
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 10-26-2004, 07:05 PM
 
Join Date: Aug 2004
Location: USA
Posts: 62
chozo is on a distinguished road

I just did some reading, and found that 3.3v is normal for parallel ports now.

I guess I should get a card...
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Could Bob CAD/CAM work with 6 axis robot?? calkai1 BobCad-Cam 4 12-04-2008 07:42 AM
Staggering motors viktorcnc Stepper Motors and Drives 12 10-12-2005 05:56 AM
fourth axis indexer senor J. DIY-CNC Router Table Machines 1 08-04-2004 04:34 PM
Need help with staggering motors viktorcnc General Electronics Discussion 0 07-05-2004 05:42 AM
Will These Work (Stepper Motors) Hawkeye DIY-CNC Router Table Machines 9 12-06-2003 12:53 PM




All times are GMT -5. The time now is 08:49 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353