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 03-13-2008, 03:00 PM
 
Join Date: Mar 2006
Location: USA
Posts: 39
Doubleddaved is on a distinguished road
Can I fast forward to a point in my program?

Thanks for the help in my previous post.
My next question is:
I'm running a 3 part main program,
1st part --- spotting
2nd part--- drilling
3rd part---- reaming
With each part I'm calling up a subroutine to do it's specific job,(spot,drill,ream)
There are a lot of hole locations in these subroutines ( x y)that I use,anywhere from 20 to 1000 holes.So I don't normally finish these during my shift.Aside from leaving the machine on single block all night until the next day is there a way that I can fast forward to my last hole location where I left off the day before?
Thanks
Dave
Reply With Quote

  #2   Ban this user!
Old 03-13-2008, 03:33 PM
 
Join Date: Dec 2007
Location: USA
Posts: 36
thetrillionaire is on a distinguished road

When you leave for the night, find the line you're on and insert an N-command onto the line (like N1000). Then you can use that number to find where you were in the program
Reply With Quote

  #3   Ban this user!
Old 03-13-2008, 04:34 PM
 
Join Date: Dec 2007
Location: Canada
Age: 48
Posts: 617
cam1 is on a distinguished road

Hmmm, not that easy, when you re-home the machine, you will still have your G54, but typically you need to first exectute the first block that introduces the process,tool length offset etc, after that you can jump to the block wher you left off.
Even if you did not turn the machine off, you typically cannot just jump to any block and execute from there.

regards
Reply With Quote

  #4   Ban this user!
Old 03-13-2008, 05:27 PM
deanrach's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 75
deanrach is on a distinguished road

See Setting 36 (Program Restart) in your HAAS manual.
Reply With Quote

  #5   Ban this user!
Old 03-13-2008, 08:26 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

080313-2018 EST USA

Doubleddaved:

If you use some sort of looping function to process the many holes, then you may not have a way to start midway in the loop. Restart does not solve that problem.

However, there are special ways that you could write the program and accomplish what you want.

How much money can you save by restarting at the desired point vs just leaving the machine in feedhold all night. This is a function of the design costs to develop a generalized program for your needs, and the value or lack of risk to leaving the machine on all night.

(edit) Here is a reference that might be useful to you. By my use of the tool change routine as structured here it is possible to restart at any tool change position by simply putting the cursor at the desired tool change and push START. Just make sure the tool is clear of the part before you start, and there is a clear X Y path to where the tool wiil go down in Z.
http://www.cnczone.com/forums/showthread.php?t=12545
(end edit)

.

Last edited by gar; 03-13-2008 at 08:48 PM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-17-2008, 06:06 PM
 
Join Date: Jan 2008
Location: USA
Posts: 85
dapoling is on a distinguished road

To do what you want, you need one program and use program restart.
Is there some reason you need these split into different sub programs?
__________________
My Response to "It's Close Enough", "Is Your Tool Box and The Door Close Enough?"
Reply With Quote

  #7   Ban this user!
Old 03-17-2008, 06:54 PM
 
Join Date: Mar 2006
Location: USA
Posts: 39
Doubleddaved is on a distinguished road

No I'm only using one sub program I just call it out once for each operation.
Reply With Quote

  #8   Ban this user!
Old 03-17-2008, 07:15 PM
 
Join Date: Jan 2008
Location: USA
Posts: 85
dapoling is on a distinguished road

To do what you want you will need to put all code into one program, as this will not start inside a sub program.

This being do to the sub program is called up from the main program and starting inside a sub program will not know what main program to return to at the M99.
__________________
My Response to "It's Close Enough", "Is Your Tool Box and The Door Close Enough?"
Reply With Quote

  #9   Ban this user!
Old 03-18-2008, 12:38 PM
Wiseco's Avatar  
Join Date: Jul 2005
Location: Canada
Age: 31
Posts: 175
Wiseco is on a distinguished road

Have you consider lights out machining? If you have a machine with an automatic tool changer, you should consider this option, at least, to finish the part you have start in the day.
Reply With Quote

  #10   Ban this user!
Old 03-18-2008, 03:04 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

080318-1452 EST USA

dapoling:

Have you experimentally proven that you can not put a restart point in a subroutine?

It would be true that if you wanted to restart at a line in a subroutine that was called more than once, then the restart point would occur in the first call to that subroutine, and you could not restart on the desired line in the third call to the routine.

With minor edits to the main program and an appropriately written main program you could restart on the nth call of the subroutine.

I have not experimentally tried this, but with an assumption of what HAAS is doing this would be my conclusion based on HAAS's meager description on restart.

.

.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-18-2008, 03:36 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by gar View Post
...dapoling:

Have you experimentally proven that you can not put a restart point in a subroutine?.....
He mentioned subprogram. Haas differentiates between subroutines at the bottom of a program that use the M97 P1000 to call line N1000 at the bottom of the calling program, and M98 P10000 to call program O10000.

It is possible to Restart at any line in a subroutine and the machine will return to the call line for an L count or to the line below for a single call when Setting 36 is ON.

I do not know what would happen with Setting 36 OFF.
__________________
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 03-18-2008, 04:56 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

080318-1644 EST USA

The first post referenced subroutine, and I did not catch the change later to sub program. Obvious since HAAS uses the cursor location for the restart point it is not possible to restart into an external subroutine.

I believe from some other post under Okuma that they use a format for a restart command with a line number and an added field to indicate how many calls to the subroutine and maybe loop count before restarting. This might also allow restarting in a drip feed operation. No indication of the existence of this capability in HAAS.

.
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
Busellato Optima Point To point Malacara General CNC (Mill and Lathe) Control Software (NC) 0 12-11-2007 06:22 PM
converting point to point programs kevinwd1 General CAM Discussion 2 06-11-2007 11:45 AM
Spindle Forward/Reverse = High/Low change AdyAstley Machines running Mach Software 2 06-06-2007 09:33 PM
Forward Controls raceshop General Metalwork Discussion 5 01-05-2007 10:48 AM
Can bad forward/reverse toggle cause motor not to spin? ZipSnipe General Electronics Discussion 16 06-03-2006 08:45 AM




All times are GMT -5. The time now is 06:54 AM.





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