Panasonic FP Series Programming Manual page 1011

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Program execution control instructions
JP
The JP (Jump to Label) instruction skips to the Label (LBL (see page 1013)) function that has the
Description
same number Num* as the JP function when the predetermined trigger EN is in the ON-state.
The JP function will skip all instructions between a JP and an LBL of the same number. When the
JP instruction is executed, the execution time of the skipped instructions is not included in the scan
time. Two or more JP functions with the same number Num* can be used in a program. However,
no two LBL instructions may be identically numbered. LBL instructions are specified as
destinations of JP, LOOP (see page 1012) and F19_SJP (see page 1010) instructions.
One JP and LBL instruction pair can be programmed between another pair. This construction is
called nesting.
 It is not possible to use this function in a function block POU.
 The maximum possible value that can be assigned to Num* depends
on the PLC type.
Availability of JP (see page 1328)
PLC types
Data types
Variable
Data type
constant
Num*
In this example, the programming language Instruction List (IL) is used.
Example
IL
LD
start
JP
1
1010
Jump to label
Function
Constant number that must correspond to LBL number, this
"nested" program is jumped over
(* EN = start; Starting signal for the JP function. *)
(* Num* = 1 (Address of Label) *)

Advertisement

Table of Contents
loading

Table of Contents