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! > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-18-2010, 12:08 AM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road
Problem with Z-axis direction

I recently finished assembling my new router (from my old router's parts).

I also just upgraded to Ubuntu 10.04 and EMC2 2.4.5. I was running 2.3.? on 8.04 and experienced the same problem, so it may be that it is not EMC2 related but I am not sure yet.

The problem is that the z-axis does not seem to be responding consistently to the DIR signal. I have an LED on the DIR lines (BOB inputs) and when I try to jog the z-axis, if I press the minus button in Axis sometimes it will go down and sometimes it will go up. The direction that it moves corresponds to whether the LED is lit or not.

It was working fine before I took the old machine apart but now it is giving me fits. I don't know whether it is a computer problem or a software problem. The X and Y axis are not exhibiting the same problem.

Any suggestions??? Maybe I should move the z-axis connector to the x-axis and see if the problem follows the connector?

Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

  #2   Ban this user!
Old 10-18-2010, 12:38 AM
 
Join Date: May 2006
Location: United States
Posts: 117
lumberjack_jeff is on a distinguished road

definitely switching axes can help with diagnostics.

Is it possible that the new z is too heavy and you're losing steps?
Reply With Quote

  #3   Ban this user!
Old 10-18-2010, 07:17 AM
 
Join Date: Apr 2007
Location: USA
Posts: 5,915
CarveOne is on a distinguished road

I had something like this happen when my Dumpster CNC delrin coupler started slipping.

As a test of whether the Z axis is too heavy, or is binding, loosen your coupler and see if the motor consistently reverses direction.

If you have a connectorized cable, make sure all of the pins are fully engaged to the same depth. DB9 connectors from some vendors can get pushed back into the connector body and will become intermittent before not working at all.

CarveOne
__________________
CarveOne
Resistance is not futile. It is voltage divided by current (R=V/I).
Reply With Quote

  #4   Ban this user!
Old 10-18-2010, 01:06 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Originally Posted by lumberjack_jeff View Post
definitely switching axes can help with diagnostics.

Is it possible that the new z is too heavy and you're losing steps?
I am not even trying to run code yet. It is just in manual jog that I am experiencing the problem, so I don't think losing steps is an issue yet??

I will try switching cables and see if the problem follows the port or the axis.

Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

  #5   Ban this user!
Old 10-18-2010, 05:14 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

OK, I incorrectly described the problem.

The dir LED goes on when I press "+" button and goes off when I press "-" button. So, the control box seems to be receiving the correct signal from EMC2. However, regardless which button I press, sometimes it goes up and sometimes it goes down.

If I press the "+" button and it is going up (correct action), then I have to press the "-" button to get it to go down. The problem is that sometimes it continues going up and I have to press the "-" button multiple times to get it to change direction.

If I press the "+" button and it is going down (incorrect action), then I have to push the "+" button multiple times to get it to go up. Same basic situation in reverse for the "-" button.

I have flats ground on both the screw shaft and the motor shaft for the setscrews of the Lovejoy connector. I am using 4 pin power connectors (look like audio mike connectors but slightly higher amperage ratings).

I would suspect a loose direction wire on the z-axis drive but when I switched the Y and Z connectors the Y axis behaved fine with the z drive and the Z axis behaved the same way with the Y drive. So that would seem to indicate to me some kind of mechanical problem. I just don't understand what.

The z-axis is no heavier than when it was working correctly, in fact it is lighter right now because I don't have the router mounted. I am using the same leadscrew and nut but the rails are mounted slightly different. If it is mechanical, the possibilities seem to me to be: 1. a binding on the rails or 2. a binding of the nut against the screw. I tend to rule out no. 1 because the carriage seemed to slide freely on the rails before installing the screw.
That leaves the very real possibility that the screw is binding in the nut. I guess I could take the motor off and borrow a sensitive torque wrench to see how much force it takes to turn the screw. Thoughts?

I would have thought that if things were too tight it just wouldn't move not move in the wrong direction.

Alan
__________________
http://www.alansmachineworks.com

Last edited by acondit; 10-18-2010 at 05:16 PM. Reason: Add info
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-18-2010, 06:00 PM
 
Join Date: May 2006
Location: United States
Posts: 117
lumberjack_jeff is on a distinguished road

It seems to me that you've verified that everything between emc and the driver is okay. I would look carefully at the wiring between the driver and the z stepper. Be sure the wire hasn't failed/shorted and that it's not picking up any noise. If there's enough wire slack, I'd plug your 4-pin z connector into another stepper.

Your connectors should make diagnostics relatively easy. The goal is to try everything to get a different axis to display the z behavior.

I would also swap two stepper motors. Alternatively, I'd remove/uncouple the lovejoy coupler and see if the stepper's behavior changes.

I'd recommend ruling out any electrical problems prior to chasing mechanical ones.
Reply With Quote

  #7   Ban this user!
Old 10-18-2010, 08:17 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Originally Posted by lumberjack_jeff View Post
It seems to me that you've verified that everything between emc and the driver is okay. I would look carefully at the wiring between the driver and the z stepper. Be sure the wire hasn't failed/shorted and that it's not picking up any noise.
OK, I'll check the wiring.

If there's enough wire slack, I'd plug your 4-pin z connector into another stepper.
I thought that was what I did? I plugged the z into y and y into z. Is that what you mean?

Your connectors should make diagnostics relatively easy. The goal is to try everything to get a different axis to display the z behavior
Yeah, but if it is mechanical, its not going to happen.

I would also swap two stepper motors. Alternatively, I'd remove/uncouple the lovejoy coupler and see if the stepper's behavior changes.
I will think about this one. I see the logic, I just don't like the work that is involved. It may come down to this to prove that the problem isn't the z stepper though.

I'd recommend ruling out any electrical problems prior to chasing mechanical ones.
I thought that I did that when the z-axis driver drove the Y-axis fine. Forgive me if I seem snippy, it is not my intention. I'm just frustrated that I tore down a working machine to build a better one (that now doesn't work right).

Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

  #8   Ban this user!
