OKUMA Mill MC-V4020
Im a bit confused, when programming I know the basic T0101 codes, but the mill has a different mind set...
here is a sample of the program
what I need to figure out is how to split the groove section into about 3 different offsets to control each feature individually leaving the operators in the offset section ONLY and not trying to adjust sizes in the program...
NT04 (BACK OF HEAD, SHOULDER GROOVE)
M01
G111 A4 R1
G56 H4 M3 S5000
G15 H1
G00 X-1.5 Y1.5 Z1.5 M8
CALL OGROV
/M05
/GOTO NEND
G15 H2
G00 X-1.5 Y1.5
CALL OGROV
(etc)....
OGROV
(UNDER HEAD)
G01 Z.2780+.075 F300
G41D4 X0 Y1.0
G01 Y.8020+.145 F80
G02 I0 J-.8020-.1445
G01 Y1.0 F300
(THREAD ROLL DIAMETER)
Z-.236+.0665
Y.757+.146 F80
G02 I0.0 J-.757-.145
G01 Y1.0 F300
(BOTTOM OF WIDEGROOVE)
Z.1555+.006
Y.722+.146 F30
G02 I0 J-.722-.148 F50
G01 Y1.0 F300
(TOP OF WIDE GROOVE)
Z.1810+.074
Y.722+.146 F30
G02 I0 J-.722-.148 F50
G01 Y1.5 F300
G40
RTS
If I take the G41D4 and under each section (under head, thread roll diameter, etc) give each one its own such as G41D14 for thread roll section and G41D15 for bottom of widegroove and G41D16 for top of widegroove leaving the under head section with G41D4
would that allow me to utilize tool 4 with offset 4,14,15,16? I want to be able to adjust hieght and width for each offset