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 10-01-2008, 08:26 AM
 
Join Date: Sep 2008
Location: usa
Posts: 11
jguerrera is on a distinguished road
Question Camsoft control axis position changing

I have a pc based camsoft control that uses a galil ethernet motion card. I have this system on a automatic swiss screw machine. The problem I am having is while the machine is running the X axis keeps growing as the machine is running parts. I run about 10 parts and the diameter in X grows about .002" which is .001" per side. I have checked the tuning several times and tried to use the backlash feature but nothing has changed this problem. I have the ratio set at 51200 and a motor with a 1024 line count. The machine axis stops right on the money and the readouts show that but when you measure the part the diameter is getting larger. I have been working with camsoft for 3 weeks about this problem and we seem to not be able to solve it. Anyone who has an idea on how to solve this please let me know.
Thanks
J.G.
Reply With Quote

  #2  
Old 10-01-2008, 09:49 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

I am a little puzzled by the ratio you are using as 50800 would be typical for a metric screw. Do you have a mechanical reduction in there as well? Is this a backlash free reduction?

Are the thrust bearings on the ballscrew in perfect adjustment? Encoder couplings tight?

Have you tried a trial cut at two different diameters that span the range of swing of the machine? Does it cut those two diameters correctly.

What about heat? Could this be a heat related issue where the spindle housing is warming up?

While I would not expect the readouts of the display to demonstrate a mechanical error, a series of programmed moves could be used back and forth between two positions, and a dial indicator to check for migration of the endpoint.

Have you tried adding in a return to home command at the end of every run of the program?

Do you have a shielded encoder cable? Is the shield grounded at only one end? Is it running in its own conduit?
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #3   Ban this user!
Old 10-01-2008, 10:23 AM
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 33
Bob Pierre is on a distinguished road

A while back I had the same problem.

My customer was cutting slots and the more slots he made the more the slots shifted and grew.

I don't have there manuals with me but there is a common question in there about this.

Sorry camsoft you may remember that I fought you on this but your suggestion on changing the ratio count to something something .2 worked.

I would say try 15200.5 or 15199.5 and keep adding or subtracting small amounts to the ratio value until its right.

.001 is small. A bigger value would be easier to tell what is wrong. With .001 it maybe backlash, tool wear or something mechanical. Any of the things HuFlungDung said.

Bob
Reply With Quote

  #4   Ban this user!
Old 10-01-2008, 11:47 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

I also had this exact problem on my CHNC. Drove me friggin' nuts. (short trip for me) In my case, I had a single ended encoder and a switch to differential solved the issue. steps were getting lost from the encoder.

I talked with both Camsoft and Galil about a way to find the index mark WITHOUT resetting home. then you could check for drift buy just reading exactly where the index mark is. Bottom line, Camsoft couldn't do this; Galil wanted a custom program charge.

NOTE: I found its NOT a good idea to just re-home during a production run without a first part dimension check. Indicator work proved that home varies by .0004" diameter. If you've got a spec of +/- .0005 you're dead in the water with a re-home.

If, buy chance, there's enough people with this issue; I have an elegant solution with the custom Galil program. (I just need Galil FI without resetting home)

Karl

P.S. I should have added how I determined home was drifting. Put an indicator on the machine and move to machine 0 once/cycle, record indicator reading. My readings kept moving, in my case about .001 per 25 parts.

karl

Last edited by Karl_T; 10-01-2008 at 01:13 PM.
Reply With Quote

  #5  
Old 10-01-2008, 01:31 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,532
Al_The_Man is on a distinguished road
Buy me a Beer?

I would think that the difference could be seen or not between a G53 X0 and a home routine.
The G53 will return the axis to the zero position without homing, and a home will reset the home position by marker seek, G53 might be better than G28.
If both these test move to exactly the same point, then it looks like machine growth, if they differ, then there may be something affecting count resolution or accumulation.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

Sponsored Links
  #6  
Old 10-01-2008, 02:50 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

