![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Mazak, Mitsubishi, Mazatrol Discuss Mazak, Mitsubishi and Mazatrol systems here! |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I'm running g-code on my mazak m32b. I have 100 holes to interpolate with limited memory. I just want to run my hole interpolation then have it move to the next x,y location call up that same interpolation and so on. I have fadals as well and they both dont like the g21 n8 ... codes that i thought were how to make a loop ie. subprogram. Please help |
|
#2
| |||
| |||
| Would it not be easier to do in Mazatrol? Or is there a reason you can't do it in Mazatol. M98 P0001 should be sub program call 0001 being the number of the sub program. Put your drilling cycle in the sub program and end with an M99. |
|
#3
| |||
| |||
| I think you can also do this with a G66 P___(P being the sub-program number) and then input your locations in the main program just like you would for a G81 except at the end put a G67 instead of a G80. Put you interpolation in your sub-program. This works for us like a canned cycle on a M plus control. Hope this helps.
__________________ Jeff "Dirt is for racing, Asphalt is for getting there" |
|
#4
| ||||
| ||||
| My idea..... of programming. Main program contain location then subprogram increment interpolation o01 Xxx.xx Yxx.xx M98P2 Xxx.xx Yxx.xx M98P2 etc. o2 G91 G2Xxx.xx Yxx.xx
__________________ The best way to learn is trial error. |
![]() |
| 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 |
| Need help with simple thread mill program | Captain Midnigh | Milltronics | 14 | 07-24-2008 05:57 PM |
| simple part program | chevblue2 | G-Code Programing | 3 | 02-10-2008 03:20 PM |
| hHow to smooth a program thats got a loop? (helical interpolation) | Darc | G-Code Programing | 6 | 08-22-2006 08:47 AM |
| Simple G-Code program? | N4NV | G-Code Programing | 10 | 03-24-2006 06:35 PM |
| How to cut multiple parts (loop a program) | Bird_E | Mach Software (ArtSoft software) | 6 | 05-13-2005 03:16 PM |