2. 8.23.8 Display And Write Of Local And Common
Variables ( Cent’d )
display may be scrolled up or down,
Remarks
a. Common variables may always be displayed
for review.
b. For local variables , those of the macro cur-
rently executed are displayed. Consequently,
when a macro of a nesting level is in execution,
the local variables belonging to macros of the
other nesting levels cannot be seen.
The local
variables after completion of execution are all
rest to “blank. “
(2) Write Operations
Writing of Values to Variables
a. Press SET function key. Mode select position
may be provided anywhere.
b. Key-in the variable number to be written
‘ress m ‘ey ‘r .CG,9K ‘eya ‘Ow-
ever, # need not be keyed-in. The keyed-in
variable number is specified and the cursor is
positioned to it.
~. Key-in the value to be written. Press WR
key. The keyed-in value is stored as the data
of the variable number with the cursor position-
ed.
d.
Press ~w key or =1 key or
n n
PAGE key to move the cursor.
~A-GE key or ~
e. Repeat operations in c. and d. to write the
values to the desired variables.
Remarks
a.
Common variables can always be changed.
b.
Local variables may not be written at any
time other than when a macro is in execution.
Any attempt to do so is invalidated. However,
rewriting of local variables during macro execu-
tion may cause an unexpected failure. Before
attempting the rewriting , stop the machine oper-
ation by single stop function and check to see if
it is safe to rewrite variables.
c.
The written local variables and common vari-
ables #100 through #14$1are reset to ‘Iblankllby
the reset operation or the power-on operation .
2. 8.23.9 Considerations and Remarks for Macro
Programs
(1) Summary of Restrictions
a. Available Variables
#l through
#33 ~~ ~ Local variables.
#100 through #149
T
Common variables.
#500 through #549
System variables
b. Available Variable Values
Maximum value o.-
:10+308
Minimum value ...
+10–308
c.
Constant Values Usable in < Expression >
:(8 digits above decimal point). (7 digits below
decimal points ).
Sample Maximum value 399999999.9999999
Minimum value 30.0000001
d. Operational Accuracy
Decimal 15 digits significant.
e. Macro Call Maximum Nesting Level
Quadruple (four-hold) .
f. Maximum Nesting Level of Repeat Command
Triple (three–hold) for each macro.
g.
Repeat Command (DO) Identifier m
m ❑ 1, 2, and 3.
h.
Maximum Nesting Level of Brackets
Quintuple ( five-hold)
(2) Difference between Macro Program and Sub-
program.
a. User macros G65 and G66 allow argument
designation but the subprogram (M98) does not.
b.
The macro program directly branches to the
macro program body without executing any com-
mand that was specified in G65 or G66 block and
has no relationship with the macro. With the
subprogram, however, a branch is performed
after the execution of the command (ifany) other
than P and L in M98 block.