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
1
2
,
8
,
1
Jumps
to
label
1
2
when
DI
8
input
is
ON.
If
DI
8
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
j
ump.
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
1
5 (
1
6
points
)
or
memory
input
numbers
from
1
00
to
1
47 (48
points
)
.
(3)
Input
status
"
1
"
means
"
on
"
and
"0"
means
"
off
"
.
8-4-7 L
Function:
Defines
the
j
ump
destination
for
JMP,
JMPF
or
JMPB
statements,
etc.
Format:
L
<label
number>
Example:
L
1
00
Defines
label
1
00
.
Explanation:
This
command
is
used
to
define
the
destination
to
which
program
ex-
ecution
j
umps
with
a
j
ump
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.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com