
PROGRAMMING
B–63684EN/01
14. FUNCTIONS TO SIMPLIFY
PROGRAMMING
169
With macro numbers 90 to 99, several macros can be stored and called as
a single macro, though the item 14.4.1 “Storage of macros” describes that
another macro cannot be stored while a certain macro is being stored.
Macro numbers 90 to 99, however, only define several macros as a single
macro, but they cannot store any executable commands by themselves.
So, no memory prepared for macros is used. Macro numbers 90 to 99 are
prepared mainly for simplifying programs in the multi-piece machining
function.
U90 ;
U01 ;
. . .
. . .
V01 ;
U10 ;
. . .
. . .
V10 ;
U15 ;
. . .
. . .
V15 ;
G90X10000Y20000T15 ; ² This block is not stored at all.
U02 ; (such a use is no good)
. . .
. . .
V02 ;
V90 ;
. . .
. . .
W90 ; ² This command is equivalent to the following set of several
commands.
W01 ;
W10 ;
W15 ;
W02 ;
=W90
The number of macros storable by each of macro numbers 90 to 99 is up
to 15.
14.4.5
Storage and Call of
Multiple Macros (Macro
Numbers 90 to 99)
Examples