Tool offsets
8.3 Online tool compensation (PUTFTOCF, PUTFTOC, FTOCON, FTOCOF)
Job planning
8-10 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Dressing program in channel 2:
%_N_DRESS_MPF
…
N40 FCTDEF (1, –1000, 1000, –$AA_IW[V],
1)
;Define function: Straight
N50 PUTFTOCF (1, $AA_IW[V], 3, 1) ;Write online offset continuously:
;Length 3 of the current grinding wheel
;is derived from the movement of the
;V axis and corrected in channel 1.
N60 V–0.05 G1 F0.01 G91 ;Infeed movement for dressing, PUTFTOCF
;is only effective in this block
…
N… M30
Dressing program, modal:
%_N_DRESS_MPF
FCTDEF(1,-1000,1000,-$AA_IW[V],1) ;Define function:
ID=1 DO FTOC(1,$AA_IW[V],3,1)
;Select online tool offset:
;Actual value of the V axis is the input
;value for polynomial 1; the result is
;added length 3 of the active grinding
;wheel in channel 1 as the offset value.
WAITM(1,1,2) ;Synchronization with machining channel
G1 V-0.05 F0.01, G91 ;Infeed movement to dress wheel
G1 V-0.05 F0.02
...
CANCEL(1) ;Deselect online offset
...