Multiple Nesting Call - Brother TC-32B Manual

Table of Contents

Advertisement

Chapter 7 Macro
7.5.5
Macro calling depth of nesting is up to 4 -fold.
Local variables (#1 ~ #26)are provided for each macro level. When macro is called by G65, local
variable of called macro level is stored once, and new local variable of called macro program is
prepared. When M99 is executed, stored local variable becomes valid.
Common variables can be read and written even between different macro levels.
Level 0
Local variable of
level 0
7
Common variables : Commonly read and written from any macro level.
#100 ~ #199
#500 ~ #599
2004/01/22

Multiple nesting call

Level 1
Main program
Program 8010
G65P8010
G65P8020
I5.J6.;
I3.J4.;
M30;
M99;
Local variable of
level 1
#1
#1
.
.
.
.
#4 3.0
#4
#5 4.0
#5
.
.
.
.
#9
#9
#11
#11
#13
#13
#17
#17
.
.
.
.
#26
#26
Level 2
Level 3
Program 8020
Program 8030
G65P8030
G65P8040
I7.J8.;
I9.J10.;
99;
M99;
Local variable of
Local variable of
level 2
level 3
#1
#1
.
.
.
.
#4 5.0
#4 7.0
#5 6.0
#5 8.0
.
.
.
.
#9
#9
#11
#11
#13
#13
#17
#17
.
.
.
.
#26
#26
7 - 24
TC-32B
Level 4
Program 8040
M99;
Local variable of
level 4
#1
.
.
#4 9.0
#5 10.0
.
.
#9
#11
#13
#17
.
.
#26
eTCOMNCPR7-1.doc

Advertisement

Table of Contents
loading

Table of Contents