Programming
10.14 Multiple feedrate values in one block
Cylindrical grinding
Programming and Operating Manual, 07/2009, 6FC5398-4CP10-2BA0
329
Example of programming path motion
The path feed is programmed under the address F and remains valid until an input signal is
present. The numerical expansion indicates the bit number of the input that activates the
feedrate when changed:
F3=20
;3 corresponds to input bit 3
F2=5
;2 corresponds to input bit 2
ST=1
;Dwell time (s) input bit 1
SR=0.5
;Return path (mm) input bit 0
Example of programming axial motion
The axial path feed is programmed under the address FA and remains valid until an input
signal is present.
FMA[3,x]= to FMA[2,x]= can be used to program up to 2 further feeds per axis in the block.
The first expression in the square brackets indicates the bit number of the input; the second
the axis for which the feedrate is to apply
FMA[3, x]=1000
;Axial feedrate with the value 1000 for X axis, 3
;corresponds to input bit 3
Example of axial dwell time and return path
Dwell time and return path are programmed under the following additional addresses:
STA[x]=...
;Axial dwell time (s) input bit 1
SRA[x]=...
;Axial return path (mm) input bit 0
If input bit 1 is activated for the dwell time or bit 0 for the return path, the distance to go for
the path axes or the relevant single axes is deleted and the dwell time or return started.
Example of several operations in one block
N20 T1 D1 F500 G0 X100
;Initial setting
N25 G1 X105 F=20 F3=5
F2=0.5 ST=1.5
SR= 0.5
; Roughing with F, finishing withF3,
; smooth-finishing with F2, dwell time 1.5 s
;return path 0.5 mm
N30 ...
…