What's new
What's new

FANUC 021 alarm C axis interpolation

cnczack

Aluminum
Joined
Sep 14, 2020
heres the code

(0.36 THREAD MILL)
(5/8-11RH)
G0 G17 G40 G80
M70 (MILLING MODE)
G28 W0.
T1010 M06
G54
G28 H0.
G0 C0.
M22
G97 S2122 M33
X10.
G0 Z2. M8
G12.1
G94 G1 X7.0711 C3.5355 Z1. F100.
Z1.
Z.1
G94 G1 Z-1. F25.
G41 X7.381 C3.5382 F93.42
G3 X7.0586 C3.6967 R.1613 F134.5
X6.7361 C3.5355 R.1613 F3.26
C3.5341 R.1613 F98.12
X7.0836 C3.3618 R.1737 F140.81
X7.4311 C3.5355 R.1737 F3.49
X7.0711 Z-.9773 C3.7155 R.18 F133.52 <------ this is where i get the alarm
X6.7111 Z-.9545 C3.5355 R.18 F3.49
X7.0711 Z-.9318 C3.3555 R.18 F140.5
X7.4311 Z-.9091 C3.5355 R.18 F3.49
X7.0711 Z-.8864 C3.7155 R.18 F133.52
X6.7111 Z-.8636 C3.5355 R.18 F3.49
X7.0711 Z-.8409 C3.3555 R.18 F140.49
X7.4311 Z-.8182 C3.5355 R.18 F3.49
X7.0711 Z-.7954 C3.7155 R.18 F133.52
X6.7111 Z-.7727 C3.5355 R.18 F3.49
X7.0711 Z-.75 C3.3555 R.18 F140.5
X7.4311 Z-.7273 C3.5355 R.18 F3.49
X7.0711 Z-.7045 C3.7155 R.18 F133.52
X6.7111 Z-.6818 C3.5355 R.18 F3.49
X7.0711 Z-.6591 C3.3555 R.18 F140.49
X7.4311 Z-.6364 C3.5355 R.18 F3.49
X7.0711 Z-.6136 C3.7155 R.18 F133.52
X6.7111 Z-.5909 C3.5355 R.18 F3.49
X7.0711 Z-.5682 C3.3555 R.18 F140.49
X7.4311 Z-.5454 C3.5355 R.18 F3.49
X7.0711 Z-.5227 C3.7155 R.18 F133.52
X6.7111 Z-.5 C3.5355 R.18 F3.49
X7.0711 Z-.4773 C3.3555 R.18 F140.5
X7.4311 Z-.4546 C3.5355 R.18 F3.49
X7.0711 Z-.4318 C3.7155 R.18 F133.52
X6.7111 Z-.4091 C3.5355 R.18 F3.49
X7.0711 Z-.3864 C3.3555 R.18 F140.49
X7.4311 Z-.3636 C3.5355 R.18 F3.49
X7.0711 Z-.3409 C3.7155 R.18 F133.52
X6.7111 Z-.3182 C3.5355 R.18 F3.49
X7.0711 Z-.2955 C3.3555 R.18 F140.5
X7.4311 Z-.2727 C3.5355 R.18 F3.49
X7.0711 Z-.25 C3.7155 R.18 F133.52
X6.7111 Z-.2273 C3.5355 R.18 F3.49
X7.0711 Z-.2046 C3.3555 R.18 F140.49
X7.4311 Z-.1818 C3.5355 R.18 F3.49
X7.0711 Z-.1591 C3.7155 R.18 F133.52
X6.7111 Z-.1364 C3.5355 R.18 F3.49
X7.0711 Z-.1136 C3.3555 R.18 F140.49
X7.4311 Z-.0909 C3.5355 R.18 F3.49
X7.0711 Z-.0682 C3.7155 R.18 F133.52
X6.7111 Z-.0455 C3.5355 R.18 F3.49
X7.0711 Z-.0227 C3.3555 R.18 F140.49
X7.4311 Z0. C3.5355 R.18 F3.49
X7.0836 C3.7093 R.1738 F134.06
X6.7361 C3.537 R.1738 F3.84
C3.5356 R.1612 F96.65
X7.0586 C3.3743 R.1612 F140.81
X7.381 C3.5328 R.1612 F1.86

im trying to thread mill a hole on our Fanuc 18i-TB control. The machine is a Youji 1200 ATC+C. I get this error upon hitting this line above. Any suggestions?
 
does the machine have the helical interpolation option from FANUC turned on?

I had fanuc out here a few weeks back and they said it was turned on. Then after reaching out to them again they said "programming error change code" lol
 
I am not verifying your numbers, but they seem plausible.

But the feedrate variation has me :confused:
But I highly doubt that the feedrate is throwing an alarm.

No Y axis option?


-------------------

Think Snow Eh!
Ox
 
I am not verifying your numbers, but they seem plausible.

But the feedrate variation has me :confused:
But I highly doubt that the feedrate is throwing an alarm.

No Y axis option?


-------------------

Think Snow Eh!
Ox

the feedrate is insane lol. Im going to have that fixed once i dial this in, usually the feedrate outputs in a different feed rate than a linear feedrate. what do you mean by Y axis option?
 
If you had Y axis on that lathe, it would be easier to program in X/Y/Z.
Probably better pitch D tol as well if you have the brake on too.

This is a VTL tho eh?


-------------------

Think Snow Eh!
Ox
 
Isn't that what the G12.1 is?
It's G112 on all of mine, but ... ???


-------------------

Think Snow Eh!
Ox
 
If Y-axis is not there, polar interpolation can be used for machining a hexagonal head, for example, provided C-axis control is available. Polar interpolation is invoked by G12.1 or G112.
Coordinates for the rotary C-axis are specified in degrees. However, in the polar interpolation-mode, it behaves like a linear axis which is called virtual C-axis (C'- axis). Program is written as if we are programming a milling machine.
In the end, the polar interpolation mode must be canceled by G13.1 (or G113), for C-axis to behave normally.
 
Have you checked the polar interpolation is working as expected without the helical interpolation? Say by testing out a hex or a flat? If it is and the alarm then gets thrown on the helical part I would be leaning towards the option not being turned on.
We had a Doosan Puma 2600Y that came with helical interpolation option turned on as standard. Nice way to save on setups when popping different sized holes in the OD of tubing.
The Y axis Leadwell we have now does not have helical interpolation as standard.
 
Sure, just pull the Z movements out of the code and see if it runs.


--------------------

Think Snow Eh!
Ox
 
I'm quite certain helical interpolation is not enabled on your control. You know it isn't a compensation issue because it's well past that point. Your code looks fine other than the feed rate making drastic changes every line.

G107/G7.1 is used for axial interpolation (Z/C) rather than radial ( [X/C] G112/G12.1), it won't work.
 








 
Back
Top