High
−
level Instructions
3
−
58
Description
The
F19 (SJP)
instruction skips the program between the
F19 (SJP)
and the
LBL
with the number specified
by S when the trigger turns on.
Program execution continues from the next instruction after the jump destination label.
Up to 256 jump destinations can be specified (the range of values in which S can be stored is from K0 to
K255).
LBL
instructions are specified as destinations of
JP
,
LOOP
and
F19 (SJP)
instructions. Any instruction may
be used as the starting point for the jump destination.
Two or more
LBL
instructions with the same number cannot be used in the same program.
If there is no label with the same number as the value of S, or if the value stored is outside of the range, the
F19
(SJP)
instruction will not be executed.
Flag conditions
・
Error flag (R9007): Turns on and stays on when:
・
Error flag (R9008): Turns on for an instant when:
−
The content of S is smaller than K0.
−
The content of S is larger than K255.
Precautions during programming
If the label is written to an address prior to the
F19 (SJP)
instruction, be aware that there is a possibility that the
scan cannot be completed, and an operation bottleneck error will occur.
The
F19 (SJP)
instruction cannot be used in a stepladder area (the range from
SSTP
to
CSTP
), in a
subroutine, or in an interrupt program.
A jump cannot be made from a main program to a sub
−
program (subroutines or interrupt programs written
subsequent to the
ED
instruction).
Using differential type instructions between F19 (SJP) and LBL instructions
This is the same as when programming is done between the
JP
and
LBL
instructions. Refer to the
explanation of the
JP
and
LBL
instructions.
You must be careful when using one of the instructions below, which are executed by detecting the leading
edge of execution condition (trigger) such as the differential instruction.
DF
(leading edge differential)
Count input of
CT
(counter)
Count input of
F118
(up/down counter)
Shift input of
SR
(shift register)
Shift input of
F119
(left/right shift register)
NSTP
(next step)
Differential execution type high
−
level instruction (this instruction is specified by P and a number)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...