
15. CUSTOM MACRO
15.4 Limitations
15.4 Limitations
(1)
(2)
When
SBKM (No.
6000#5)
= I, single stop is done in every macro statement.
(3)
(4
Optional block skip
/,
appearing in the middle of <expression
)
(right-hand-side of an arithmetic
formula, or in
[
]
),
is treated as division, and not an optional block skip.
Operation in EDIT mode
Setting parameters can be used to protect registered custom macro bodies and
subprograms from accidental destruction.
Sequence number search
Sequence numbers in the custom macro body cannot be searched for.
Single block
A block, other than one including a macro call command, arithmetic command,
or control command, can be executed as a single block stop even when in the
macro.
A block including a macro call command (G65,
G66,
G67),
is not stopped even
by single block operation.
Setting SBKM
(No.6000#5)
to 1 executes a single block stop for arithmetic and
controi
commands. This function is used for testing a custom macro body.
Setting parameters NE8 (No.
3202#0)
and NE9 (No.
3202#4)
to 1 specifies that
custom macro bodies or subprograms with program numbers 8000 to 8999 cannot be
cancelled, and edited.
However, custom macro programs are deleted by all memory clear operation (pressing
the
<
7)
and < 9
)
keys and turning on power).
(5)
Reset
When a cleared status is produced by a reset, local variables and common
variables
#lOO
to #I 49
(#l
00
to
#I
99) become <vacant
>
.
.
However, a cleared status can be disabled by parameters CLV and CCV
(6001#7
and
6001#6).
System variables
#l
000
to
#I
133 are not cleared.
Custom macro unit, subprogram call condition, and DO condition are cleared by
reset.
(6)
(7)
-
(
1
a
(b)
Feed hold
Macro statement execution stops at the end of the block by turning on feed
hold.
(It also stops by resetting or
*by
alarm generation).
Other limitations
Usable variables
Refer to sections
152.2
and
15.2.3.
Valid variable values
Maximum value
+,
1047
Minimum value
+,
1
O-29