hy wc, you should definetly look into haas variables, i guess there are a few
now, if i may, i will write the core for your parameterized program, for the okuma :
also, there is something that i like to call evolution codes :Code:CALL OFACE(CUT ) LINK = tool V1 = rpm V2 = feed V3 = material_od CALL OEXTE(RNALTURNING) LINK = tool V1 = V2 = V3 = dia V4 = length CALL OTHRE(ADING ) LINK = tool V1 = V2 = V3 = doc V4 = finish V5 = infeed_1 V6 = infeed_2 V7 = length M02
... G71 X=DX2-2.77 Z=LZ-LZ3 H2.77 D.3U.07 F25.4 J12
... G71 V1=2.77 X=DX2-V1 Z=LZ-LZ3 H=V1 D.3 U.07 F25.4 J12
... G71 V1=2.77 X=DX2-V1 Z=LZ-LZ3 H=V1 D.3 U.07 F25.4/12 G95
find someone who can "hass" it / kindly