EasyManua.ls Logo

YASKAWA yasnac i80m - Page 300

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)
(Example
of
Programming)
Tapping
Cycle
in
Incremental
command
(A)
Main
program
G91
:
G65
P9601
L--
R-
2-
;
Argument
Specification
of
#26
—Argument
Specification
of
#18
(B)
Macroprogram
09601
;
#3003
=
1
;
GOO
Z#18
;
#3004
7
G01
Z#26
;
M05
;
M04
;
#3004
=
0
;
GOO
Z
#18
M05
:
M03
;
#3003
=
0
:
M99
;
Invalid
of
single-block
SW
Feed
hold
Feedrate
overriole
Exact
stop
Invalid
of
(i)
RS-232C
data
output
1
(#3100)
By
instructing
system
variable
#3100,
it
is
possible
to
output
messages
or
variable
data
to
external
equipment
via
the
RS-232C
data
I/O
interface.
•|
#3100
=
(
(message)
);
|
When
this
command
is
instructed,
a
message
enclosed
by
control-out
and
control-in
is
output.
CR
and
LF
(carriage
return,
line
feed)
codes
are
automatically
appended
to
the
last
of
the
message.
(message)
:
ASCII
character
string
of
up
to
256
characters
(alphanumeric
and
special
characters)
-
276
-

Table of Contents

Related product manuals