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 01-02-2008, 10:51 PM
 
Join Date: Apr 2005
Location: New Zealand
Posts: 47
Colin is on a distinguished road
Long Program problem

Hi
I am running CNC Professional on our Cincinnati machining centre. I am trying to run a long 3-D program and it runs for about 20 minutes, then starts to stutter, waiting a few seconds between lines, then finally stops. It is almost like it is putting the lines away somewhere, starts to find it difficult where to put them and finally fills up the space. Can anyone help please?

Colin
Reply With Quote

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

WAG: perhaps some of the power saving settings on your PC are turning on? Because the program is lengthy, you probably are not touching the keyboard, and Windows will want to begin to shut things down, so go into the power settings and force everything to be always on: monitor, hard drive on always, and turn off all sleep and hibernate settings. I'd do a reboot after changing these settings just to be sure the settings have changed.
__________________
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 01-03-2008, 09:26 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Another shot in the dark for you...

We made custom belt buckles and had 1000's of lines in the Gcode. There was a section where the control got bogged down until I added the SMOOTH command. If the part where you're having troulbe has lots of very small moves, this could be the trouble.

Karl
Reply With Quote

  #4   Ban this user!
Old 01-03-2008, 03:53 PM
 
Join Date: Apr 2005
Location: New Zealand
Posts: 47
Colin is on a distinguished road

Thanks Karl, but it did not fix it. The program starts to stop and start at about 8000 lines and stops completely at about 9000 lines. I could not run smooth on G64 as it came up with a FASTMODE error. But in G08 it went OK, but made no difference to the stopping. The code is generated in Mastercam, using a fanuc post.
I will try playing with the post and if all fails chop the program into blocks, but I would really like to know what is going on?

Colin
Reply With Quote

  #5   Ban this user!
Old 01-03-2008, 06:10 PM
 
Join Date: Nov 2005
Location: usa
Posts: 227
camtd is on a distinguished road
try a another host

Maybe with with the other Camsoft folks you could email the file and do a dry run or something to eliminate that possibility.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-03-2008, 06:44 PM
 
Join Date: Apr 2005
Location: New Zealand
Posts: 47
Colin is on a distinguished road

Good thinking, if anyone wants to volunteer, give me an email address and I will do that.

Colin
Reply With Quote

  #7  
Old 01-03-2008, 09:52 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Sounds like some kind of a buffer problem, but I don't know the why and how of its occurance.

Do you have a button (in your Camsoft GUI) made to inquire for an error code from the Galil card? I did this early on in my retrofit, because while the Galil card will sometimes stop with an error, you cannot see it easily when the Camsoft GUI is running, or you are running a 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   Ban this user!
Old 01-04-2008, 12:53 AM
 
Join Date: Apr 2005
Location: New Zealand
Posts: 47
Colin is on a distinguished road

Thanks, I will look into that, but at this stage I have broken the program into 16 parts and running one after the other. Done the test, now machining the part.
Regards, Colin
Reply With Quote

  #9   Ban this user!
Old 01-04-2008, 12:54 AM
 
Join Date: Apr 2005
Location: New Zealand
Posts: 47
Colin is on a distinguished road

I still need to get to the bottom of it though, for future long programs?

Colin
Reply With Quote

  #10   Ban this user!
Old 01-04-2008, 02:35 AM
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 View Post
Do you have a button (in your Camsoft GUI) made to inquire for an error code from the Galil card? I did this early on in my retrofit, because while the Galil card will sometimes stop with an error, you cannot see it easily when the Camsoft GUI is running, or you are running a program.
I had real trouble with acceleration a while back... The following in TIMER.FIL put the value on screen. Do the same with SC (stop code) or any other value. To just get it on request put the code snip in an Mcode and attach to an on screen button.

Karl



*************this block displays acceleration********************

'COMMAND MG_ACA
'RESPONSE \55
'\55={INT(\55/100)}
'COMMAND MG_ACB
'RESPONSE \56
'\56={INT(\56/100)}
'LABEL3 \55 \56
Reply With Quote

Sponsored Links
  #11  
Old 01-04-2008, 09:56 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

If you have an available button you can put on screen, this could be a sample of the M-function logic to assign to that button. This command is inquiring "Tell Error Code", and the response, if any is displayed on top of the button itself (CNC Professional):
COMMAND TC
RESPONSE \14
BUTTON14 IN;\14;12
-----M14

Have you tried to contact Camsoft about this problem?

When you say the program stops, is there no indication of a problem on the computer, except that the machine sits motionless, and the Camsoft GUI keeps on running?

BTW, there are a fair number of restrictions about using the SMOOTH command that bear looking into. A standard post processor will most likely not obey the rules. For example, the way I read the documentation, you turn SMOOTH on at the beginning of a non-stop G01 sequence, but it must be turned off at the last line of the G01 and before a G00. If you have logic written in G08 and G09 to turn smooth on and off, you'll need to somehow incorporate that in your file. Also read about the BUFFER option in conjunction with the SMOOTH command.

I've not run Camsoft on a mill, only on a lathe, so I've never encountered a long program problem. I would hope there is some kind of solution to such a problem or there would be no practical benefit to using a high-powered motion controller on a PC.
__________________
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

  #12   Ban this user!
Old 01-04-2008, 10:12 AM
 
Join Date: Apr 2003
Location: United States
Posts: 279
camsoft is on a distinguished road

Colin,

Most likely the reason is not related to the G code program itself unless there are specific lines grouped together every 1/16th of the way in the program in which this will happen at. It also would not be related to buffering if you weren't using the SMOOTH, FASTMODE, BUFFER or SPLINE features plus that fact this happens with or without G8.

It's fairly common for our customers mold style programs to be very large. We ran programs almost as large as the hard disk drive in the past and routinely run an 8 meg G code program in FASTMODE in about 30 seconds for our training classes in the demo room.

As Huflungdung and Karl mentioned the same effect has been known to happen because of a Power Saver, Hibernate mode, Screen saver, Task scheduler or TIMER feature is enabled in control panel.

One of the guys said he may have some time this afternoon or else at your convenience to run the part on our servos if you wanted to zip up the G code program and send to us.

Tech Support
CamSoft Corp.
951-674-8100
support@camsoftcorp.com
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

Last edited by camsoft; 01-04-2008 at 10:57 AM.
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
Program Memory problem in FANUC 0i Mate MC ranjankrana Fanuc 6 01-10-2008 03:34 AM
Program stop/Tool Carousel problem dylskee Haas Mills 5 11-29-2007 03:46 PM
Unusual problem with program start nervis1 Haas Mills 13 09-01-2007 10:40 PM
CNC Lathe Problem - Program Freezes up Crashmaster General Metal Working Machines 2 03-27-2007 07:54 PM
Complicated Maths Problem!...Long Shot... diarmaid Hobby Discussion 17 10-17-2006 03:24 AM




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