![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Good evening everyone, I have a CNC memory/Program file size issue. I'm using a Haas VF 3 with 16MB of memory. The tool I'm trying to mill has 12 cavities (3 rows of 4). To get around the program being too large, I want to set the G-Code to mill a single cavity in the 12 different locations in the tool. I'm limited in my programming experience; I'm sure it can be done, I'm just not sure how to go about it. Any input would be greatly appreciated. Thanks, Andre |
|
#3
| |||
| |||
| Look in the manual for info on repeating a subprogram move to the next pocket G92X&Y then call sub routeen lined N15-195Ect and so on also switching between G90&G91 absulte vs. incermental may shorten the program using canned cycles for pocket's help's shorten thing's a lot good luck Kevin |
|
#6
| |||
| |||
| Andre, I posted over in the machine tool help forum on this question for you if you want to look. Below is a cut and past of the post that I made +/- a bit of info. For basic explaining without getting into to much tricky programming I would approach it something like this. Lets say that you have your XY locations for each cavity. Cavity 1 is X5.Y2. and cavity 2 is X7.Y2. Now program your detailed code for the cavity in program 1000. O1234(main program) ... G10L2P1X5.Y2.-----sets G54 to X5.Y2. M98P1000----------runs program 1000 using the above position of X5.Y2. G10L2P1X7.Y2.-----sets G54 to X7.Y2. M98P1000----------runs program 1000 using the above position of X7.Y2. G10L2P1X()Y()------position of cavity 3 M98P1000-----------runs program 1000 using the above position of X()Y() ...------------------positions of the remaining cavity's M30----------------program end and rewind O1000(sub program) ... G54-----------------instates G54 offset ...------------------detailed code of the cavity M99----------------ends subprogram 1000 and returns to program 1234 were it left off. You see that you will set your position of each cavity and then call program 1000 to run the detail of the cavity. Now in Haas there are other features that you can use like M97 so you do not have to create a subprogram of 1000 but I don't want to overdue the details and confuse with to much info. **Edit** I agree with Beege.....steer clear of G92. Stevo Last edited by stevo1; 03-23-2011 at 08:48 PM. Reason: Agreeing with Beege |
![]() |
| Tags |
| g-code, haas, pattern |
| 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 |
| Newbie- Pattern Making | kb18951452 | Moldmaking | 8 | 08-24-2010 02:05 AM |
| Can you pattern fillets? | bigalexe | Solidworks | 1 | 04-28-2010 09:40 AM |
| RFQ - MDF Pattern CNC Routing | anotherlatenigh | Employment Opportunity | 4 | 08-03-2007 06:27 AM |
| Pattern Systems | DanFri | General CAM Discussion | 10 | 05-02-2003 10:55 AM |