Ok lets say you want to mill a 1 inch square on center.
Stock is 1.5 inches in diameter.
Please keep in mind you can program 100 different ways.
This works for me.
T505 S3000 M44 ( live tooling start rotating)
G98 (inches per minute)
G40( cancel cutter comp)
G13.1( cancel c-axis interpolation)
M13 ( c-axis mode)
G28 H0.0 ( home c-axis)
G0 C0.0
G0 X2.0 Z0.0
G12.1 ( start c-axis interpolation)
G01 G41 X1.5 C1.0 F200.0 ( rapid to the cut while starting cutter comp)
G01 X1.0 C.5 F20.0 ( notice the x is double. x-is always in diameter mode )
G01 X.5 C-.5 ( lower right corner of square if you are looking at it)
G01 X-.5 C-.5
G01 X-.5 C.5
G01 X.8 C.5 ( travel a little past the square)
G01 G40 X1.5 C.9 F200.0 ( cancel cutter comp and move away)
G0 G99 X3.0 Z3.0 ( go back to inches per rev)
G13.1 ( cancel c-axis interpolation)
T808 S3000 M3 ( turning tool or whatever)
I think this is right. My son is hitting my head with his toy car. I am a little distracted.
Little different from what I'm used to. X is double and C is programmed radial. For a 1" sq, X would be X1., not X.5. Also, for climb milling, use G42. Here's what a 21i-T would look for, if I remember right.
N1 T0101 G97 S3000 M13 (tool 1, direct rpm for LH e-mill- would be M14 with dual geared live holders)
M52 (activate C spindle)
G28 C0. (orient spindle)
G0 G99 X1.5 Z.05 (rapid to start with enough travel to activate cutter comp and ipr mode)
G12.1 (activate polar coordinate interprolation)
G1 G42 X1.05 C.5 F.1 (get to a cleared start for X and height for C with comp)
Z-XXX (get to Z depth)
X-1. C.5 F.008
X-1. C-.5
X1. C-.5
X1. C.5
G40 X1.05 F.1 (cancel comp-no rapids in G12.1)
G13.1
G0 Z.1 M15 (live tool off)
X (safe index) Z (safe index)
M53 (cancel C axis mode-main spindle active)
M1
N(next tool operation)
Timm, I used to draw out the polar X & Y graph (C becomes Y essentially) when I first started doing the thing. It helps. Just remember that there are different rules to polar interp, but X is dimetrical and C is radial. Have fun!
Dean.