YASKAWA yasnac i80m Instruction Manual page 308

Cnc system for machining centers
Table of Contents

Advertisement

2.14 MACROPROGRAM
(G65, G66, G67)*(Cont'd)
(3)
When a
variable
is address
data,
those data
become
a
value in which
numbers less than the minimum setting unit of that address are rounded
off
to
the
nearest
thousandth
decimal!
(Example)
Variable for
address data
Real
setting
data
X
i
l
(#
l
=45.2346)
X45.235
(input
in
0.001mm)
F0.26mm/rev
(F32
format)
F#2
(#2=0.2551
G04P
# 3
(#
3 =
5.37672)
G04P5.377S
M #
4 (#4
=
2.7236)
M03
G#4
(#4
=
2.7236)
G03
If Lhe G code with decimal point function is
on,
the
value becomes
G02.7.
(4)
A value following the address can be
replaced
with (expression)
.
By instructing
(address)
[
(expression) ]
or
(address)
[
(expression)
3
it is possible
to
assign
the value of (expression) or its negative number
(complement) as
the command value
of that
address.
(5)
Constants without
the
decimal point used in
C
)
are
handled
as
constants
that have
the decimal
point
at
the end.
-
284
-

Advertisement

Table of Contents
loading

Table of Contents