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 > CamSoft Products


CamSoft Products Discuss Camsoft PC based CNC controller products here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-01-2005, 01:22 AM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road
Encoder Hookup

Ok..
Here is a cut-out from my servo manufacturers page on hooking up the "Encoder Simulation" port to the cnc controller.

Keep in mind that the motor has a "Resolver" that hooks up to the servo drive. The servo drive has an "Encoder Simulation" port that gets wired to my ICM2900 from Galil.
But the manufacturer does not specifiy what each pin is. They only reference them as shown in the drawing.
The ICM2900 has +max, -max, +mbx, -mbx, +inx, -inx, +5v, gnd.

I would assume that max is A chanel, mbx is B channel. but what about the 3rd set of twisted pairs that are marked as C and C- on the servo drive module? Do those go the [inx] ?? The servo resolver has an Excite channel also.. Is that the C and C- ??
The system seems to work with just the A an B channels hooked up but I wonder if I did the right thing or not by leaving the C channel unhooked.

Any suggestions?
Attached Thumbnails
Click image for larger version

Name:	EncoderHookup.jpg‎
Views:	99
Size:	41.9 KB
ID:	5712  
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 03-01-2005, 07:24 AM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 529
HillBilly is on a distinguished road

C+ and C- should be the index pulse from the drive to the Galil. You will not notice it is disconnected until you issue a FINDINDEX command. Like Al stated this is a precision marker for homing. It occures either once per encoder cycle or once per revolution.

The mechanical home switch will vary but going to the next encoder marker pulse after the switch is triggered is very repeatable.

Darek
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 03-01-2005, 12:47 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,713
Al_The_Man is on a distinguished road
Buy me a Beer?

Murphy, I previously gave you a bum steer, I thought that the C wires were the power supply, I am used to seeing Z designated as the marker pulse, Having said that your diagram does not show encoder signal common? This is what I meant when I mentioned that some simulator ports have a common and a +5v, in this application the +5v would not be connected.
Your resolver is completely separate from the encoder signals, as the resolver only has a sine/cosine signal and is very low resolution, so apart from being used for motor commutation, it is electronically multiplied and conditioned for Differential line driver output for the encoder simulation plus marker.
Al
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 03-01-2005, 01:59 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

Is Hillbilly right?
Should I connect the c and c- from the encoder simulation to the index + and index - terminals on the ICM2900??
Please be patient with me. I will learn encoders but right now I have my hands full working out wiring mistakes and other bugs.
Also, what I found very interesting is that when I look at the block processing diagram in the servo manufactures drawing, it looks like it shows all the negative (Low) terminals on the resolver are hooked to gnd anyhow. They are all marked "0 Volts" on the drawing. SinHigh, SinLow, CosHigh, CosLow, ExciteHigh, ExciteLow. <<<as marked on the resolver terminals...
I guess that would make sense if the resolver is really nothing more than a spinning transformer. (but what do I know).

From reading both of your replies, am I to understand that I don't even need to hook up the index wires? (remember my tolerance is + or - 1/4 inch or more!)

As I understand Hillbilly's post, the marker pulse or index pulse is only there because a mechanical limitswith will trip at different points varying a few thousands here and there? (I understand those fine accuracies are required for most cnc applications)
So a normal homing routine would direct the machine to the home switch. When the machine hit the home switch it would slow down greatly and then look for the next marker or index within the following motor shaft rotation?
So in most applications, the home switch is nothing more than an approximate location and the shaft orientation will determine the actual physical position of home?
I must have this correct because it sounds logical. Yes?

Thanks for the help..
Murph
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 03-01-2005, 02:15 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,713
Al_The_Man is on a distinguished road
Buy me a Beer?

Murph, Yes Darek was right about the C channel signals, and if you have them why not hook them in, Galil has instructions for finding a switch trip as well as finding the marker, the normal way is to use both as you point out. Did you check the simulation port to see if it mentions a signal common?
Al
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-01-2005, 03:35 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

The simulation port does not mention any signal common.
The manufacturer included very little information about it in the manual. (and I have both versions of the manual) LOL..

They only list the pins as described.
In the DigitAx brochure (and I just found a single reference to it ) they list the encoder simulation as dual quadrature channel with marker pulse.
(Yes, after a 4months of referencing this manual, I just found this) Its listed under the "features" section..

So now, I look like a moron, and I would assume the C and C- are Index and Index -.

It would have took me much longer had someone here not refereed to that index as a "marker".

Now I am learning.

Also, if I was to check out the encoder pulses with a scope, would I be correct in assuming the timing I needed would be RPM X Encoder Counts per Revolution?

Thanks for your help,
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 03-01-2005, 03:44 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,713
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by murphy625
Also, if I was to check out the encoder pulses with a scope, would I be correct in assuming the timing I needed would be RPM X Encoder Counts per Revolution?
That should display one encoder pulse, also remember that the motion card can increase the resolution by a factor of 2 or 4, it does this by counting both the two leading edges of the A & B pulse, or the leading/Trailing edges to effectively give for a 2000 count encoder, either a 4000 or 8000 count/rev resolution.
Al
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 03-01-2005, 03:56 PM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 529
HillBilly is on a distinguished road

Common should only matter when using single ended encoder signals. When using the differential inputs opposite signals are detected and common signals (noise) are rejected.

From what you describe about your resolvers they are being used single ended.

1/4" Tolerance that is loose. The exact home is a nice feature to resume a cut after a mishap, say a power failure ect...

Darek
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 03-01-2005, 04:46 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

Thank you AL,

Thank you Hillbilly,

Murphy
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
encoder issues rutexus Servo Drives 13 05-21-2006 07:49 PM
What's your max distance to encoder? murphy625 General Electronics Discussion 5 05-12-2005 11:57 AM
Need encoder recommendation Swede General Metal Working Machines 9 10-05-2004 09:01 PM
Encoder wiring hookup help ty1295 General Electronics Discussion 1 07-04-2004 10:00 AM
Encoder wiring balsaman Gecko Drives 15 12-30-2003 12:01 PM




All times are GMT -5. The time now is 10:05 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