8
04.00 Tool Offsets
8.3 Online tool offset PUTFTOCF
 PUTFTOC
 FTOCON
 FTOCOF
8
840D
NCU 572
NCU 573
840Di
ï›™
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) 
−
 04.00 Edition
8-273
 
 
 
Programming example
 
Task
 On a surface grinding machine with the following
parameters, the grinding wheel is to be dressed by
the amount 0.05 after the start of the grinding
movement at  X100. The dressing amount is to be
active with write online offset continuously.
 
 Y: Infeed axis for the grinding wheel
 V: Infeed axis for the dresser roll
 
 Machine: Channel 1 with axes X, Z, Y
 Dress: Channel 2 with axis V
 
 
Dressing roll
Workpiece
Grinding
wheel
0.05
Y
X
100
   
 
Machining program in channel 1:
 
 
%_N_MACH_MPF
 
 
 
…
 
 
 
N110 G1 G18 F10 G90
 Basic position
 
 
N120 T1 D1
 Select current tool
 
 
N130 S100 M3 X100
 Spindle on, travel to starting position
 
 
N140 INIT (2, "DRESS", "S")
 Select dressing program on channel 2
 
 
N150 START (2)
 Start dressing program on channel 2
 
 
N160 X200
 Travel to destination position
 
 
N170 FTOCON
 Activate online offset
 
 
N… G1 X100
 Continue machining
 
 
N…M30
 
   
 
Dressing program in channel 2:
 
 
%_N_DRESS_MPF
 
 
 
…
 
 
 
N40 FCTDEF
 
(1,
 
–1000, 1000, –$AA_IW[V], 1)
 Define function: Straight line
   
 
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