Positional Data
3.2 Absolute/relative dimensions
Fundamentals
Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
83
N10 G90 G0 X45 Y60 Z2 T1 S2000 M3
;Absolute dimensioning, rapid traverse to XYZ, tool,
;spindle on clockwise
N20 G1 Z-5 F500
;Tool infeed at feedrate
N30 G2 X20 Y35 I0 J-25)
;Circle center point in incremental dimensions
N40 G0 Z2
;Retracting
N50 M30
;End of block
Example of turning
The dimensions refer to the last point approached.
For entering the circle center point coordinates I and J see circle interpolation G2/G3.
=
;
:
N5 T1 D1 S2000 M3
;Tool, spindle on clockwise
N10 G0 G90 X11 Z1
;Absolute dimensioning, rapid traverse to
;position XYZ
N20 G1 Z-15 F0.2
;Tool infeed at feedrate
N30 G3 X11 Z-27 I-8 K-6
;Circle center point in incremental dimensions
N40 G1 Z-40
;Retracting
N50 M30
;End of block