Cav.sabers
Plastic
- Joined
- Feb 21, 2017
First I want to say I'm a two year lurker and have learned quite a bit since I started reading. So, thank you.
Here's the issue- I've been learning programming on a HAAS VF1 and a '95 Makino KE55 machining center and mill, respectively. With the KE55 I wrote two subprograms. With only one programmed in, it worked fine. I ran the sub 4 times, each time going -z .025"(aluminum with a 1/2" carbide end mill). When it got to the second one, which was just for excess material removal, it gave me an alarm. 021 Illegal plane axis. However, in that sub, I did not use circular interpolation. No G17, G18, or G19 in any of my program. Only G01, G02, and G03. And I only used those in the first sub. But, I programmed it to return to the z-.020
I'm thinking I should run then back and forth like
G01 Z-0.020;
M98 P0211;
M98 P1211;
Z-0.040;
M98 P0211;
M98 P1211;
Z-0.060;
etc...
or…
G01 Z-0.020;
M98 P0211;
G01; (because the last block from previous is a G02)
M98 P1211;
Z-0.040; (because the whole sub is linear interpolation)
I'm not using cutter compensation either. Any ideas?
Here's the issue- I've been learning programming on a HAAS VF1 and a '95 Makino KE55 machining center and mill, respectively. With the KE55 I wrote two subprograms. With only one programmed in, it worked fine. I ran the sub 4 times, each time going -z .025"(aluminum with a 1/2" carbide end mill). When it got to the second one, which was just for excess material removal, it gave me an alarm. 021 Illegal plane axis. However, in that sub, I did not use circular interpolation. No G17, G18, or G19 in any of my program. Only G01, G02, and G03. And I only used those in the first sub. But, I programmed it to return to the z-.020
I'm thinking I should run then back and forth like
G01 Z-0.020;
M98 P0211;
M98 P1211;
Z-0.040;
M98 P0211;
M98 P1211;
Z-0.060;
etc...
or…
G01 Z-0.020;
M98 P0211;
G01; (because the last block from previous is a G02)
M98 P1211;
Z-0.040; (because the whole sub is linear interpolation)
I'm not using cutter compensation either. Any ideas?