Program execution control instructions
1011
Part III FP Instructions
F19_SJP
Indirect jump to label
This instruction also exists as a P instruction (for FP2/2SH, FP3/5, FP10/10SH PLC types), which
is only executed at the rising edge of the EN trigger. Select [Insert P instruction] from the
"Instructions" pane if you require a P instruction. To facilitate reuse, the instruction then appears
under "Recently used" in the pop-up menu. Press <Ctrl>+<Shift>+<v> within the programming
area to open the list of recently used elements.
The range of the number s can be between 0 and 255.
PLC types
Availability of F19_SJP (see page 1322)
Variable Data type Function
s ANY16 Stores label number (0 to 255)
For Relay T/C Register Constant
s WX WY WR WL SV EV DT LD FL -
When the variable start is set to TRUE, the function is carried out.
Description
Jumps to the label LBL (see page 1013) s with the same number as the data stored in the area
specified by s if the trigger EN is in the ON-state.
Data types
Operands
Example
In this example, the same POU header is used for all programming languages. For an example
using IL (instruction list), please refer to the online help.
POU header
The same POU header is used for all programming languages.
Body
LD