Jmpf - Yamaha SRCP30 User Manual

Single-axis robot controller for mf100
Table of Contents

Advertisement

8-4 Robot Language Description
8
8
8-

8-4-5 JMPF

Function:
Format:
Example:
Explanation:
c
CAUTION
Select a number of conditional input points that is large enough to accommodate the actual number of input
conditions to be used. If an error is made in setting the number of conditional input points, there will be a
discrepancy between the input condition value required by the program and that recognized by the controller.
This could keep the program from operating properly.
General-purpose input status and input condition value when
the number of conditional input points is 4 (input range 0 to 15)
General use DI Input
DI3
DI2
3
2
(2
)
(2
)
(2
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
ON
OFF
OFF
ON
OFF
OFF
ON
OFF
ON
ON
OFF
OFF
ON
OFF
OFF
ON
OFF
ON
OFF
ON
ON
OFF
ON
ON
OFF
ON
ON
ON
ON
If the conditional jump input matches the setting value, program execu-
tion jumps to a specified label in a specified program.
JMPF
<label number>, <program number>, <input condition value>
JMPF
12, 3, 5
If the conditional jump input is 5, program execution jumps to label 12
in program 3. If the jump input is not 5, program execution advances to
the next step.
This command is used to control the flow of program execution accord-
ing to the conditional jump input.
(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) Program number
The program number is a number used to identify the 100 individual
programs from 0 to 99.
(3) Input condition value
This is the condition used to make a jump. A general-purpose input
is viewed as binary code input, and if it meets this input condition
value, a jump is executed.
The number of points that can be branched under the input condition
depends on the number of conditional input points which is set with
PRM8. (See "PRM8: No. of conditional input points".)
DI1
DI0
Input Condition Value
1
0
)
(2
)
OFF
0
ON
1
ON
OFF
2
ON
ON
3
OFF
4
ON
5
ON
OFF
6
ON
ON
7
OFF
8
ON
9
ON
OFF
10
ON
ON
11
OFF
12
ON
13
ON
OFF
14
ON
ON
15

Advertisement

Table of Contents
loading

Table of Contents