YASKAWA yasnac i80m Instruction Manual page 322

Cnc system for machining centers
Table of Contents

Advertisement

2.14
MACROPROGRAM
(G65,
G66,
G67)$(Cont'd)
For characters, the
specified
character is
output
in the ISO code
as
is.
The following characters
can be specified:
Alphabets (A
to
Z)
Numbers
Special
characters (*,/,+,—
_ _
,
.
(period)
However,
'
*
'
is
output
with
space
code.
•The value of the variable is handled
as
2-word
(32-bit)
data
by
considering the digits
after the decimal
point, and are
output
as
is
beginning
with the
upper byte as binary
data. All variables
are
stored
in
memory
with the decimal
point
added.
Therefore,
instruct the
number of effective digits after the decimal
point by enclosing
it
with
parentheses following
the variable command.
The EOB code is
output
with the ISO code after the command data
are output.
Variables which
are
<blank>
are assumed
to
be 0.
'
BPRNT [POS
*•
X
:
100
[2 ] Y
:
101 [1 ]] ;
I
(Example)
Variables
:
100 = 1.2096
:
101=2.623
For the above
example,
data will be
output
as
follows:
Output
data
50 CF 53 A0
A0 D8
00 00 00 79 59 00 00 00 1A
OA
•P* 'O'
'S' Space
Space
X'
121 'Y' 26
EOB
Output is independent from the following
parameters:
1.
Pm0004 and Pm0006
parameters
except
D4 and
D6,
and Pm0009
2. To
use
the BPRNT
function,
set parameters
to
turn
off the control code
control and
turn
on
the RTS control.
Otherwise,
output
data
are-
not
guaranteed.
-
298
-

Advertisement

Table of Contents
loading

Table of Contents