libbey
09-17-2009, 10:50 AM
Is there a way to loop a program to cut 20 flutes
around the od of a part 18 degrees apart with
just the toolpath of one flute. On a mazak we use
a program that looks like this.
(H11 MEANS RUN FROM N11)
M98H11L20 (L20 MEANS REPEAT 20 TIMES)
G91G68X.0Y.0R18. (ROTATION FOR 20 V-CUTS EX. 360/20)
M99P12
This cuts 20 flutes every 18 degrees apart. Then the
program ends.I see where you can use L101 on a fadal,
but don't know how to make it count for the 20 seperate
cuts, then end.
Any help would be appreciated
FUN4ME
09-17-2009, 03:15 PM
It is a lot more complicated than I want to try to explain
If you PM me your e-mail I can scan and e-mail you some pages from the users manual
donl517
09-17-2009, 08:38 PM
Here are a couple sections from the manual.
HTH,
Don
Techman
09-18-2009, 07:22 AM
The repeat for the sub is in the call out--
L0101 calls sub L1 1 time
L0120 calls sub L1 20 times.
Your program could look something like this-
O001
L0100*
G1 X.
Z-
.
G0Z1.
G0G91A18.
G90
M17*THIS CODE IS FOR END OF SUB PROGRAM
M30*THIS IS FOR END OF ALL SUBS
M6T1
G0G90M3S1200
X- Y-
Z.
L0120
X0Y0Z0E0H0
M2
%
Fadal also allows you to call out different programs Fanuc style via M98 and
M99
Hope this helps!
FUN4ME
09-18-2009, 10:22 AM
Libbey,
If you need any more pages let me know.
I am not at work today, but I could go in
Also G68 might be an option on the Fadal I don’t know for sure
Techman,
That is what I originally thought too but he is trying to use a G68,
which is a coordinate rotation not a rotary table.
Techman
09-18-2009, 10:36 AM
FUN4ME-
My mistake! That is just like me. Always trying to over simplify.
Libby,
The Fadal will accept a G68
The format is: G68 R0+18. X0 Y0
I don't know if the R variable can be an incremental number or not. If so, then the G68 line could be inserted into the sub- program. If not, then the R value would have to be incremented either by a macro statement or set each time the sub was called out.
Hope you find this helpfull!
Techman
libbey
09-18-2009, 04:39 PM
Thanks guys for all the good advice. Our machine is currently
tied up on another job, but when it's open I will try this info
and let ya'll know how it turns out. This could help solve
alot of our memory problems.
Libbey
libbey
09-19-2009, 04:23 PM
Finally found a way to do it. Couldn't figure out the L101. Got it
to loop, but wouldn't calculate changing angle. I Did it as a macro.
I wrote it to make 4 cuts 90 degrees apart, then end. Changed 90
degrees to 20 degrees and it worked perfect. I've attached it if
anyone thinks it may be useful for them. I cut out most of the
program to shorten it, but you get the picture.
Thanks again for the help
Libbey