Programming
10.2 Positional data
Cylindrical grinding
Programming and Operating Manual, 07/2009, 6FC5398-4CP10-2BA0
243
Programming example
N10 G0 X0 Z0
;Approach starting point
N20 DIAMOF
Diameter input off
N30 G1 X30 S2000 M03 F0.8
; X-axis = traverse axis active
; traverse to radius position X30
N40 DIAMON
; Diameter dimensions active
N50 G1 X70 Z-20
; Traverse to diameter position X70 and Z-20
N60 Z-30
N70 DIAM90
; diameter programming for absolute dimension and
; radius programming for incremental dimension
N80 G91 X10 Z-20
Incremental dimension
N90 G90 X10
Absolute dimensions
N100 M30
;End of program
Note
A programmable offset with TRANS X... or ATRANS X... is always evaluated as radius
dimensioning. Description of this function: see the next section.