Panasonic FP-E Programming Manual page 905

Fp series
Table of Contents

Advertisement

F273
(DMIN)
P273
(PDMIN)
Outline
Searches for a minimum value in a table of 32-bit areas.
For the FP0R/FPΣ/FP−X, the P type high−level instruction "P273
(PDMIN)" is not available.
Program example
Trigger
R0
F273 DMIN, DT10, DT20, DT30
10
S1
S2
D
Operands
Relay
Operand
Operand
WX WY WR WL
S1
A
A
S2
A
A
D
N/A
A
Description
This instruction searches for the minimum value in the double word data table between the area selected with
S1 and the area selected with S2, and stores it in the area selected with D. The address relative to S1 is stored
in D+2.
Double word data table
Lower word
S1:
0
Higher word
S1+1:
S1+2:
1
S1+3:
Lower word
n
S2:
Relative address
Higher word
S2+1:
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Minimum value search in 32-bit data table
Ladder Diagram
Ladder Diagram
S1
Starting 16-bit area of 32-bit data table
Ending 16-bit area of double word (32-bit)
Starting 16-bit area for storing minimum value and relative address (3 words)
Timer/Counter
SV
EV
A
A
A
A
A
A
A
A
A
A
A
A
Lower word
D:
Minimum value
Higher word
D+1:
Relative address
D+2:
S2
D
Index
Register
register
DT
LD
FL
I
A
A
A
A
A
A
A
A
A
A
A
A
High−level Instructions
Boolean
Address
Instruction
10
ST
R
11
F273
DT
DT
DT
Constant
Index
modifier device
modifier
K
H
f
N/A N/A N/A
A
N/A N/A N/A
A
N/A N/A N/A
A
A:
Available
N/A: Not Available
0
(DMIN)
10
20
30
Integer
device
N/A
N/A
N/A
3 − 641

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents