53
HEIDENHAIN TNC 426 B, TNC 430
4.5 Creating and Writing Programs
Organization of an NC program in HEIDENHAIN
conversational format.
A part program consists of a series of program blocks. The figure at
right illustrates the elements of a block.
The TNC numbers the blocks in ascending sequence.
The first block of a program is identified by “BEGIN PGM,” the
program name and the active unit of measure.
The subsequent blocks contain information on:
■
The workpiece blank
■
Tool definitions, tool calls
■
Feed rates and spindle speeds as well as
■
Path contours, cycles and other functions
The last block of a program is identified by “END PGM,” the pro-
gram name and the active unit of measure.
Defining the blank form — BLK FORM
Immediately after initiating a new program, you define a cuboid
workpiece blank. This definition is needed for the TNC’s graphic
simulation feature. The sides of the workpiece blank lie parallel to
the X, Y and Z axes and can be up to 100 000 mm long. The blank
form is defined by two of its corner points:
■
MIN point: the smallest X, Y and Z coordinates of the blank form,
entered as absolute values.
■
MAX point: the largest X, Y and Z coordinates of the blank form,
entered as absolute or incremental values.
You only need to define the blank form if you wish to run
a graphic test for the program!
The TNC can display the graphic only if the ratio of the
short side to the long sides of the BLK FORM is less than
1:64!
Block:
10 L X+10 Y+5 R0 F100 M3
Path function
Words
Block number
4.5 Cr
eating and
W
riting Pr
ogr
ams
Y
X
Z
MAX
MIN
Ekap4.pm6
30.06.2006, 07:03
53
www.EngineeringBooksPdf.com
Summary of Contents for TNC 426 B
Page 3: ...BAUSKLA PM6 30 06 2006 07 03 2 www EngineeringBooksPdf com ...
Page 4: ...BAUSKLA PM6 30 06 2006 07 03 3 www EngineeringBooksPdf com ...
Page 6: ...CINHALT PM6 30 06 2006 07 03 2 www EngineeringBooksPdf com ...
Page 16: ...CINHALT PM6 30 06 2006 07 03 12 www EngineeringBooksPdf com ...
Page 17: ...Introduction 1 Dkap1 pm6 30 06 2006 07 03 1 www EngineeringBooksPdf com ...
Page 29: ...Manual Operation and Setup 2 Dkap2_3 pm6 30 06 2006 07 03 13 www EngineeringBooksPdf com ...
Page 83: ...Programming Tools 5 Fkap5 pm6 30 06 2006 07 03 67 www EngineeringBooksPdf com ...
Page 106: ...Fkap5 pm6 30 06 2006 07 03 90 www EngineeringBooksPdf com ...
Page 107: ...Programming Programming Contours 6 Gkap6 pm6 30 06 2006 07 04 91 www EngineeringBooksPdf com ...
Page 165: ...Hkap7 pm6 30 06 2006 07 03 150 www EngineeringBooksPdf com ...
Page 166: ...Programming Cycles 8 kkap8 pm6 30 06 2006 07 03 151 www EngineeringBooksPdf com ...
Page 253: ...kkap8 pm6 30 06 2006 07 04 238 www EngineeringBooksPdf com ...
Page 265: ...LKAP9 PM6 30 06 2006 07 04 250 www EngineeringBooksPdf com ...
Page 266: ...Programming Q Parameters 10 MKAP10 PM6 30 06 2006 07 04 251 www EngineeringBooksPdf com ...
Page 297: ...MKAP10 PM6 30 06 2006 07 04 282 www EngineeringBooksPdf com ...
Page 298: ...Test Run and Program Run 11 NKAP11 PM6 30 06 2006 07 04 283 www EngineeringBooksPdf com ...
Page 312: ...MOD Functions 12 Okap12 pm6 30 06 2006 07 04 297 www EngineeringBooksPdf com ...
Page 332: ...Tables and Overviews 13 Pkap13 pm6 30 06 2006 07 04 317 www EngineeringBooksPdf com ...