Panasonic FP-E Programming Manual page 181

Fp series
Table of Contents

Advertisement

CNDE
Outline
Ends one scan of the program when the execution condition (trigger)
turns on.
Program example
0
Y30
96
98
Description
The CNDE instruction enables you to end one scan of the program.
When the execution condition (trigger) turns on, the program finishes and the input, output, and other such
operations are performed. When the operations are completed, the program then returns to the starting
address.
You can adjust the timing that operations are performed by performing the operations only after a required
number of program scans are completed.
The CNDE instruction cannot be performed in sub−programs such as subroutine programs or interrupt
programs. Use the CNDE instruction in the main program area only.
Two or more CNDE instructions can be used within the main program.
You must be careful when using one of the instructions below, which are executed by detecting the leading
edge of a execution condition (trigger) such as the differential instruction.
− DF (leading edge differential)
− Count input for CT (counter)
− Count input for F118 (UDC) (up/down counter)
− Shift input for SR (shift register)
− Shift input for F119 (LRSR) (left/right shift register)
− NSTP (next step)
− Differential execution type high−level instruction (this instruction is specified by P and a number)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Conditional end
10
Ladder Diagram
Ladder Diagram
X0
X1
Execution condition (Trigger)
X3
( CNDE )
R0
X2
Y30
Y31
Basic Instructions
Boolean
Address
Instruction
0
ST
X
1
OR
Y
30
2
AN/
X
3
OT
Y
30
96
ST
X
97
CNDE
98
ST
R
99
AN/
X
100
OT
Y
31
2 − 71
0
1
3
0
2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents