Panasonic FP-E Programming Manual page 172

Fp series
Table of Contents

Advertisement

Basic Instructions
You must be careful when using one of the instructions below, which are executed by detecting the rise of a
execution condition such as the differential instruction.
− DF (leading edge differential)
− Count input with CT (counter)
− Count input with F118 (up/down counter)
− Shift input with SR (shift register)
− Shift input with F119 (left/right shift register)
− NSTP (next step)
− Differential execution type high−level instruction (this instruction is specified by P and a number)
Precautions during programming
If the address of the LBL instruction precedes the address of the JP instruction, the scan will not terminate
and an operation bottleneck error may occur.
The JP instruction and LBL instruction cannot be used in the step ladder area (the area between SSTP and
STPE).
You cannot perform a jump from a main program to a sub program (a subroutine program or interrupt
program after the ED instruction), from a sub program to a main program, or from a sub program to
another sub program.
TM, CT, and SR instruction operation between JP and LBL instructions
When the LBL instruction is located after the JP instruction:
− TM instruction: The TM instruction is not executed.
If it is not executed once during a single scan
the correct time cannot be guaranteed.
− CT instruction: Even if the count input is on, counting is not
performed. The elapsed value is preserved.
− SR instruction: Even if the shift input is on, no shift is
performed. The contents of the specified
register are preserved.
When the LBL instruction is located before the JP instruction:
− TM instruction: Because the TM will run several times during
a single scan, the correct time cannot be
guaranteed.
− CT instruction: If the state of the count input does not change
during the scan, it will operate in the usual
way.
− SR instruction: If the state of the shift input does not change
during the scan, it will operate in the usual
way.
Note
With the FP2SH and FP10SH, the time can be kept accurately
even if these are executed multiple times during a single scan.
To use these together with the JP instruction, change the setting
of system register 4.
2 − 62
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
X1
(JP
(LBL 1 )
The program jumps when
the execution condition
turns on.
(LBL 1 )
X1
(JP
The program is repeated
when the execution condi-
tion turns on.
1 )
1 )

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents