![FATEK FBs Series Manual Download Page 213](http://html1.mh-extra.com/html/fatek/fbs-series/fbs-series_manual_3764826213.webp)
Advanced Function Instruction
7 -4 9
FUN 66
P
JMP
JUMP
FUN 66
P
JMP
LBL : The program label to be jumped
z
When jump control “EN”=1 or “EN
↑
” (
P
instruction) changes from 0
→
1, PLC will jump to the location behind
the marked label and continuous to execute the program.
z
This instruction is especially suit for the applications where some part of the program will be executed only
under certain condition. This can shorter the scan time while not executes the whole program.
z
This instruction allows jump backward (i.e. the address of LBL is comes before the address of JMP
instruction). However, care should be taken if the jump action cause the scan time exceed the limit set by the
watchdog timer, the WDT interrupt will be occurred and stop executing.
z
The jump instruction allows only for jumping among main program or jumping among subroutine area, it can’t
jump across main/subroutine area.
66
JMP
PATHB
Program A
65
LBL
Program B
X0
EN
PATHB
˙
In the left diagram, when X0=1, the program will jump
directly to the LBL position named PATHB and
continuing to execute program B. Therefore it will
skip the program A and none of the instructions of
program A will be executed. The status of registers
and the coils associated with program A will keep
unchanged (as if there is no program section A).