beautypg.com

HEIDENHAIN TNC 640 (34059x-02) User Manual

Page 452

background image

Programming: Multiple Axis Machining

12.6 Three-dimensional tool compensation (software option 2)

12

452

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 5/2013

There are two ways to define the tool orientation:

In an LN block with the components TX, TY and TZ

In an L block by indicating the coordinates of the rotary axes

Example: Block format with tool orientation

1 LN X+31.737 Y+21.954 Z+33.165 TX+0.0078922 TY–0.8764339

TZ+0.2590319 RR F1000 M128

LN:

Straight line with 3-D compensation

X, Y, Z:

Compensated coordinates of the straight-line
end point

TX, TY, TZ:

Components of the normalized vector for
workpiece orientation

RR:

Tool radius compensation

F:

Feed rate

M:

Miscellaneous function

Example: Block format with rotary axes

1 L X+31.737 Y+21.954 Z+33.165 B+12.357 C+5.896 RL F1000

M128

L:

Straight line

X, Y, Z:

Compensated coordinates of the straight-line
end point

B, C:

Coordinates of the rotary axes for tool
orientation

RL:

Radius compensation

F:

Feed rate

M:

Miscellaneous function