beautypg.com

HEIDENHAIN TNC 320 (340 55x-03) User Manual

Page 524

background image

Contour cycles

Radius compensation of the contour subprograms

Coordinate transformation

Q-parameter definitions

R
R
R
R

Polar coordinate radius
Circular radius with G02/G03/G05
Rounding radius with G25/G26/G27
Tool radius with G99

S
S

Spindle speed
Oriented spindle stop with G36

T
T
T

Tool definition with G99
Tool call
Next tool with G51

U
V
W

Axis parallel to X axis
Axis parallel to Y axis
Axis parallel to Z axis

X
Y
Z

X axis
Y axis
Z axis

*

End of block

Sequence of Program Steps for Machining
with Several Tools

List of subcontour programs

G37 P01 ...

Define contour data

G120 Q1 ...

Define/Call drill
Contour cycle: pilot drilling
Cycle call

G121 Q10 ...

Define/Call roughing mill
Contour cycle: rough-out
Cycle call

G122 Q10 ...

Define/Call finishing mill
Contour cycle: floor finishing
Cycle call

G123 Q11 ...

Define/Call finishing mill
Contour cycle: side finishing
Cycle call

G124 Q11 ...

End of main program, return

M02

Contour subprograms

G98 ...
G98 L0

Addresses

Contour

Programming Sequence
of the Contour Elements

Radius
Compen-
sation

Intnl.
(pocket)

Clockwise (CW)
Counterclockwise (CCW)

G42 (RR)
G41 (RL)

Extnl.
(island)

Clockwise (CW)
Counterclockwise (CCW)

G41 (RL)
G42 (RR)

Coordinate
Transformation

Activate

Cancel

Datum
shift

G54 X+20
Y+30 Z+10

G54 X0 Y0 Z0

Mirror image

G28 X

G28

Rotation

G73 H+45

G73 H+0

Scaling factor

G72 F 0.8

G72 F1 ...

Working plane

G80 A+10
B+10 C+15

G80

D

Function

00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
19

Assignment
Addition
Subtraction
Multiplication
Division
Root
Sine
Cosine
Root sum of squares c = ÷ a

2

+b

2

If equal, go to label number
If not equal, go to label number
If greater than, go to label number
If less than, go to label number
Angle from c · sin a and c · cos a
Error number
Print
Assignment PLC