What's new
What's new

Fanuc 16T error 021 ILLEGAL PLANE AXIS COMMANDED

meowkat

Aluminum
Joined
Aug 18, 2013
Location
IL USA
Here's part of the program:

Code:
:1001
G0 G20 G40 G80 G96 G99

N100(POCKET OVAL SLOTS)
G0 G28 U0.
G0 G28 W0.
M69 (SPINDLE BRAKE UNCLAMP)
G54
G98 G18 M45 (C AXIS JOINT)
G0 G28 H0.
T0606
M8
G97 S2800 M13 (ROTARY TOOL SPINDLE START)
G0 Z0.9
X2.7375
C0.
G12.1
G1 X-1.9844 C0.9429 F59.0551
Z0.04
Z0.0387 F8.4
X-1.9842 C0.943 Z0.0364
X-1.9836 C0.9433 Z0.0341
X-1.9826 C0.9438 Z0.0318
X-1.9812 C0.9446 Z0.0297
X-1.9794 C0.9455 Z0.0277
X-1.9774 C0.9466 Z0.0259
X-1.975 C0.9478 Z0.0243
X-1.9723 C0.9492 Z0.0229
X-1.9694 C0.9507 Z0.0218
X-1.9291 C0.9711 Z0.0084
X-1.888 C0.9911 Z-0.005
X-1.846 C1.0107 Z-0.0184
X-1.8032 C1.0298 Z-0.0318
X-1.7596 C1.0485 Z-0.0452   <-- error happens here in single block mode, it's probably the next line
G3 X-1.7634 C1.0592 Z-0.0513 I-0.004 J0.0048
X-1.7757 C1.0581 Z-0.0543 I-0.0021 J-0.0059
G1 X-1.8171 C1.0404 Z-0.067
X-1.8578 C1.0223 Z-0.0797
X-1.8977 C1.0037 Z-0.0924
X-1.937 C0.9848 Z-0.1051
X-1.9754 C0.9655 Z-0.1178
X-2.0131 C0.9459 Z-0.1305
X-2.05 C0.9258 Z-0.1432
X-2.0526 C0.9244 Z-0.144
X-2.0552 C0.923 Z-0.1446
X-2.0579 C0.9215 Z-0.1449
X-2.0606 C0.9199 Z-0.145
G3 X-2.1162 C0.8879 I1.0303 J-0.9199
X-2.1088 C0.8777 I0.0048 J-0.004
X-2.097 C0.8798 I0.0011 J0.0062
G2 X-1.7596 C1.0485 I1.0485 J-0.8798
G3 X-1.7634 C1.0592 I-0.004 J0.0048
X-1.7757 C1.0581 I-0.0021 J-0.0059

I am using a custom post processor, I bet this would work for a newer control. Anyone know what my issue is here? G18 is set at the C axis joint.
 
Here's part of the program:

Code:
:1001
G0 G20 G40 G80 G96 G99

N100(POCKET OVAL SLOTS)
G0 G28 U0.
G0 G28 W0.
M69 (SPINDLE BRAKE UNCLAMP)
G54
G98 G18 M45 (C AXIS JOINT)
G0 G28 H0.
T0606
M8
G97 S2800 M13 (ROTARY TOOL SPINDLE START)
G0 Z0.9
X2.7375
C0.
G12.1
G1 X-1.9844 C0.9429 F59.0551
Z0.04
Z0.0387 F8.4
X-1.9842 C0.943 Z0.0364
X-1.9836 C0.9433 Z0.0341
X-1.9826 C0.9438 Z0.0318
X-1.9812 C0.9446 Z0.0297
X-1.9794 C0.9455 Z0.0277
X-1.9774 C0.9466 Z0.0259
X-1.975 C0.9478 Z0.0243
X-1.9723 C0.9492 Z0.0229
X-1.9694 C0.9507 Z0.0218
X-1.9291 C0.9711 Z0.0084
X-1.888 C0.9911 Z-0.005
X-1.846 C1.0107 Z-0.0184
X-1.8032 C1.0298 Z-0.0318
X-1.7596 C1.0485 Z-0.0452   <-- error happens here in single block mode, it's probably the next line
G3 X-1.7634 C1.0592 Z-0.0513 I-0.004 J0.0048
X-1.7757 C1.0581 Z-0.0543 I-0.0021 J-0.0059
G1 X-1.8171 C1.0404 Z-0.067
X-1.8578 C1.0223 Z-0.0797
X-1.8977 C1.0037 Z-0.0924
X-1.937 C0.9848 Z-0.1051
X-1.9754 C0.9655 Z-0.1178
X-2.0131 C0.9459 Z-0.1305
X-2.05 C0.9258 Z-0.1432
X-2.0526 C0.9244 Z-0.144
X-2.0552 C0.923 Z-0.1446
X-2.0579 C0.9215 Z-0.1449
X-2.0606 C0.9199 Z-0.145
G3 X-2.1162 C0.8879 I1.0303 J-0.9199
X-2.1088 C0.8777 I0.0048 J-0.004
X-2.097 C0.8798 I0.0011 J0.0062
G2 X-1.7596 C1.0485 I1.0485 J-0.8798
G3 X-1.7634 C1.0592 I-0.004 J0.0048
X-1.7757 C1.0581 I-0.0021 J-0.0059

I am using a custom post processor, I bet this would work for a newer control. Anyone know what my issue is here? G18 is set at the C axis joint.

I'm guessing because you have a g3 in there and you never canceled you g18.
I never used the c command before done a years of surfacing with g18 and g19. you throw a g3 or g2 in there you get errors and or crashes.
Again not familiar with the c call out.
 
Okay so it's probably a post processor issue then? Nexgencam will have it sorted probably on Monday. They are pretty good to work with most of the time.
 








 
Back
Top