Panasonic FP7 Series Command Reference Manual page 186

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

3.26 JP/LBL (Jump/Label)
X101
Precautions for programming
● The JP instruction specifying the same label number can be used more than once.
● The LBL instruction specifying the same number can only be written once in a single
program.
● If the jump destination label is not programmed, a syntax error occurs.
● Note that if the label is written at an address before the JP instruction, the program cannot
end scanning and a WDT error may occur.
● The JP and LBL instructions cannot be used in the step ladder area (within the range from
the SSTP to STPE instructions).
● It is not possible to jump from the main program to a subprogram (subroutine or interruption
program after the ED instruction), from a subprogram to the main program, or between
subprograms.
● Be careful when using an instruction which detects the leading edge of the execution
condition and runs (1 - 6 below), including a differential instruction.
1) DF (leading edge differential) instruction
3-82
Program
Program
Program
X101: ON
JP 1
LBL 1
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents