ok, and if you edit the radius, why don't you edit directly ? why do edit it like this " V2=5(radius) VNSRX[200]=VNSRX[V1]+V2 " ? who is 200 ( i suppose your active tool ) and who is V1 ? why do use V1 ?
I don't have turret i have a milling spindle.
i believed that you have a turret with milling spindle; in other words, you have a multitasking machine ?
i program With tool center not tool edge, so if there is radius 5 in tool page for 10.mm mill the part will be 5.mm wrong
if you program on tool center, but tool_radius_offset is <> 0, then simply don't call the radius inside the program ( at least when roughing ); so, whatever the radius value inside the register, your program will ignore it
if you call the radius inside the program, and you wish to be sure, then check it's value :
Code:
IF [ VNSRX [ 01 ] EQ 5 ] NJUMP1
NLOOP1 M0 ( wrong radius value )
GOTO NLOOP1
NJUMP1 NOEX
IF [ VNSRZ [ 01 ] EQ 5 ] NJUMP2
NLOOP2 M0 ( wrong radius value )
GOTO NLOOP2
NJUMP2 NOEX
if you wish to apply ±0.2 corections on that radius, then you can check it like this :
Code:
IF [ ABS [ VNSRX [ 01 ] - 5 ] LE 0.2 ] NJUMP1
NLOOP1 M0 ( wrong radius value )
GOTO NLOOP1
NJUMP1 NOEX
IF [ ABS [ VNSRZ [ 01 ] - 5 ] LE 0.2 ] NJUMP2
NLOOP2 M0 ( wrong radius value )
GOTO NLOOP2
NJUMP2 NOEX
kindly