Yamaha ERCX Series User Manual page 128

Single-axis robot controller
Hide thumbs Also See for ERCX Series:
Table of Contents

Advertisement

8-4 Robot Language Description
8
14
8-
8-4-12 P
Function:
Format:
Example:
Explanation:
Other:
8-4-13 P+
Function:
Format:
Example:
Explanation:
8-4-14 P-
Function:
Format:
Example:
Explanation:
Sets a point variable P.
P
<point number>
P
200
Sets a point variable P to 200.
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.
• 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 initialized 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.
Adds 1 to a point variable P.
P+
P+
Adds 1 to a point variable P. (P←P+1)
Adds 1 to a point variable P.
Subtracts 1 from a point variable P.
P-
P-
Subtracts 1 from a point variable P. (P←P-1)
Subtracts 1 from a point variable P.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ercx-b1

Table of Contents