What's new
What's new

Multiple Subprograms on KE55 w/Pro Jn

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?
 
Ok, so I solved my issue with the offsets. We had a substitute teacher while our normal one was helping at a Skills USA competition.

%
O0201;
G54 G90 G00 X -1.0 Y -1.0;
T1;
S2500 M3 ;
G43 H2 Z 0.1 ;
G01 Z -0.1 F40. ;
G41 D2 X 0.0 ;
Y 2.5 ;
Etc…

It was in my offsets. My tool length offset was correct, by both teachers insisted that the same offset number (H2, D2) had to be used. The systems they are familiar with, that would be true. Length and dia./rad. offsets would be on the same line. But in the Pro Jn/KE55 it is not. So you must assign to different values.
Some of you reading will say, "Well, duh!" But! In Skillmaster(manual) mode. There is place in the Position screen to put a tool diameter. And there is no tool changer. So we thought that would affect tool radius for the G41/42 compensation. It does not.

Ended up more like;

O0201
G90 G54 G00 X-1. Y-1.;
S2500 M3;
G43 H1 Z0.;
G41 D2 X0.;
etc…

The tool radius offset actually went into my sub program, but you get the point.

I hope this helps someone. [emoji3]
 








 
Back
Top