
240
Programming: Subprograms and Program Section Repeats
8.4 Separ
a
te
Pr
ogr
am as Subpr
ogr
am
8.4 Separate Program as
Subprogram
Operating sequence
1
The TNC executes the part program up to the block in which
another program is called with
%
2
Then the other program is run from beginning to end
3
The TNC then resumes the first (calling) part program with the
block after the program call
Programming notes
No labels are needed to call any program as a subprogram
The called program must not contain the miscellaneous functions
M2 or M30. If you have defined subprograms with labels in the
called program, you can then use M2 or M30 with the
D09 P01 +0
P02 +0 P03 99
jump function to force a jump over this program
section
The called program must not contain a
%
call into the calling program,
otherwise an infinite loop will result
Calling any program as a subprogram
U
To select the functions for program call, press the
PGM CALL key.
U
Press the PROGRAM soft key.
U
Press the WINDOW SELECTION soft key: The TNC
superimposes a window where you can select the
program to be called.
U
Select a program with the arrow keys or by mouse
click and confirm by pressing ENT: The TNC enters
the complete path name in the
CALL PGM
block.
U
Conclude this function with the END key.
Alternatively you can also enter the program name or the complete
path name of the program to be called directly via the keyboard.
% A G71 *
% B
N99999 % A G71 *
% B G71 *
N99999 % B G71 *
1
3
2
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...