YASKAWA yasnac i80m Instruction Manual page 325

Cnc system for machining centers
Table of Contents

Advertisement

(3)
Close command
(PCLOS)
(Format)
By instructing
as
|
PCLOS
(a) ;
|
No.of RS-232C
DC4 control code is
output
from the NC
equipment.
This
must
be instructed when
all
data
output
commands are finished.
The No. of RS-232C is the same as in the case of
(1)
POPEN.
(Example)
PCLOS;
The first RS-232C is
closed.
I
PCLOS (2)
;
The second RS-232C is closed.
NOTE
1. Set the
parameter
so
that the
output
interface is the RS-232C.
2. Set various RS-232C data
(baud
rate, etc.)
by using
parameters.
3. When outputting data with the DPRNT command,
set
whether
or
not
the
leading zeros
should be
output
with
space.
PmJOOy
D2 = 0
The
leading zeros when data
are
output
by
the DPRNT
command
are
output
with
space.
Pm4009
D2
=
I
Nothing is
output
for the leading zeros.
4.
Open
command
(POPEN)
and close command
(PCLOS)
need
not
be
instructed in succession.
Once the
open
command is issued,
there is
no
need
to
instruct the
open
command until the close command is issued after
that.
5. The command
being
output
is
reset
and stopped by the data
output
command, and
the
subsequent data are lost.
Therefore,
if
reset
by M30,
for
example,
is applied
at
the end of the
program
that is outputting data,
instruct the close
command
at
the end
of the
program so
that processing for M30 is
not
executed until all data
are
output.
6. The
open
command and close command
must
always
be used in
a pair.
Do
not
instruct the close command when
there is
no
open
command
instructed.
-
301

Advertisement

Table of Contents
loading

Table of Contents