What about the ratio between the encoder resolution and actual mechanical movement?
For example, using a .2000" pitch screw, and 1024 encoder, gives a resolution of .2/4096 = .0000488 travel per count. One has to wonder when and where rounding takes place and how a systematic error can be prevented.

Might be better to swap the encoder for something with a count that is exactly divisible in whole commanded units, with the given ballscrew.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #7  
Old 10-01-2008, 03:57 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,532
Al_The_Man is on a distinguished road
Buy me a Beer?

I don't think rounding does take place, from my experience with galil using software that utilizes native commands directly, for example if I am inputing positioning to two places of decimals, and my resolution is .0000125"/count, and If I check error using TE, I can maintain position, within zero to one count error, but even if my error was 10 enc counts, the card counter always keeps track of the actual count and knows the position is out 10 counts.
IOW the position is always recorded down to the resolution amount.
In this case though, even if my TE is zero, my recorded position can be out by the resolution value, i.e. the difference between the leading/trailing edge of A and leading/trailing edge of B, which is .000025".
At least that is my understanding.
Or HU, is this what you meant by rounding?
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #8   Ban this user!
Old 10-01-2008, 05:28 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Rounding error problems certainly must exist because several folks have "fixed" the drift problem by changed their encoder count per revolution by a very small amount like 0.1 out of 10,000 or more. I can see rounding being a problem if you're got metric lead screws, an odd encoder count, and you're running engish parts.

Now if you're got an english lead screw like the very common 0.200"/rev, you can put a 1000 count encoder on and never have a part count encoder move for english dimension parts.

Karl
Reply With Quote

  #9  
Old 10-01-2008, 06:21 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,532
Al_The_Man is on a distinguished road
Buy me a Beer?

Define rounding error as it applies to galil feedback ??
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #10  
Old 10-01-2008, 07:50 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Al,
I see what you are saying about whole encoder counts. However, with an oddball ratio between the encoder and the system resolution, the output command from Camsoft could contain couple of rounding errors before the command goes to the Galil. If the rounding errors are in one direction, they could accumulate if moves are then made in the reverse direction, but not the same series of steps, but let's say one long retract move with only one rounding error (because it is one move).

Wouldn't this bump the system in one direction systematically?

I think if one were planning to program in direct Galil encoder counts, then there would be no question that the desired feedback of the system should be an integral amount that worked out exactly as a whole number multiple with respect to the typical .0001" command units.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-01-2008, 07:53 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Originally Posted by Al_The_Man View Post
Define rounding error as it applies to galil feedback ??
Al.
How this is done is a bit "black box" to me. I know both the galil PA and PR commands only take a resolution of 1 encoder count for example. My understanding, if the move calculates out to XXXX.4 counts; you move XXXX and lose the .4. After 1000s of moves you can end up losing several counts. The resolution certainly may be more than 1 digit after the decimal point, but all computers round at some point.

The OP can eliminate this possibility by devising a program that only calls for moves of exactly 1 encoder count, no rounding. If there still is drift, look for another cause. Hu had a good list.

Karl
Reply With Quote

  #12   Ban this user!
Old 10-24-2008, 02:52 PM
 
Join Date: Jan 2008
Location: usa
Posts: 14
toolmanwaz is on a distinguished road

Jguerrera, Do you have an Oscope? I have run into this problem on machines that do not have Camsoft. What you need to do is monitor A+,A-,B+,B- phases on the encoder. You should have a very CLEAN square wave as you move the axis. What happened to me was the bearing in the encoder was shot. Ran fine one way and a crummy the other. Sometimes it would loose counts sometimes it wouldn't. Just a thought.
Jim
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
Changing/resetting the table position during a tool change? Jim Ster Mori Mills 2 08-13-2008 07:31 AM
5 Axis Simultaneous machining with camsoft cnc-it CamSoft Products 40 03-13-2008 01:16 PM
position module on 10T control guhl Fanuc 0 11-30-2007 02:38 AM
adding camsoft control to an omniturn scolee CamSoft Products 2 10-20-2007 08:09 PM
Camsoft control issues HANSENTECH CamSoft Products 8 03-25-2007 09:12 AM




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