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 Lathes


Haas Lathes Discuss Haas lathe here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-05-2008, 03:44 PM
 
Join Date: Mar 2008
Location: usa
Posts: 3
GJewell is on a distinguished road
Need help..M98 P...L...

Any info would be appreciated in helping me get this set-up; I need to run multiple parts of the same geometry. (sometimes 100, 250 or more) Parts are very simple..OD x ID x cut-off.
Material is teflon or nylon. I have a program that was written to do this, but it is for older fanuc controllers. It uses G50 as home or toolchange position. From what I understand the HAAS GT-20 has to use G54. I programmed the older prgm in the controller and it will not work.. Being new to programming I am lost. Thanks in advance for your help.
Reply With Quote

  #2   Ban this user!
Old 03-06-2008, 02:14 PM
APP APP is offline
 
Join Date: Sep 2006
Location: usa
Posts: 42
APP is on a distinguished road

You don't have a book?


Basically you are going to put the same value that you use in the g50 line, in the offset of the tool. When you call the tool change, it picks up the xz value.


If you want to post the program, I could help you get through it.
Reply With Quote

  #3   Ban this user!
Old 03-06-2008, 02:33 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by GJewell View Post
..... It uses G50 as home or toolchange position. From what I understand the HAAS GT-20 has to use G54....
On the GT20, like all Haas, G54 is the default Work Coordinate system. I don't exactly get what you mean by using G54 for a tool change. You can move the turret home and one way to do that is G28. This is not essential because you only need to move far enough away from the work so that the next tool clears as it comes around. But the GT20 is so small it doesn't waste much time going all the way home.

The easy way to do what you want is to make your program into a subroutine which is called with an L count on the M97 line. We have many programs on our GT20 that operate this way. Like this:

O00000

Bunch of stuff

M97 P1000 L250

Bunch of stuff
G28
M30
----
N1000

Your program

M99
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #4   Ban this user!
Old 03-07-2008, 11:54 AM
 
Join Date: Mar 2008
Location: usa
Posts: 3
GJewell is on a distinguished road
M98 P...L...

Thanks for having a look at this. This is the subprogram that was used on the older machine. The X and Z dim. on lines with G50 are hypothetical. The X and Z there would normally be where the turret goes to for tool change. On this machine we would want it to go home (I think) due to the short Z travel. Also, If you could show me the correct structure for the main program that would call this one, would be appreciated.



(SUBPROGRAM FOR O00004)

(ID)

T0400S500M03

G50X1Z.1

T0404

G00X2.5Z.1

G01Z0.0F.004

X2.032

X2.002Z-.015

Z-.075

G00X1.975

Z.1

X1Z.1

T0400

M01

(OD)

T0300S500M03

G50X2Z.1

T0303

G00X2.336Z.1

G01Z0.0F.004

X2.366Z-.015

Z-.050

X2.336Z-.065

Z-.107

G00X2.5

Z.1

X2Z.1

T0300

M01

(CUT OFF)

T0200S500M03

G50X2Z.1

T0202

G00X2.5Z.5

Z-.060

G01X1.950F.003

G00X2.5

Z.5

X2Z.1

T0200

M01

W-.108

M99
Reply With Quote

  #5   Ban this user!
Old 03-10-2008, 12:18 PM
 
Join Date: Mar 2008
Location: usa
Posts: 3
GJewell is on a distinguished road

I have just posted a subprogram that is used for making multiple parts of the same geometry. This program comes from a friend who has an older machine of different make. Would you look at that post and help me to modify it to work with the GT20?
Also, how would the main prgm be structured to call up the sub?
Thank you for any help you can offer on this
Reply With Quote

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

Here is an example of a program from our GT20 that uses two tools in subroutines and parts off two pieces per bar advance. You can load this into yours and put in some tool offsets for tools 1, 7 & 8, to make it run so you can follow it in Graphics.

Tool 1 is a stop and when Block Delete is on the program just moves the stop into position so the stock can be advanced to the stop at the start of a new bar.

After doing the two parts the program returns to Tool 1 and positions it for the bar to be advanced again.

This machine has a manual chuck and the spindle orientation command is to orient the chuck for getting the chuck key in. If you do not have spindle orientation you will need to delete this command
Attached Files
File Type: txt SAMPLE.txt‎ (1.7 KB, 95 views)
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
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 06:27 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