![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Fadal Discuss Fadal machinery here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| program loop 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 |
|
#2
| |||
| |||
| 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 |
|
#3
| |||
| |||
| Here are a couple sections from the manual. HTH, Don |
|
#4
| |||
| |||
| 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! |
|
#5
| |||
| |||
| 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. |
| Sponsored Links |
|
#6
| |||
| |||
| 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 |
|
#7
| |||
| |||
| Thanks 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 |
|
#8
| |||
| |||
| Here it is 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 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is it possible to loop a g-code program? | sul1 | G-Code Programing | 4 | 04-03-2009 03:49 PM |
| Cinncinnati Sabre program loop | Whidden | G-Code Programing | 5 | 12-08-2008 10:34 PM |
| Heidenhain tnc151 program loop | bigtoad170 | Bridgeport and Hardinge Mills | 2 | 04-25-2008 10:27 AM |
| Need Help!- Simple loop program for mazak | katsbobo | Mazak, Mitsubishi, Mazatrol | 3 | 04-07-2008 07:11 PM |
| How to cut multiple parts (loop a program) | Bird_E | Mach Software (ArtSoft software) | 6 | 05-13-2005 04:16 PM |