
HEIDENHAIN iTNC 530
237
8.2 Subpr
ogr
a
ms
8.2 Subprograms
Operating sequence
1
The TNC executes the part program up to the block in which a
subprogram is called with
Ln,0
2
The subprogram is then executed from beginning to end. The
subprogram end is marked
G98 L0
3
The TNC then resumes the part program from the block after the
subprogram call
Ln,0
Programming notes
A main program can contain up to 254 subprograms
You can call subprograms in any sequence and as often as desired
A subprogram cannot call itself
Write subprograms at the end of the main program (behind the block
with M2 or M30)
If subprograms are located before the block with M2 or M30, they
will be executed at least once even if they are not called
Programming a subprogram
U
To mark the beginning, press the LBL SET key
U
Enter the subprogram number. If you want to use a
label name, press the LBL NAME soft key to switch
to text entry
U
To mark the end, press the LBL SET key and enter the
label number “0”
% ...
L1,0
G00 Z+100 M2
G98 L1 *
G98 L0 *
N99999 % ...
1
2
3
R
S
Summary of Contents for ITNC 530 - 6-2010 DIN-ISO PROGRAMMING
Page 1: ...User s Manual DIN ISO Programming iTNC 530 NC Software 606 420 01 606 421 01 English en 6 2010...
Page 4: ......
Page 16: ...Changed functions 606 42x 01 since the predecessor versions 340 49x 06 16...
Page 18: ......
Page 41: ...First Steps with the iTNC 530...
Page 61: ...Introduction...
Page 83: ...Programming Fundamentals File Management...
Page 130: ...130 Programming Fundamentals File Management 3 4 Working with the File Manager...
Page 131: ...Programming Programming Aids...
Page 153: ...Programming Tools...
Page 187: ...Programming Programming Contours...
Page 217: ...Programming Data Transfer from DXF Files...
Page 235: ...HEIDENHAIN iTNC 530 235 Programming Subprograms and Program Section Repeats...
Page 252: ...252 Programming Subprograms and Program Section Repeats 8 6 Programming Examples...
Page 253: ...Programming Q Parameters...
Page 301: ...Programming Miscellaneous Functions...
Page 325: ...Programming Special Functions...
Page 380: ...380 Programming Special Functions 11 8 Working with Cutting Data Tables...
Page 381: ...Programming Multiple Axis Machining...
Page 417: ...Programming Pallet Editor...
Page 437: ...Manual Operation and Setup...
Page 499: ...Positioning with Manual Data Input...
Page 505: ...Test Run and Program Run...
Page 536: ...536 Test Run and Program Run 16 7 Optional Program Run Interruption...
Page 537: ...MOD Functions...
Page 574: ...574 MOD Functions 17 21 Configuring the HR 550 FS Wireless Handwheel...
Page 575: ...Tables and Overviews...
Page 604: ...604 Tables and Overviews 18 4 Exchanging the Buffer Battery...