8-
11
8
ROBOT LANGUAGE
8-4 Robot Language Description
8-4-6 JMPB
Function:
Jumps to a specified label when a specified general-purpose input or
memory input is ON or OFF.
Format:
JMPB <label number>, <DI or MI number>, <input status>
Example:
JMPB 12, 8, 1
Jumps to label 12 when DI8 input is ON.
If DI8 is OFF, the program execution proceeds to the next step.
Explanation:
This command controls the program flow according to the general-pur-
pose input or memory input status.
(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) DI or MI number
Specify one of the general-purpose input numbers from 0 to 15 (16
points) or memory input numbers from 100 to 147 (48 points).
(3) Input status
"1" means "on" and "0" means "off".
8-4-7 L
Function:
Defines the jump destination for JMP, JMPF or JMPB statements, etc.
Format:
L <label number>
Example:
L 100
Defines label 100.
Explanation:
This command is used to define the destination to which program ex-
ecution jumps with a jump command. The label number may be any
number between 0 and 255. The same label numbers may be used if they
are in different programs.
Содержание ERCX Series
Страница 2: ......
Страница 8: ...vi MEMO ...
Страница 60: ...3 36 MEMO ...
Страница 90: ...5 20 MEMO ...
Страница 168: ...9 16 MEMO ...
Страница 232: ...12 10 MEMO ...
Страница 248: ...14 4 MEMO ...
Страница 249: ...15 1 15 SPECIFICATIONS Chapter 15 SPECIFICATIONS ...
Страница 253: ...16 1 16 APPENDIX Chapter 16 APPENDIX ...
Страница 259: ...MEMO ...