Programming and Operating Manual (Milling)
6FC5398-4DP10-0BA1, 01/2014
143
N10 G90 G0 T11 D1 S500 M3
; Specification of technology values
N20 G17 X35 Y35 Z60
; Approach drilling position
N30 G1 F200
; Setting the path feedrate
N40 CYCLE840(20,0,3,-15,,1,4,3,1,6,,3)
Cycle call, dwell time 1 s, direction of
rotation for retraction M4, direction of
rotation after cycle M3, no safety
clearance, parameters MPIT and PIT have
been omitted
N50 M02
; End of program
Programming example: Tapping with encoder
In this program, a thread is tapped with encoder at position X35 Y35 in the XY plane. The drilling axis is the Z axis. The lead
parameter must be defined, automatic reversal of the direction of rotation is programmed. A compensating chuck is used in
machining.
N10 G90 G0 T11 D1 S500 M4
; Specification of technology values
N20 G17 X35 Y35 Z60
; Approach drilling position
N30 CYCLE840(20,0,3,-15,,1,3,4,1,6,,3)
; Cycle call, without safety clearance,
with absolute depth specification
N40 M02
; End of program