Common Variables - YASKAWA yasnac i80m Instruction Manual

Cnc system for machining centers
Table of Contents

Advertisement

2.14 MACROPROGRAM (G65, G66, G67)*(Contd)
(2)
Common variables
(
# 100
to
# 299, # 500
to
#
999)
Common variables
can
be
used in
common by the
main
program,
subprograms,
and
macros, or
through
a multiplexed state
ot' all of
these. That
is, a
common variable resulting from calculations made
by a
certain
macro can be used
in
common by
other
macros.
However
no
argument
can
be
specified
for
common variables.
MAIN PROGRAM
(
LEVEL
0
1
MACRO
(
LEVEL 1
1
MACRO
I
LEVEL 2
I
MACRO
(LEVEL.!)
MACRO
(LEVEL4)
065
P***
Gt>5 P***
0
Ci
5
p**
+
065 P***
M3
ll
My 9
M:iO
My
o
My
y
CAN BE READ OR WRITTEN
#100 TO
#299
#500 TO #999
COMMON VARIABLES
Fig. 2.14.5 Common Variable
.
d>.
Common variables
come
in the
following
two
types
depending on
the
state
when
reset.
Table 2.14.12 Common Variable
Become blank when
the
equipment
is turned
on or resel.
However,
variables
cannot
be made
'blank/ when
reset
by specifying
parameter
#
4009 D1
1
#
100
to
9 299
Saved without
being blanked when the equipment is turned
on or
reset.
#
500
to
#
999
-
256
-

Advertisement

Table of Contents
loading

Table of Contents