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! > MetalWorking Machines > Haas Mills


Haas Mills Discuss Haas machinery here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-14-2010, 01:43 PM
 
Join Date: Apr 2010
Location: USA
Posts: 231
dingo0722 is on a distinguished road
99999 max lines of code?

I was running a program buffered into my VF2. When the program hit line 100,000 the machine gave me an unknown number error. I have seen this before with other machines not being able to recognize the additional numeral. When I called my cam software company about modifying the post to accept this, they said they have never run into this issue with Hass machines and that they should be able to handle lines of code well into the Nxxxxxx range. Is this true and is there a setting I can adjust to accept additional lines of code or do I need to have the post modified to automatically re-sequence from 1 to 99999 back to 1...
__________________
www.machmachine.com
Reply With Quote

  #2   Ban this user!
Old 12-14-2010, 02:08 PM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

Are you using N numbers?
And have you tried turning them off?
Reply With Quote

  #3   Ban this user!
Old 12-14-2010, 02:12 PM
 
Join Date: Apr 2010
Location: USA
Posts: 231
dingo0722 is on a distinguished road

I am using N lines of code. I will see how to turn them off in the Cam program
__________________
www.machmachine.com
Reply With Quote

  #4   Ban this user!
Old 12-14-2010, 03:26 PM
 
Join Date: Apr 2010
Location: USA
Posts: 231
dingo0722 is on a distinguished road

Will a Hass accept code without a Numerical number starting the line

eg. N100, N101 N102
__________________
www.machmachine.com
Reply With Quote

  #5   Ban this user!
Old 12-14-2010, 03:47 PM
 
Join Date: Jul 2005
Location: POLAND
Age: 33
Posts: 340
pit202 is on a distinguished road

yes, is it so hard to try ? 10 sec. in front of the machine and wait few hours for an answer ?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-14-2010, 03:53 PM
 
Join Date: Apr 2010
Location: USA
Posts: 231
dingo0722 is on a distinguished road

Originally Posted by pit202 View Post
yes, is it so hard to try ? 10 sec. in front of the machine and wait few hours for an answer ?
Thanks for the value added comment. I guess asking a question here while simultaniously working on it on my side is unacceptable to you
__________________
www.machmachine.com
Reply With Quote

  #7   Ban this user!
Old 12-14-2010, 04:05 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by dingo0722 View Post
Will a Hass accept code without a Numerical number starting the line

eg. N100, N101 N102
There are three situations when Haas needs a line number;

Calling a subroutine; M97 P1000 looks for a line N1000 so you have to number the first line of the subroutine.

Jumping down the program using M99; M99 P100 looks for line N100 somewhere in the program.

Roughing and finishing canned cycles on a lathe, G73, G72, G71, G70 all need a start and finish line that must be numbered. G71 P100 Q110 looks for the line N100 and reads to N110 for the roughing sequence. The intermediate lines do not need to be numbered and (I think) and there can be more or fewer lines than the difference in the line numbers.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #8   Ban this user!
Old 12-14-2010, 04:15 PM
 
Join Date: Apr 2010
Location: USA
Posts: 231
dingo0722 is on a distinguished road

what I did first was to remove the sequencing from a program I just ran. After that was confirmed to work I modified the post. I also did away with sub routines in my posting. hopefully I wont have any issues down the line.
__________________
www.machmachine.com
Reply With Quote

  #9   Ban this user!
Old 12-14-2010, 04:23 PM
 
Join Date: Apr 2005
Location: Paradise, Ca, USA
Age: 35
Posts: 533
Matt@RFR is on a distinguished road

To answer your original question, there is no limit to how many lines of code you can run. I just pulled up a fairly random program that I've already run, and it has 646,699 lines of code WITH N numbers! That's 19.2MB and ran flawlessly off a USB thumb drive. Ditching the N numbers brings it down to 14.3MB, cut that shouldn't have anything to do with your question.

Also, look where Pit202 is from, then realize English is a second language for him before getting defensive.
Reply With Quote

  #10   Ban this user!
Old 12-14-2010, 09:00 PM
HelicopterJohn's Avatar  
Join Date: Dec 2005
Location: Seffner, Florida USA
Posts: 614
HelicopterJohn is on a distinguished road
USB Drive

Hi Matt,

Thanks for the info on the USB drive file size.

Is there any restrictions or rules as far as running programs directly from the USB thumb drive? I think???? I heard something about sub programs and being able to restart the program if it is being run from a USB thumb drive.

I have never done this and just want some clarification from experts.

Thanks again for any additional information you or others could supply.

My programs tend to be on the small side so I typically copy them from the USB thumb drive to the memory and then run them. This could save me a step in the process.
__________________
2007 HAAS TM-1P OneCNC XR4 Mill Pro. Shopbot PRT running Mach3, 2010 Screen Set, Super PID and PMDX Electronics. Check out my Gallery on: http://www.helicopterjohn.com/
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-14-2010, 09:45 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Your question about subroutines and Restart was answered here on CNCzone a few years back. Neither are possible when drip feeding either from an external computer via RS232 or from a USB thumb drive. The explanation give was that because the entire program is not held in the machine's memory it cannot scan down to find a subroutine because it is not there. Similarly it cannot scan through a program for a Restart because the program is not there.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #12   Ban this user!
Old 12-15-2010, 12:24 AM
 
Join Date: Apr 2005
Location: Paradise, Ca, USA
Age: 35
Posts: 533
Matt@RFR is on a distinguished road

To be clear, local subs work just fine off a USB, but external subs won't work at all. And no, program restart doesn't work either when running of the USB, but restarting at a toolchange does. Gotta be careful with that one though because the control just uses any modal commands that were active when the machine last ran unless you have a comprehensive safety block right before or after the tool change. (Mine is before the M6 block, and I restart on the safety block, NOT the tool change block)

Everything else works...Macros, probing, M30 and M99 counters, tool life, etc. when running off the USB.

Also, you cannot edit a program unless it is on the hard drive, but the only size restriction for the program is the USB size. Mine is a 2GB stick, and I highly doubt I'll ever run a program that big.
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
Repeat G-Code lines rckdef G-Code Programing 3 07-22-2010 03:00 AM
Only getting 48 lines of code? Crawler374 Mach Software (ArtSoft software) 4 09-24-2009 09:54 PM
Need Help!- Losing lines going from DXF to G-Code BearKraft General CAM Discussion 2 03-30-2009 08:23 PM
how many lines of code left plastibob Haas Mills 2 08-10-2008 12:15 PM
Deskcnc Skipping Lines Of Code bradyfb Carken Products (Deskam, DeskCNC etc) 4 02-08-2007 04:59 PM




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