![]() | |
| 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
| |||
| |||
I am looking to chain two seperate programs together into a main call program. This is mostly for operator ease. I have done this in the past on other machines, but so far I have been unable to do it on a Fadal. I'm thinking I'm not looking in the right area of the manual. Any help would be appreciated. I enjoy reading the responses the forum is providing. I'm new at this online help forums. |
|
#2
| |||
| |||
| what control do you have? are you using format 1 or format 2 ? If you look in the operators manual under Formats it gives program examples for both formats .... i use (88hs control) format 2 and program with m98 and it works fine. Hennessy |
|
#3
| ||||
| ||||
| VANM-- Using the M98 program call is the right approach to using sub-programs. Just make sure that the sub-program ends with the M99 code and NOT an M2 or M30. Also try not to have the same "N" sequence number in the main and sub-programs as trying to do a mid-tape start can cause issues. If you have any problems call us at Maintenance Technologies (Fadal Factory Support and Service) at 818 727-2100 Option #3. Neal |
|
#4
| |||
| |||
| I'm a little confused on the syntax for calling a subprogram, is it an L or N98. I am posting an example of what i'm trying to do. Feel free to critique it. When I load it into the machine, it goes into a loop cycle on the screen only, it never actually calls the program. % O8(program name) L100 (call subprogram L100 1 time) M00 L200 (call subprogram L200 1 time) M30 M02 % % L100 (DATE=DD-MM-YY - 09-06-09 TIME=HH:MM - 07:51) N110G20 N120G0G17G40G49G80G90H0E0Z0 N130( 1/4 FLAT ENDMILL TOOL - 15 DIA. OFF. - 15 LEN. - 15 DIA. - .25) N140T15M6 N150G0G90S2139M3E1X-.875Y.25 N160H15Z2. N170Z.5 N180G1X-1.125F25. N190G3X-1.375Y0.J-.25 N200G1Y-.875 N210X1.375 N220Y.875 N230X-1.375 N240Y0. N250G3X-1.125Y-.25I.25 N260G1X-.875 N270Z.6 N280G0Z2. N290M5 N300G91H0Z0. N310E0X0Y0 N320M17 % % % L200 (DATE=DD-MM-YY - 09-06-09 TIME=HH:MM - 07:55) N110G20 N120G0G17G40G49G80G90H0E0Z0 N130( 1/4 FLAT ENDMILL TOOL - 16 DIA. OFF. - 16 LEN. - 16 DIA. - .25) N140T16M6 N150G0G90S4000M3E2X-1.6832Y.25 N160H16Z2. N170Z.25 N180G1X-1.9332F30. N190G3X-2.1832Y0.J-.25 N200X0.Y-2.1832I2.1832 N210X2.1832Y0.J2.1832 N220X0.Y2.1832I-2.1832 N230X-2.1832Y0.J-2.1832 N240X-1.9332Y-.25I.25 N250G1X-1.6832 N260Z.35 N270G0Z2. N280M5 N290G91H0Z0. N300E0X0Y0 N310M17 % % ![]() |
|
#7
| ||||
| ||||
| VANM-- You are trying to combine SUB-ROUTINES and SUB-PROGRAMS. This does not work. Make each of your subs a program with its own "O" word and end it with the M99 code. Then in your main program call the SUB-PROGRAM with the M98 P?? call. Neal |
![]() |
| 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 |
| Subprogram Problems | frogger | Haas Mills | 8 | 04-27-2009 09:12 PM |
| Help with subprogram | 69owb | G-Code Programing | 7 | 09-05-2008 06:06 PM |
| eia subprogram | rs1982 | Mazak, Mitsubishi, Mazatrol | 4 | 04-11-2008 09:10 AM |
| having trouble with subprogram | dshowald | Milltronics | 10 | 02-10-2007 03:32 PM |
| Restarting an EIA subprogram | ajl6549 | Mazak, Mitsubishi, Mazatrol | 6 | 08-09-2006 07:06 AM |