Hello,

It has been a while since I wrote programs manually, including live tools and now I'm a little lost.

I was trying to do face milling with live tool (90 degree holder) on a Emco Maxxturn with Fanuc 18i control.

The form is simply hexagon, where the spanner width is 22 mm. Almost identical with the Emco Manual example.

My form is this.

Now, I managed to run the shape without tool radius compensation G41 with the next program:

G91G28X0Z0
T0606 (D12 ENDMILL)
M5
G97S1000M304
M52
G52C0
G28C0
G0G40G90G58X50C0Z-16
G12.1
G1X38.9C10F0.3
C0
X19.45C-16.84
X-19.45
X-38.9C0
X-19.45C16.84
X19.45
X38.9C0
C-10
G40X50Z5
G13.1
G52C0
M53
G0X150Z150M305
G91G28X0Z0
M30

However, when I tried to run with the G41, the tool track was completely odd. The chuck span to both directions and the compensation didn't work at all. The tool even went to near zero point.

G91G28X0Z0
T0606 (D12 ENDMILL)
G97S1000M304
M52
G28C0
G0G40G90G58X30C15Z3
G12.1
G1G41X12.7C30F0.1
C0 ***Here the tool goes to near hexagon zero point
X6.35C-10.99
X-6.35
X-12.7C0
X-6.35C10.99
X6.35
X12.7C0
C-15
X30C-15G40
G13.1
G52C0
M53
G0X150Z150M305
G91G28X0Z0
M30

I also tried to wrote the Emco Manual program exactly, but that caused the same errors on the form. Can somebody help me, what wrong is with the compensation?