B-63324EN/03 PROGRAMMING 17.CUSTOM MACRO
- 647 -
17.6.11 Subprogram Calls Using a T Code
By enabling subprograms (macro program) to be called with a T code
in a parameter, a macro program can be called each time the T code is
specified in the machining program.
By setting bit 0 of parameter TCS No.7000 to 1, the macro program
O9000 can be called when a T code is specified in the machining
program. A T code specified in a machining program is assigned to
common variable #149.
In a macro called with a G code or in a program called with an M, S, T,
2nd auxiliary function code when parameter GMP (No.7000#5) is 1, no
subprograms can be called using a T code. A T code in such a macro or
program is treated as an ordinary T code.