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 07-07-2008, 12:33 AM
 
Join Date: May 2007
Location: USA
Posts: 155
kojack is on a distinguished road
4 vises and 4 work offsets

I have a very large program 19 megs running right off the hard drive

I really dont want to mirror tool paths

So i figure I could have one program and 4 work offsets

what would be the right way to call the program to each work offset

Thanks for the help
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 07-07-2008, 01:09 AM
 
Join Date: May 2006
Location: USA
Posts: 182
Cory is on a distinguished road

I think you'd just want to call out each work offset, then run a subprogram using incremental moves so that you can call it at each new offset location.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 07-07-2008, 01:13 AM
 
Join Date: Jul 2005
Location: POLAND
Age: 32
Posts: 340
pit202 is on a distinguished road

You can try somthing like this :
Code:
G55 G90
M98 P(number of your 16megs program)
G56 G90
M98 P(number of your 16megs program)
[...]
M30
and so on , don`t forget to delete work offsets from your 16megs program, and put M99 instead M30.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 07-07-2008, 01:31 AM
automizer's Avatar  
Join Date: Dec 2005
Location: Canada
Age: 27
Posts: 438
automizer is on a distinguished road

are you willing to edit your program? If so I would break it up in to sub-routines based on each tool and have each tool run threw all 4 work zeros. This saves on tool changes. I have found that this will speed up the program a lot if you have 20 tools in an umbrella style tool changer.
__________________
I'm not lazy..., I'm efficient!
HAAS GR-408
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-07-2008, 02:25 AM
 
Join Date: May 2007
Location: USA
Posts: 155
kojack is on a distinguished road

Originally Posted by automizer View Post
are you willing to edit your program? If so I would break it up in to sub-routines based on each tool and have each tool run threw all 4 work zeros. This saves on tool changes. I have found that this will speed up the program a lot if you have 20 tools in an umbrella style tool changer.
Its only one tool ... very detailed surfaces

Thanks for all the help guys
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-07-2008, 02:32 AM
 
Join Date: May 2007
Location: USA
Posts: 155
kojack is on a distinguished road

Originally Posted by pit202 View Post
You can try somthing like this :
Code:
G55 G90
M98 P(number of your 16megs program)
G56 G90
M98 P(number of your 16megs program)
[...]
M30
and so on , don`t forget to delete work offsets from your 16megs program, and put M99 instead M30.
I think im going to try your method ...

what is the m98 and m99 ?

I dont have a g and m code list @ home
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 07-07-2008, 03:04 AM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,659
Blog Entries: 2
Switcher is on a distinguished road

M98 = Call subroutine
M99 = Return from subroutine


.
__________________
Free DXF Files - Vectorink.com - myDXF.blogspot.com
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 07-07-2008, 10:08 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,419
Geof will become famous soon enough

Originally Posted by Switcher View Post
M98 = Call subroutine
M99 = Return from subroutine


.
On Haas M98 is the subprogram call to an external Onnnnn program.

M97 is the subroutine call to a line number location within the calling program.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 07-07-2008, 12:26 PM
 
Join Date: May 2007
Location: USA
Posts: 155
kojack is on a distinguished road

Originally Posted by Geof View Post
On Haas M98 is the subprogram call to an external Onnnnn program.

M97 is the subroutine call to a line number location within the calling program.

How Does this work when your main program is running direct from hard drive

Do i need to make the Offset program runnging from the hard drive also?
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 07-07-2008, 01:49 PM
automizer's Avatar  
Join Date: Dec 2005
Location: Canada
Age: 27
Posts: 438
automizer is on a distinguished road

if you need a g and m code card here
http://www.haascnc.com/custserv_updates.asp#custserv
but you need to replace your M30 with M99 because when it reaches the end of the program it will stop and reset not move to the next work zero. Your M30 will then be placed in your M98 call program.
it may be simpler to make a sub-routine call for 4 work zeros with in the program so you will not have to worry about one being on the hard drive and the other not.
If you do it this way follow the same as described by pit202 but put it at the top of your program and use M97 not M98 and your P number calls a N line number with in the program
__________________
I'm not lazy..., I'm efficient!
HAAS GR-408
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-07-2008, 01:56 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,419
Geof will become famous soon enough

Originally Posted by kojack View Post
How Does this work when your main program is running direct from hard drive

Do i need to make the Offset program runnging from the hard drive also?
I don't think it does work.

As I understand it running a program from the hard drive is equivalent to drip feeding through the serial port, but much faster.

Also as I understand it for M97, and maybe M98 everything has to be in the controller memory. When it is on the hard drive it is not in the controller memory; chunks are transferred into a buffer memory and executed. The controller can only look ahead within the portion that is in the buffer; the M97 will not work because the line being called will be on the hard drive not in the buffer.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 07-07-2008, 02:12 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,419
Geof will become famous soon enough

I looked it up in the addendum for ethernet and hard drive; it looks like you can do M98 from the hard drive.

Go to this link, scroll down until you get to manual addendums and then you will see Ethernet/Hard drive Option. Click on that and you will find what you need on pages 4 and 5 under the section about File Numeric Control (FCN) Operation.

http://www.haascnc.com/custserv_updates.asp#manualupd
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Tweet this Post!Share on Facebook
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
Work Offsets RMT Mach Mill 14 12-14-2008 10:49 AM
Need Help!- Multiple Work Offsets PinMan BobCad-Cam 3 06-06-2008 05:41 PM
how do you set G54 thru G59 work offsets? Barney Fanuc 10 01-07-2007 04:02 PM
work offsets 5axisdan Mazak, Mitsubishi, Mazatrol 0 07-04-2005 11:17 AM
Work Offsets new2cnc Mastercam 3 04-30-2005 11:04 AM




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