Jmpc; Jmpd - Yamaha SRCP User Manual

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

Advertisement

8-4 Robot Language Description
8
20
8-

8-4-24 JMPC

Function:
Format:
Example:
Explanation:

8-4-25 JMPD

Function:
Format:
Example:
Explanation:
Jumps to a specified label when the counter array variable C matches a
specified value.
JMPC
<label number>, <counter value>
JMPC
5, 100
Jumps to label 5 when the counter array variable C is 100. Program
execution proceeds to the next step except when the counter array vari-
able C is 100.
This command controls the program flow according to the counter array
variable C. The counter array variable C to be compared is the element
number specified with the CSEL statement.
(1) Label number
The label number is a number defined by the "L" statement, and
indicates the destination to jump. Any number from 0 to 255 can be
specified. (See "8-4-7 L")
(2) Counter value
Set any value from 0 to 65535.
Jumps to a specified label when the counter variable D matches a speci-
fied value.
JMPD
<label number>, <counter value>
JMPD
5, 100
Jumps to label 5 when the counter variable D is 100. Program execution
proceeds to the next step except when the counter variable D is 100.
This command controls the program flow according to the counter vari-
able D.
(1) Label number
The label number is a number defined by the "L" statement, and
indicates the destination to jump. Any number from 0 to 255 can be
specified. (See "8-4-7 L")
(2) Counter value
Set any value from 0 to 65535

Advertisement

Table of Contents
loading

Table of Contents