Cycle parameters – HEIDENHAIN TNC 640 (34059x-01) Cycle programming User Manual
Page 165

HEIDENHAIN TNC 640
165
6.3 CAR
T
ESIAN P
A
T
TERN (Cy
c
le
221, DIN/ISO: G221)
Cycle parameters
U
Starting point 1st axis
Q225 (absolute): Coordinate
of the starting point in the reference axis of the
working plane.
U
Starting point 2nd axis
Q226 (absolute): Coordinate
of the starting point in the minor axis of the working
plane.
U
Spacing in 1st axis
Q237 (incremental): Spacing
between each point on a line.
U
Spacing in 2nd axis
Q238 (incremental): Spacing
between each line.
U
Number of columns
Q242: Number of machining
operations on a line.
U
Number of lines
Q243: Number of passes.
U
Rotational position
Q224 (absolute): Angle by
which the entire pattern is rotated. The center of
rotation lies in the starting point.
U
Set-up clearance
Q200 (incremental): Distance
between tool tip and workpiece surface
U
Workpiece surface coordinate
Q203 (absolute):
Coordinate of the workpiece surface.
U
2nd set-up clearance
Q204 (incremental): Coordinate
in the spindle axis at which no collision between tool
and workpiece (fixtures) can occur
U
Moving to clearance height
Q301: Definition of how
the tool is to move between machining processes.
0: Move to the set-up clearance between operations.
1: Move to the 2nd set-up clearance between
machining operations.
Example: NC blocks
54 CYCL DEF 221 CARTESIAN PATTERN
Q225=+15
;STARTING POINT 1ST AXIS
Q226=+15
;STARTING POINT 2ND AXIS
Q237=+10
;SPACING IN 1ST AXIS
Q238=+8
;SPACING IN 2ND AXIS
Q242=6
;NUMBER OF COLUMNS
Q243=4
;NUMBER OF LINES
Q224=+15
;ROTATIONAL POSITION
Q200=2
;SET-UP CLEARANCE
Q203=+30
;SURFACE COORDINATE
Q204=50
;2ND SET-UP CLEARANCE
Q301=1
;MOVE TO CLEARANCE
X
Y
Q226
Q225
Q224
Q238
Q237
N = Q242
N = Q243
X
Z
Q200
Q203
Q204