345
9.4 Separ
a
te
Pr
ogr
am as Subpr
ogr
am
9.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 CALL PGM.
2
Then the other program is run from beginning to end.
3
The TNC then resumes the first (calling) part program with the
block behind the program call.
Programming notes
n
No labels are needed to call any program as a subprogram.
n
The called program must not contain the miscellaneous functions
M2 or M30.
n
The called program must not contain a program 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
Enter the complete path name of the program you
want to call and confirm your entry with the END key.
0 BEGIN PGM A
CALL PGM B
END PGM A
0 BEGIN PGM B
END PGM B
The program you are calling must be stored on the hard
disk of your TNC.
You need only enter the program name if the program you
want to call is located in the same directory as the program
you are calling it from.
If the called program is not located in the same directory
as the program you are calling it from, you must enter the
complete path, e.g. TNC:\ZW35\ROUGH\PGM1.H
If you want to call an ISO program, enter the file type .I
after the program name.
You can also call a program with Cycle 12 PGM CALL.
Содержание TNC 426
Страница 3: ......
Страница 4: ......
Страница 8: ...IV...
Страница 10: ...VI...
Страница 26: ......
Страница 27: ...1 Introduction...
Страница 41: ...2 Manual Operation and Setup...
Страница 54: ......
Страница 55: ...3 Positioning with Manual Data Input MDI...
Страница 59: ...4 Programming Fundamentals of NC File Management Programming Aids Pallet Management...
Страница 122: ......
Страница 123: ...5 Programming Tools...
Страница 153: ...6 Programming Programming Contours...
Страница 201: ...7 Programming Miscellaneous functions...
Страница 226: ......
Страница 227: ...8 Programming Cycles...
Страница 366: ......
Страница 367: ...9 Programming Subprograms and Program Section Repeats...
Страница 381: ...10 Programming Q Parameters...
Страница 424: ......
Страница 425: ...11 Test run and Program Run...
Страница 443: ...12 MOD Functions...
Страница 472: ......
Страница 473: ...13 Tables and Overviews...
Страница 496: ......