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  
Old 07-07-2008, 06:36 PM
*Registered User*
 
Join Date: Mar 2006
Location: USA
Posts: 49
ozturbo is on a distinguished road
Encoders not working correctly

Hello,

I am working on retrofitting a cnc with a mesa 5i20, 7i33, and 7i37. I finally got to the point today where everything is pretty much ready for testing. I have a problem though. The x encoder works fine, emc shows counts in positive and negative. The y encoder shows only negative movements, when i spin the motor clockwise it pulses +-.0001. and the z axis does not work at all. Any help is appreciated thanks.
Reply With Quote

  #2   Ban this user!
Old 07-08-2008, 11:24 AM
 
Join Date: Feb 2008
Location: USA
Posts: 106
PCW_MESA is on a distinguished road

Originally Posted by ozturbo View Post
Hello,

I am working on retrofitting a cnc with a mesa 5i20, 7i33, and 7i37. I finally got to the point today where everything is pretty much ready for testing. I have a problem though. The x encoder works fine, emc shows counts in positive and negative. The y encoder shows only negative movements, when i spin the motor clockwise it pulses +-.0001. and the z axis does not work at all. Any help is appreciated thanks.
Sounds like the quadrature signals are not clean, I would check these things:

1. Is 7I33 jumpered properly to match encoder type? (TTL or differential)
( using TTL encoders when the 7I33 is jumpered for differential will
generate the type of behaviour you are seeing)

2. Measure 5V power to encoders

3. Check encoder wiring carefully

4. Trace the encoder signals from the encoder to the 5I20 either using a voltmeter or LED and resistor.

5. View the encoder signals with an oscilloscope if you have one.

Peter Wallace
Reply With Quote

  #3  
Old 07-08-2008, 12:22 PM
*Registered User*
 
Join Date: Mar 2006
Location: USA
Posts: 49
ozturbo is on a distinguished road

From what i understand the encoders are differential they have a a/ b b/ z z/. They are all the same encoders and x works fine. I'm measuring 4.86 volts on the encoder power coming from the mesa card. One thing I noticed is if I plug in the 7i37 also, the 7i33 will power on briefly then the led's will dim out. I am thinking that the 50 pin connector can't supply enough power for all the encoders. I will try hooking the cards up to an external 5v supply.
Also, i will check the wiring, it seemed correct but they have been spliced together in 2 locations so something may have came loose as I was messing with them.
Reply With Quote

  #4   Ban this user!
Old 07-08-2008, 12:35 PM
 
Join Date: Feb 2008
Location: USA
Posts: 106
PCW_MESA is on a distinguished road

Originally Posted by ozturbo View Post
From what i understand the encoders are differential they have a a/ b b/ z z/. They are all the same encoders and x works fine. I'm measuring 4.86 volts on the encoder power coming from the mesa card. One thing I noticed is if I plug in the 7i37 also, the 7i33 will power on briefly then the led's will dim out. I am thinking that the 50 pin connector can't supply enough power for all the encoders. I will try hooking the cards up to an external 5v supply.
Also, i will check the wiring, it seemed correct but they have been spliced together in 2 locations so something may have came loose as I was messing with them.
Note: if you supply external power to the encoders (because the 400 mA or so of cable supplied power is insufficient), it must be done in one of two ways:

1. Connect external 5V power to just the encoders, NOT the 7I33!

2. If you supply 5V power to the 7I33, it must come from the PC that has the 5I20 installed.

When we do a 7I33 card revision we will change the power wiring so that the external power connector only powers the encoders, but for now, the above wiring limitations must be observed.

Peter Wallace
Reply With Quote

  #5  
Old 07-08-2008, 12:56 PM
*Registered User*
 
Join Date: Mar 2006
Location: USA
Posts: 49
ozturbo is on a distinguished road

Ok thanks, I know the computer doesn't have any 5v connectors available. I will try powering the encoders separately.
Reply With Quote

Sponsored Links
  #6  
Old 08-05-2008, 11:54 PM
*Registered User*
 
Join Date: Mar 2006
Location: USA
Posts: 49
ozturbo is on a distinguished road

Ok, I got all the encoders to atleast work now, but I have some issues I don't understand. First, the z axis encoder was bad so that was it's problem. The issue I have now is all three encoders are the same, but I can't get the z and y to work with a a/ b b/ only a and b connected, but x work with everything hooked up without a problem. Any suggestions.
Reply With Quote

  #7   Ban this user!
Old 08-06-2008, 09:44 AM
 
Join Date: Feb 2008
Location: USA
Posts: 106
PCW_MESA is on a distinguished road

Originally Posted by ozturbo View Post
Ok, I got all the encoders to atleast work now, but I have some issues I don't understand. First, the z axis encoder was bad so that was it's problem. The issue I have now is all three encoders are the same, but I can't get the z and y to work with a a/ b b/ only a and b connected, but x work with everything hooked up without a problem. Any suggestions.
That sounds like the Z and Y encoders have trouble driving the differential input termination which points to some kind of wiring issue or wrong encoder type selection on the 7I33:

for example if you have the 7I33 set for TTL but use differential encoders, this sort of behavior is likely. What happens is that the individual A or /A signal will drive the TTL inputs as long as they are not terminated (both A and /A connected) as soon as you connect both A and /A they have to drive the differential termination resistor, reducing their signal swings to the point that they will no longer drive to valid TTL levels.

Assuming the encoders are differential, I would first verify the the 7I33 is jumpered for differential mode on all channels and next measure the actual encoder signals.

Normally, I would check the encoder signals with an oscilloscope, but if you don't have an oscilloscope, a voltmeter will do. The A, /A and B,/B lines are complementary, that is if one is at a logic high level, the other should be at a logic low level, that is they are just logically inverted from each other.

If you measure the A and /A voltages to ground (while connected to the 7I33 and motor power leads disconnected), one should be at a high voltage and one at a low voltage, the high voltage should be somewhere around 2.4 to 5V and the low voltage should be less than 1V. If you move the motor shaft slightly you should be able to get the high and low signals to reverse. The B and /B signals should behave identically.

Peter Wallace
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
DFX is not imported correctly... ihkim GRZ Software- MeshCAM 11 01-07-2010 11:57 AM
How to correctly chamfer a hole? Darc G-Code Programing 40 10-16-2008 01:37 AM
How to price a job correctly? kesuma General Business Practices and Pricing 12 08-22-2008 09:11 PM
Will Jog but not Move Correctly in G code dafowfidy Mach Software (ArtSoft software) 5 03-29-2007 10:27 PM
Are tachometers correctly referred to as encoders? Smertrios Stepper Motors and Drives 8 10-05-2006 06:13 PM




All times are GMT -5. The time now is 05:24 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 354 355 356 357 358 359 360 361