![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| EdgeCam Discuss EdgeCam software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I have a series of 20 pockets, all the same, and need to have a one subprogram to machine the pockets. So in my main program, it will move to the pocket location in absolute then go into a subprogram and machine the pocket in incremental mode. Otherwise the program ends up being 10,000 lines long! How do I go about doing this? I am going off of a solid. Please Help. Thank You |
|
#2
| |||
| |||
| Dont trust my guide becuse i am only a Newb but it may help. but quessing you could use a M98 p###### ( subprogram number ) So im quess it would look something like this % G0 G40 G80 G90 G21; T# M6; G0 G54 G90 X#. Y#. S#### M3 ; G43 H# Z#. M8 ; G1 G41 D1 F### X#. Y#. ; M98 PO#### ; <<<<<<< ( PROGAM NUMBER ) X#. Y#. ; <<<<<<<( THE NEXT ABSOLUTE POSTION) M98 PO#### ; X#. Y#. ; M98 PO### ; X#. Y#. ; G0 G53 Y0. Z0. ; M30 ; % ; O##### (subprogramm); G1 Z-#.; G91 X# Y#; X# Y#; X# Y#; Z 5.; G90 G40 X#. Y#.; M99; thats just my input may be completly wrong but its filled 5 minets of my life so its a good escape from boredom |
|
#3
| |||
| |||
I needed to be a little clearer in my post. Yes, that is the format I am looking for, but I want edgecam do it. And I need help on what steps to take to do this, to post a program with an incremental subprogram to machine the similar pockets. So, what I am saying is, in a roughing cycle, what do I need to make edgecam post it this way? Do I need to change in my post processor setting, I'm just not sure how to get it to post that way. I have a plate that has 20 pockets all the same shape, equally spaced. I am using a endmill to rough out the pocket then go back with a different tool to finish the parameter. ROUGH EXAMPLE O1000 ( MAIN ) T1 M6 ( 1/2 CARB EM ) G0 G90 G54 X-5.0 Y5.0 M3 S10000 G43 H1 Z1.0 M8 G1 Z.1 F100. M98 P1001 G0 X-4.0 Y5.0 M98 P1001 G0 X-3.0 Y5.0 M98 P1001 ... ... ... O1001 ( SUB ) G91 G1 Z-.3 F15.0 X.25 Y-.25 X.5 Y.5 G90 G0 Z.1 M99 |
|
#4
| |||
| |||
| You have to use "Matrix mode" Use controller option for subprograms. Chose how many repeats in X and Y and the distance in X and Y. The G-code depends on the PP but a standard fanuc wil give you something like this. M98 P101 (first call of sub) G52 X10.0 Y0.0 (This will temporary transfere your zeropoint) M98 P101 (second call of sub) G52 X10.0 Y10.0 and so on on G52 X0 Y0 (this wil transfere your zeropoint back to the startpoint) The help files in edgecam explains this pretty well For a more random transferring of zeropoint use "Transform - Translate" Hopes it makes sense Bent |
![]() |
| 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 |
| SINUMERIK SUBROUTINES | HOLOMON | General CNC (Mill and Lathe) Control Software (NC) | 2 | 07-25-2008 06:25 AM |
| Arguments for Subroutines (G65) | theragust | Milltronics | 5 | 10-17-2007 10:04 AM |
| EMC and Subroutines? | watchman | LinuxCNC (formerly EMC2) | 9 | 06-17-2007 02:30 PM |
| Oi subroutines help | mishikwest | Fanuc | 1 | 08-01-2006 05:17 PM |
| Fanuc 15m Subroutines | BROCD | Fanuc | 11 | 02-27-2006 07:04 AM |