EasyManua.ls Logo

YASKAWA yasnac i80m

YASKAWA yasnac i80m
684 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2.14
MACROPROGRAM
(G65,
G66,
G67)$(Cont’d)
2.14.2
Variables
There
are
three
types
of
variables:
local
variables,
common
variables,
and
system
variables.-
(1)
Local
variables
(
#
1
to
#
33)
Local
variables
are
used-
locally
for
each
macro.
This
type
of
variable
is
such
that
each
time
a
macro
is
called,
new
local
variables(
#1
to#
33)
are
independently
secured
for
that
macro.
In
this
case,
when
an
argument
is
specified,
the
value
of
that
argument
is
stored
in
the
local
variable;
or
the
results
of
calculation
in
the
macro
are
stored
in
the
local
variable.
The
contents
of
the
local
variable
are
empty
if
no
argument
is
passed
to
the
macro.
When
a
macro
returns
by
instruction
of
M99,
the
local
variable
for
that
macro
becomes
blank.
Also,
When
the
equipment
is
turned
on
or
reset,
ail
local
variables
become
blank.
-
254
-

Table of Contents

Related product manuals