Old 10-18-2010, 09:00 PM
 
Join Date: May 2006
Location: United States
Posts: 117
lumberjack_jeff is on a distinguished road

Originally Posted by acondit View Post
OK, I'll check the wiring.

I thought that was what I did? I plugged the z into y and y into z. Is that what you mean?
Maybe I misunderstood. I inferred that you have plugs on both ends of your cables and that you unplugged cables from the drivers. I'm suggesting you rearrange the ends at the steppers.

Yeah, but if it is mechanical, its not going to happen.
In my experience it's easier to diagnose electronics. The mechanical part is too subjective ("How much friction is too much? Is this binding?). YMMV.
Reply With Quote

  #9   Ban this user!
Old 10-18-2010, 10:48 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

No, I just unplugged the z and y cables from the controller box and switched them. The cables are fed through cable chains and different lengths so it would be difficult to actually switch the y and z cables.

Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

  #10   Ban this user!
Old 10-19-2010, 05:34 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Jeff and CarveOne,

I didn't want it to be the z-motor but it was. I replaced the 200oz/in stepper with a 471oz/in one (the only other Nema34 that I had that was even close to running on that power supply). It runs like a top. Instead of jogging at 45ipm it runs 120ipm without breaking a sweat. It didn't even try any faster for the moment.

Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-19-2010, 06:58 PM
 
Join Date: May 2006
Location: United States
Posts: 117
lumberjack_jeff is on a distinguished road

I'm glad you have made progress. I've never personally had a stepper motor fail on me, they're pretty durable. Have you tried swapping it onto another axis to verify that it's bad and not just underpowered for the mechanical conditions?

It seems to me that you still have two possible explanations; bad motor or mechanical friction.
Reply With Quote

  #12   Ban this user!
Old 10-19-2010, 11:49 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Originally Posted by lumberjack_jeff View Post
I'm glad you have made progress. I've never personally had a stepper motor fail on me, they're pretty durable. Have you tried swapping it onto another axis to verify that it's bad and not just underpowered for the mechanical conditions?

It seems to me that you still have two possible explanations; bad motor or mechanical friction.
Not yet, but I suppose I ought to do it just to know for sure.

Alan
__________________
http://www.alansmachineworks.com
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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with servo. flakey in one direction Daniel Wilcox Servo Motors and Drives 24 02-14-2011 03:44 PM
problem - milling direction spaltiel CamBam 7 06-27-2010 06:13 PM
problem with inconsistent stepper direction svatchi DIY-CNC Router Table Machines 6 08-01-2008 09:18 PM
problem with program and direction woffler Mach Software (ArtSoft software) 7 02-16-2008 07:03 PM
Xylotex Direction Z -axis problem Sanghera Xylotex 4 09-18-2007 04:12 PM




All times are GMT -5. The time now is 04:58 AM.





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 354 355 356 357 358 359 360 361