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.
Summary of Contents for SRCP30
Page 1: ...User s Manual ENGLISH E E104 Ver 1 02 SRCP30 YAMAHA SINGLE AXIS ROBOT CONTROLLER MF100 ...
Page 2: ......
Page 8: ...vi MEMO ...
Page 26: ...2 10 MEMO ...
Page 130: ...8 34 MEMO ...
Page 144: ...9 14 MEMO ...
Page 174: ...10 30 MEMO ...
Page 216: ...12 10 MEMO ...
Page 232: ...14 4 MEMO ...
Page 233: ...15 1 15 SPECIFICATIONS Chapter 15 SPECIFICATIONS ...
Page 238: ...MEMO 15 6 ...