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 06-08-2006, 10:08 AM
 
Join Date: Aug 2005
Location: usa
Posts: 25
alfalfa is on a distinguished road
Inaccurate feedrate

Setting up a gantry planer mill using Camsoft Pro 15.9. GEAR/RATIO is adjusted to get the correct amount of phyiscal travel for a given commanded distance. Each axis is different as there are different gear boxes/pulleys on each. The problem is that when I make a move G1X10F10 it moves at approx 1/3 commanded feedrate. Camsoft has given me their explanation, but I am too dense to understand why the feedrate isn't accurate when making a simple, 1-axis move. (I haven't really tested multi-axis yet.) Am I that unusual that I have the only machine where not every encoder is reading the same pulses per inch? Any suggestions would be great. I have Camsoft looking at my .cbk, but I would like to hear from any of you front line guys that may have a practical, here's-what-to do, suggestion. I have looked at Q114 and tried to follow it - to no avail.

Thanks,
AL
Reply With Quote

  #2  
Old 06-08-2006, 01:00 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

All you really need to do is check that the calculated move ends when your stopwatch says it should.

For example, make a 1, 2 or 3 axis move that has a total length of 10 inches at a feedrate of 10 inches per minute. The motion should stop exactly after 60 seconds.

If you are using the standard Camsoft variable \73 for feedrate, you can adjust this variable in your STARTUP.fil
\73 =333

This sets the initial boost of Camsoft's normal feedrate to 333% of normal. Trouble is, you have to take pains in the rest of your logic to return any feedrate override to this factor so that at normal feedrate, the \73 = 333

What I did was kept my feedrate override boost values in a new seperate variable, and set up logic to call in that new variable. Here is sample code from my INPUTIO.FIL that might help you with feedrate override, or it might confuse the heck out of you

IF#18=1THEN\318={\318+1} :GOTO :HOLD 'input18 is called "feedhold momentary pushbutton"
IF#17=1THEN\273={\273+.1} 'feedrate increase pushbutton located on right side of feedhold button
IF#19=1THEN\273={\273-.1} 'feedrate decrease pushbutton located on left side of feedhold button
IF\273<0THEN\273=0 'minimum feedrate override is zero, or equivalent to feedhold
IF\273>2THEN\273=2 'maximum feedrate override is 200%
\73={33.5*\273} : DISPLAY4 {\273*f} : DISPLAY2 {\273*100} 'when feedrate variable \73=33.5, actual commanded feedrate is at 100% by external clock.

One thing you might want to check first, is the servo update rate of your Galil card. Factory default is fairly slow at 1 millisecond, and it may be possible to get it down to .375 millisecond without loosing any features of the card. It is possible to decrease this setting, and I did and would recommend it as it improves system response. However, you will have to retune the motors.

In my case, I have to slow my feedrate variable \73 down by almost 66% by initializing it this way in the STARTUP.FIL:
\73 = 33.5

If your system is running 1/3 of normal speed, then maybe changing the servo update rate on your Galil card would make the system about right. You would still have to retune the motor PID filter though.
__________________
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 06-08-2006, 01:29 PM
 
Join Date: Aug 2005
Location: usa
Posts: 25
alfalfa is on a distinguished road

Thanks Hu,
For the sake of not only me but others on here - how does one adjust the servo update rate on a Galil card? Or is it better to talk to Galil directly?
Reply With Quote

  #4  
Old 06-08-2006, 01:43 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

You should have a manual that came with the Galil hardware.

Check for the TM command ( for the update rate) and the BN command (to burn the change into the memory on the card so it will start up at the new desired rate everytime you start up the PC).

There should be a simple Galil terminal interface that you can run independently of Camsoft to do this.
__________________
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

  #5   Ban this user!
Old 06-09-2006, 06:16 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Here's a link to the command reference:
http://www.galilmc.com/support/manuals/optcom.pdf

A heads up on installing Galil software. It can hijack your system and Camsoft won't work anymore. Camsoft's first warning is to make sure you have up to date software.

If you already have Camsoft on your computer, installing Galil WILL kill it. This trick worked for me.

1. Install the Galil software after the Camsoft already on the computer.
2. Rename the AS3000 directroy to something else, I like AS3000 old <yymmdd>
3. Reinstall Camsoft.
4. Move anything you need out of the old Camsoft directory.

FWIW, I personnally wouldn't speed up the Galil board sample rate here. You don't have a need. Just change the \73 value in startup.ini. Good programming practice is make changes to another variable (Hu's approach) in the body of your .cbk

Karl
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-09-2006, 09:30 AM
 
Join Date: Aug 2005
Location: usa
Posts: 25
alfalfa is on a distinguished road

I have had no problems with running WSDK on top of Camsoft (not simultaneously though). That said, I do have the most current versions/drivers from Camsoft. I will take a look at /73, it just seems strange to me that a given machine, set up to move the correct distance as commanded, won't run at the right feedrate w/o a bunch of extra coding. Isn't this basic CNC control operation?
Reply With Quote

  #7  
Old 06-09-2006, 10:32 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Yes, it is strange. I take it that you have double checked that a commanded movement of 10" actually gives you a movement of 10" in each axis that you test? I don't see why the gear ratios, if set up correctly should have any effect.

Did you purchase your Galil hardware in new condition? I'm wondering if for some reason, it may have had some parameters "burned in" to eprom by a previous user.

It might be a thought to do a master reset of the card. Again, this would be done within the Galil terminal program.
__________________
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

  #8  
Old 06-09-2006, 10:37 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Karl,

I don't really know why Galil sends the cards out running in slow mode. It makes no sense to me. Compare it to buying a 3 ghz cpu and then running it at 1 ghz. I've been running mine for several years now at the max speed that card allows with all features still allowed, and it works fine.
__________________
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

  #9   Ban this user!
Old 06-09-2006, 10:56 AM
 
Join Date: Aug 2005
Location: usa
Posts: 25
alfalfa is on a distinguished road

Yes 10" = 10".

The card was not new, but I have done several Master Resets and even had it in for repair on a different issue (maybe?). Having talked to Camsoft, it seems that they acknowledge the issue, but implementing a fix is a little bit cumbersome at best.
Reply With Quote

  #10  
Old 06-09-2006, 01:23 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Al,
Master reset should have put everything back to defaults, no question.

You can also use the command
TM ?
to find out what the current sample time is set at, just in case there is some funky value set in ROM on that card.
__________________
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 06-09-2006, 08:23 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 HuFlungDung
Al,
Master reset should have put everything back to defaults, no question.
I just worked through an issue with a used Galil card where a couple Camsoft commands didn't work correctly. The master reset didn't correct things, this just sets default speed, accerations, etc.

An update firmware, downloaded for the Galil website, corrected the trouble. It only takes a minute, might be worth a shot.

Karl
Reply With Quote

  #12   Ban this user!
Old 02-22-2007, 06:38 PM
 
Join Date: Feb 2007
Location: US
Posts: 14
fseger is on a distinguished road

have you found resolution to your problem - I seem to ran into the same thing you described?
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





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