Quoting Variables - YASKAWA yasnac i80m Instruction Manual

Cnc system for machining centers
Table of Contents

Advertisement

Quoting Variables
A numeric value
following
the address can be substituted for with
a
variable.
2.14.4
(address)
ffior
(address)
#i
By instructing
the above, it is
possible
to
assign
the value of
a
variable
or
its negative number
(complement)
as
the command value of that address.
(Example)
l
Command with
variable
Equivalent command
GUI
G
#
30,
#30=1.0
X100.
X# 101.#
101
=
100.
Z300.
Z#
103.
#
103 = 300.
F# 140.
#
NO
=
0.3
F0.3
In other words,
|
G#30,
X#
101, Z#103, and
F# 140 :
equivalent
to
[
commands are
G01, X100.,
Z300., F0.3 :
commands.
(1)
Addresses/, O,
N
cannot
quote
variables.
(Example)
'
#5
n(n=
1
to
9
)
in
"
n"
cannot
be
replaced with a
variable.
O number
(program No.)
cannot
be replaced
with
a
variable.
O#
100
N number
(sequence
No.)
cannot
be replaced with
a variable.
Nit 200
(2)
No variable No.
can
be
replaced
with
a
variable.
(Example)
When 10 in "# 10" is
to
be
replaced
with #20, instruct it
as # (#20);
# #20
cannot
be
instructed.
-
283
-

Advertisement

Table of Contents
loading

Table of Contents