Example 2: Turning
Program code Comment
N5 T1 D1 S2000 M3 ; Loading of tool T1, spindle on with clockwise di-
rection of rotation.
N10 G0 G90 X11 Z1 ; Absolute dimension input, in rapid
traverse to position XZ.
N20 G1 Z-15 F0.2 ; Linear interpolation, feed of the tool.
N30 G3 X11 Z-27 I-8 K-6 ; Counter-clockwise circular interpolation, circle
end point in absolute dimensions, circle center point
in incremental dimensions.
N40 G1 Z-40 ; Traverse
N50 M30 ; End of block
Note
For information on the input of the circle center point coordinates I and J, see Section "Circular
interpolation".
Example 3: Incremental dimensions without traversing of the active zero offset
Settings:
● G54 contains an offset in X of 25
● SD42440 $SC_FRAME_OFFSET_INCR_PROG = 0
Program code Comment
N10 G90 G0 G54 X100
N20 G1 G91 X10 ; Incremental dimensions active, traversing in X of 10 mm
(the zero offset is not traversed).
Fundamentals
2.8 Geometry settings
NC programming
154 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0