Panasonic FP-E Programming Manual page 400

Fp series
Table of Contents

Advertisement

High−level Instructions
Explanation of example
Compares the contents of data register DT10 with the contents of data register DT20 (lower limit of the data
band) and data register DT30 (upper limit of the data band) when trigger R0 turns on.
Example:
When K−500 is in DT20 and K500 is in DT30, as shown below.
R900A : on
R900B : on
R900C : on
When DT10 is K−680, R900C turns on and external output
relay Y12 goes on.
When DT10 is K−500, R900B turns on and external output
relay Y11 goes on.
When DT10 is K256, R900B turns on and external output relay
Y11 goes on.
When DT10 is K680, R900A turns on and external output relay
Y10 goes on.
Description
Compares the 16-bit equivalent constant or 16-bit data specified by S1 with the data band specified by S2
and S3. This instruction checks whether S1 is in the data band between S2 (lower limit) and S3 (upper limit),
larger than S3, or smaller than S2. The comparison result is output to special internal relays R9009, R900A,
R900B, and R900C.
The following table lists the states of the R9009, R900A, R900B and R900C.
Comparison between
Comparison between
S1, S2 and S3
S1 < S2
S2
S1
S3
S3 < S1
Precaution during programming
Set it so that the value of the lower limit is less than the value of the upper limit (S2
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
3 − 136
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Flag
R900A
R900B
R900C
(> flag)
(= flag)
(< flag)
off
off
on
off
on
off
on
off
off
Turns on and stays on when:
Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− S2 > S3.
+500
−500
R9009
(carry flag)
———
———
———
S3).

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents