8-
12
ROBOT LANGUAGE
8-4 Robot Language Description
8
8-4-12 P
Function:
Sets
a
point
variable
P.
Format:
P
<point
number>
Example:
P
200
Sets
a
point
variable
P
to
200
.
Explanation:
The
point
variable
can
contain
a
point
number
as
a
variable,
which
can
be
from
0
to
999
.
By
using
a
movement
command
such
as
MOVA
with
a
P+
or
P-
statement,
the
number
of
steps
required
to
create
a
repeating
program
can
be
reduced.
Other:
•
The
contents
of
point
variable
P
are
retained
even
when
the
controller
power
is
turned
off,
but
when
the
program
is
reset
or
when
the
pro-
gram
reset
is
applied
for
example
by
switching
the
execution
program,
the
point
variable
P
will
be
initiali
z
ed
to
0
.
•
Point
variables
P
in
a
task
are
independent
of
those
in
other
tasks.
For
example,
the
definition
and
edited
contents
of
a
point
variable
used
in
task
1
do
not
affect
the
point
variable
used
in
task
0
.
8-4-13 P+
Function:
Adds
1
to
a
point
variable
P.
Format:
P+
Example:
P+
Adds
1
to
a
point
variable
P.
(
P
←
P+1
)
Explanation:
Adds
1
to
a
point
variable
P.
8-4-14 P-
Function:
Subtracts
1
from
a
point
variable
P.
Format:
P-
Example:
P-
Subtracts
1
from
a
point
variable
P.
(
P
←
P-1
)
Explanation:
Subtracts
1
from
a
point
variable
P.
Содержание SRCP
Страница 1: ...User s Manual ENGLISH E YAMAHA SINGLE AXIS ROBOT CONTROLLER E84 Ver 2 04 SRCP ...
Страница 2: ......
Страница 8: ...vi MEMO ...
Страница 18: ...1 10 MEMO ...
Страница 28: ...2 10 MEMO ...
Страница 132: ...8 34 MEMO ...
Страница 146: ...9 14 MEMO ...
Страница 176: ...10 30 MEMO ...
Страница 218: ...12 10 MEMO ...
Страница 235: ...15 1 15 SPECIFICATIONS Chapter 15 SPECIFICATIONS ...
Страница 240: ...MEMO 15 6 ...
Страница 241: ...16 1 16 APPENDIX Chapter 16 APPENDIX ...
Страница 245: ...MEMO ...