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 > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-10-2007, 07:44 AM
 
Join Date: Mar 2006
Location: USA
Age: 33
Posts: 39
Jorge-D-Fuentes is on a distinguished road
Question Haas OL-1 Live Tooling

Good morning, all.

The company I work purchased an additional Haas OL-1 Lathe with the optional Live Tooling, and they want to see it in action.

I'm trying to set it up to do some holes on the workpiece (on the C Axis), but the example on Pg 167 of the manual... I don't quite understand it.

The Example shows the following:

%
O00800
N1 T101 (Radial 1/4-20 Tap)
G99 (Necessary for this cycle)
G00 Z0.5
X2.5
Z-0.7
S500 (rpm should look like this, cw direction)**
M19PXX (Orient spindle at desired location)
M14 (lock spindle up)
G195 X1.7 F0.05 (thread down to X1.7)
G28 U0
G28 W0
M135 (Stop live tooling spindle)
M15 (unlock spindle brake)
M30
%

I can see this bit of code doing one hole... but I don't understand how this makes more than one hole (though it probably has something to do with that Reset Axis G28's hanging out right before the M135).

From what I can understand from this code, it's doing the following:

%
O00800
N1 T101 (picking tool, first line number)
G99 (setting the spin to RPM mode)
G00 Z0.5 (rapid horizontal)
X2.5 (rapid vertical)
Z-0.7 (rapid horizontal -left- from previous Z point)
S500 (setting the rotational spin speed)
M19PXX (M19 rotates spindle, PXX, where XX is a degree, orients the thing to a particular degree, so P90 rotates 1/4 around, P270 rotates 3/4 around, etc.)
M14 (Prevents the spindle from turning, I'm guessing while the drilling on the contour happens)
G195 X1.7 F0.05 (Live Tool drills into OD of 1.7 at a rate of 0.05... and back?)
G28 U0 (Resets incremental axis of X?)
G28 W0 (No idea, probably resets incremental axis of Z? The manual's parameters for this example only show the variables F R U X and Z)
M135 (turns drill off... although I didn't see a previous code that turned it on...)
M15 (unlocks the spindle brake, so I guess the thing can spin again)
M30 (Program ends... but I didn't see it loop back and do another hole...)
%

I was told by someone here that the OL-1 is one of a few lathes that has live tooling available, and the online help on drilling will be difficult since most of what I will find is for Milling machines.

I just want to have a canned cycle (if possible.. is there one?) that'll drill a number of holes I specify in the OD of a workpiece, by rotating, then drilling, then rotating, etc. I didn't think it would be difficult, but the example is tripping me up.

Am I forgetting something?

I'm sorry if anything above got posted before. I used the search function and couldn't find anything 'cept one thread that didn't really shed any more light on the subject.
Reply With Quote

  #2   Ban this user!
Old 07-10-2007, 08:36 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

It is not any consolation I suppose but that example makes no sense to me either. I am not near manuals at present but I will pull out what I have later.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #3   Ban this user!
Old 07-10-2007, 09:30 AM
 
Join Date: May 2007
Location: germany
Posts: 14
stefan2108 is on a distinguished road
sl-10 live tooling

O00800
N1 T101 (picking tool, first line number)
G99 (setting the spin to RPM mode)
G00 Z0.5 (rapid horizontal)
X2.5 (rapid vertical)
Z-0.7 (rapid horizontal -left- from previous Z point)
S500 (setting the rotational spin speed)
M19PXX (M19 rotates spindle, PXX, where XX is a degree, orients the thing to a particular degree, so P90 rotates 1/4 around, P270 rotates 3/4 around, etc.)
M14 (Prevents the spindle from turning, I'm guessing while the drilling on the contour happens)
G195 X1.7 F0.05 (Live Tool drills into OD of 1.7 at a rate of 0.05... and back?)
G28 U0 (Resets incremental axis of X?)
G28 W0 (No idea, probably resets incremental axis of Z? The manual's parameters for this example only show the variables F R U X and Z)
M135 (turns drill off... although I didn't see a previous code that turned it on...)
M15 (unlocks the spindle brake, so I guess the thing can spin again)
M30 (Program ends... but I didn't see it loop back and do another hole...)


The G28 U0 is machine home in x and G28W0 is machine home in Z
After your G195 cycle (in which you also need a reference point return (R) you need to unclamp the spindle with M15. Then rotate to your next position and clamp spindle again. then you run another G195 cycle.

Stefan 2108
Reply With Quote

  #4   Ban this user!
Old 07-10-2007, 09:51 AM
 
Join Date: Mar 2006
Location: USA
Age: 33
Posts: 39
Jorge-D-Fuentes is on a distinguished road

Ahhh, I think I see.
Another thing that was tripping me up is that they put two asterisks in the example after S500 (I guess to add emphasis, or for some footnote somewhere... which I didn't find), as well as adding a note on top of the page to the parameters of G195:

G195 Live Tool Radial Tapping (Diameter) Group 00)
F Feed Rate in inches(mm) per minute
R Position of the R plane (this part here I didn't understand)
*U X-Axis incremental distance
*X X-axis motion command
*Z Position of bottom of hole (or this part, I thought Z was a horizontal movement placement)

Afterwards it has the same thing but for G196 (Reverse Live Tool VECTOR Tapping (Diameter) (Group 00))

Then it has a little note (but no asterisk for it) saying "These G Codes perform live tooling radial or vector tapping on a lathe; they do not permit an "R" plane.

This trips me up further since the latest reply mentions this "Reference Point Return (R)". So is the manual wrong and they do need an R plane? Or do they mean that only the asterisked Parameters do not need one?

Anyway, at least I now know that if I want four holes, I'm gonna have to write four snippits of code with the same info, and eight if I need 8, and 16 if I need 16... I was hoping that, like a canned cycle, one could program it to perform a DOWHILE or something... which I suppose can be done with a little programming knowhow... *sigh*

EDIT (Update): Ran the example using MDI... with some changes to the X's and the Z's.

The spindle does lock, but after it locks, it doesn't want to rotate the 90 degrees that I asked it for. It looks like it wants to move but the brake is stopping it.

I wrote the following (in MDI, sans the % sign):
%
G99
T101
G00 Z0.5
X1.000
S500
M19 P90
M14
G195 X0.75 F0.05
M15
S500
M19 P180
M14
G195 X0.75 F0.05
G28 U0
G28 W0
M15
M30
%

I'm pretending that my T101 is my live tooling tool, but in reality it's not, it's just another tool, but for the purposes of testing (and the fact that they've not purchased drillbits for the livespindle) it works.

Okay, the spindle does lock up, but won't turn the 90 degrees I want when I call for the M19. It looks like it wants to start up, but the brake clamping stops it. This happens again when I call for it to rotate 180. The G195 does happen twice like I ask it too.

Maybe we don't have a spindle/chuck capable of it? I don't think my superiors would do that... Weird.

Last edited by Jorge-D-Fuentes; 07-11-2007 at 09:37 AM. Reason: update
Reply With Quote

  #5   Ban this user!
Old 07-11-2007, 05:13 AM
 
Join Date: May 2007
Location: germany
Posts: 14
stefan2108 is on a distinguished road
Talking sl live tooling

you need to add a dwell G4 P(value) in order to give the brake time to open before rotation
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-11-2007, 09:08 AM
 
Join Date: Mar 2006
Location: USA
Age: 33
Posts: 39
Jorge-D-Fuentes is on a distinguished road
Cool

Thanks for the tip, that helped out a bit. I'm very grateful for all your responses, guys.

I got the M19 to 'somewhat' do what I wanted, but as it turns out, it wasn't necessary, because...

...I was on the phone with Haas for a while yesterday afternoon, and they have a feature on the OL-1 whereby the C Axis works on it if it's engaged. After jumping through a few hoops or so, it turns out that there is an

M154

that turns the spindle into a C-Axis drive, allowing me to command the rotational axis using C coordinates, such as

C45.

for 45 degrees from the origin.

This feature is cleverly hidden so that there's nearly no clues to its usage in the manual in the example for the Radial Live Tooling example (instead, that example uses the M19 PXX code, which... seems to be a pain to use given the circumstances).

The C-Axis is an optional feature on the Haas, and thus, there seems to be nothing even mentioning C coordinates at all in the (generic) manual, from what the guy on the phone said (he said it in nicer terms though). It's one of those 'hidden' things that you'd only know about by actually calling Haas and asking.

The only clue I had at first was the G/M-Code sheet that's laminated and placed inside the drawer for the OL-1. That's the only thing that mentions "C Axis Engage". The book has one tiny blurb (found after spotting that) at the very end of the "G Codes & M Codes" section, that says:

M154 C-Axis Engage/M155 C-Axis Disengage (optional)
This M Code is used to engage or disengage the optional C-Axis motor

all the way at the very end in pg175.

That's when I decided to call 'em. This was late yesterday though.

I guess if the C-Axis wasn't there, one would use the M19...?

ANYway, here's the new code that does what I want:

G99; (RPM Mode)
T101; (Tool Change)
G00 Z0.5; (Rapid)
X1.0; (Rapid);
;
M154; (C Axis engage)
C45.; (rotate 45 degrees. Note the period)
M14; (lock spindle)
G04 P4.; (4-second dwell as recommended. Spindle appears to vibrate a bit from the braking for about...oh... 2 seconds or so)
G195 X0.75 F0.01; (drilling cycle)
M15; (unlock spindle)
G04 P1.; (1-second dwell as recommended)
; (repeat previous seven blocks as below, changing the degree)
M154; (C Axis engage)
C90.; (rotate 90 degrees this time)
M14; (lock spindle)
G04 P4.; (4-second dwell)
G195 X0.75 F0.01; (drilling cycle)
M15; (unlock spindle)
G04 P1.; (1-second dwell as recommended)
;
(repeat the seven blocks ad nauseam, the only change is the degree)
;
M155; (C-Axis disengage)
G28 U0; (Home X)
G28 W0; (Home Z)
M30; (Program End & Rewind)

One thing of note is, I'm not all that fond of the C-Axis's rotational speed as it goes from one degree to the other. It's very very fast! :O Adding S values to the M codes doesn't change anything, it still servoes to 45, 90, etc. degrees very very fast! I've got to look for a parameter or a setting in the machine to slow it down. As an experiment, I decided to go all the way to 270 degrees from zero, and the thing gave me a nasty sound when it reached its destination.

I didn't like that at all. I'd like to slow down the spindle C-Axis.

I also don't like that you have to keep re-enabling the C-Axis. Every time you do that, it resets back to C Origin before turning to the angle needed (and at 'ludicrous speed', too). Tried running without the M154 (just putting it on top) and as soon as the drilling was done and I needed to turn again it gave me a "C axis not engaged" alarm. :\

Last edited by Jorge-D-Fuentes; 07-11-2007 at 09:35 AM.
Reply With Quote

  #7   Ban this user!
Old 07-11-2007, 09:27 AM
 
Join Date: May 2007
Location: germany
Posts: 14
stefan2108 is on a distinguished road
Unhappy c-axis

we´ve also been able to decipher our manual with direct help from HAAS.
It seems that when using a flatening cycle the slowest spindle rpm is 3. this can only be achieved by specifying the S value directly on the flat cycle block otherwise it will default value of 6.For example G77J0.625I0R0.25K2S3.
greetings from germany
Reply With Quote

  #8   Ban this user!
Old 07-11-2007, 11:57 AM
 
Join Date: Mar 2006
Location: USA
Age: 33
Posts: 39
Jorge-D-Fuentes is on a distinguished road
Unhappy

That was a good idea to try out.
Unfortunately, it did not work for me, it still turns at a speed too fast for its own good.

If I wanted 8 holes on this, by the time you get to hole 5 it starts making that sound. I suppose I could tell it to rotate in the other direction, but that's not a 'true' solution. :\

Sounds like if I didn't hit the clutch while changing gears. I'd like to avoid that noise, as it sounds like stuff could be getting messed up in that spindle.
Reply With Quote

  #9   Ban this user!
Old 07-11-2007, 09:18 PM
 
Join Date: Nov 2005
Location: Only the USA
Posts: 213
theemudracer is on a distinguished road

I belive the G99 is Feed per revolution. G98 is Feed per inch.

I think there is alot of simularities between Haas and Fanuc.
Reply With Quote

  #10   Ban this user!
Old 07-12-2007, 03:19 AM
 
Join Date: May 2007
Location: germany
Posts: 14
stefan2108 is on a distinguished road
Question sl live tooling

what if you add a g01 & a F command to your c (angle) command
G01 C90. F.05
?
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-12-2007, 07:23 AM
 
Join Date: Mar 2006
Location: USA
Age: 33
Posts: 39
Jorge-D-Fuentes is on a distinguished road

Ooh, interesting thought.
I'll try out using a G01 sometime later.

PS- Yeah I wrote the wrong description. Sorry 'bout that. ^^;;
Manual calls for G99 though.
Reply With Quote

  #12   Ban this user!
Old 07-16-2007, 06:25 AM
 
Join Date: Mar 2006
Location: USA
Age: 33
Posts: 39
Jorge-D-Fuentes is on a distinguished road

Update:

Adding an F to the G01 C the control spits out the error "Spindle not turning".

It seems you cannot make a C movement without locking out/resetting the X/Z movement/viceversa. It's very weird.

Basically, if I make a movement in the X/Z axis, I have to reset the C axis. Or at least, it seems that way.

EDIT- Sorry, I didn't realize I was the last post. I should've used "Edit", not "Reply". X_x Apologies.
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
tuning and live tooling fjd General CAM Discussion 10 07-10-2010 08:28 PM
Need help with live tooling on cnc vtl YV600 G-Code Programing 1 07-01-2007 09:29 PM
TW-10 live tooling question davisboys General Metal Working Machines 0 01-11-2007 06:48 PM
haas live tooling tgooding Haas Mills 2 12-06-2006 07:58 PM
Takisawa Live Tooling TURNING MAD CNC Tooling 0 11-29-2006 10:26 AM




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