
06-15-2009, 09:44 AM
|
| | | Join Date: May 2009 Location: Guatemala
Posts: 6
| |
Hi, I need a post to GE fanuc 21i-M control. I used Mastercam 9.1 but Ican`t make it.
please you can help. my e-mail polido05@gmail.com
thank`s.
Originally Posted by Dan Fritz Here's a couple of tricks for making a program smaller. If you can get it down to the size of your internal memory, the problem is solved, no?
Step 1: Remove all N-numbers except those that you really need for mid-file restarts. N-numbers are not needed.
Step 2: Remove all space characters
Step 3: Remove all redundant dimensions. Sometimes you're cutting along a row of points where all the X or Y dimensions are repeated in each block. That's wasteful.
Steps 1, 2, and 3 can be done with some simple changes to your post. The steps below can REALLY cut the program down to size
Step 4: Convert the program to incremental (yes, you heard me .... G91), and at the same time, do step #5:
Step 5: Change the number formatting so that decimal points are not used. Fanucs can use trailing zero format, so X1.2456 can be programmed as X12456. The loss of the decimal points is not the goal here. The goal is to turn those short moves into very short commands, like X23Y15Z2
Step 6: (to be used instead of steps 4 & 5). Convert the point-to-point G01 data into a series of arcs. This kind of output lets you specify points that are farther apart, which reduces the number of blocks in the program
One of my customers sent me a 10mb file once that looked like this:
N0001 G01 G90
N0002 X1.2345 Y4.5678 Z0.1234
N0003 X1.2350 Y4.5678 Z0.1236
N0004 X1.2356 Y4.5678 Z0.1240
(etc.)
I sent him back a file like this:
G01G91
X5Z2
X6Z4
(etc.)
His 10mb file became about 2.3mb in a big hurry. We left some G90 motions and some N-numbers near the points where he might want to resume if the program got interrupted.
Hope this helps. | |