![]() | |
| 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
| |||
| |||
Hi, I'm using a Fanuc 31i on Mazak Vortex, and have a control programme (say 1.tap) that calls many subprogrammes, M98 P123 M98 P124 M98 P345 M98 P7654 etc Right now I have to manually transfer these subprogrammes 123, 124, 345 etc from the DTSVRHost to the DTSVR to run the job. This is a little painful when the list of subprogrammes is 30 or so long. Is there a neat way of avoiding having to do this, or bundling these programmes so I could bring them into the memory in one transfer? |
|
#2
| |||
| |||
| I don't know about your Fanuc, but my Mitsubishi controls will break up an incoming file each time it sees the "O" followed by a valid program number. It will end receiving when the "%" character is seen. So the text below can be sent as a single file in one transfer and the control will separate the programs into individual programs. % O100 (Main program) G0 G40 G90 ... M98 P123 M98 P124 M98 P345 M98 P7654 .... M30 O123 (First sub) ... M99 O124 (Second sub) ... M99 O345 (Third sub) ... M99 O7654 (Fourth sub) ... M99 % Last edited by Caprirs; 11-06-2011 at 08:59 AM. Reason: removed code after % ... oops |
|
#3
| |||
| |||
| Thanks Caprirs, This requires me to assemble the "mega" programme, which is what I'm trying to avoid by using subprogrammes that I can tune etc as required. If I want to change subprogramme 2 then currently I just have to reload this subprogramme. The painful bit is just the initial loading of 30 programmes to the machines memory. Maybe I can make some sort of batch or macro command to do this, that has the list of programmes? |
|
#5
| |||
| |||
| Another thought. Again, this is with my Mitsubishi controls. I can go to the control and and start the receive process. It will remain in receive until I press reset or until it reads the "%" character in the incoming code. Thus, from the PC, I can send programs one at a time as long as they do not contain the "%" character at the end of each file as this will instruct the control to end receiving. 1. Go to CNC and start receive/input. 2. Go to PC and send first file. If first file does not have "%", the CNC will still be listening for more. 3. Continue sending files from PC. If you have 30 subs, it still may be tedious and mistake prone to send them all one at a time. On the other hand, if your Fanuc will read directly from a network drive/folder, then that might make file management much easier. |
| Sponsored Links |
![]() |
| 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 |
| Can't load program into memory | 123tool | Haas Lathes | 6 | 02-14-2010 10:30 PM |
| Need help with load calculation | SatanKlawz | DIY-CNC Router Table Machines | 5 | 01-25-2010 09:06 PM |
| Need Help!- Seicos-LII bubble memory load | 1seabee | General Metal Working Machines | 8 | 08-27-2009 11:36 AM |
| Z load on vf-3 | mls | Haas Mills | 5 | 05-15-2008 10:54 PM |
| 10 T load from memory | Bitshird | Fanuc | 0 | 03-19-2008 11:00 AM |