Panasonic FP-E Programming Manual page 1015

Fp series
Table of Contents

Advertisement

F350
(FMAX)
P350
(PFMAX)
Outline
Searches for a maximum value in a table of real number data.
Program example
Trigger
R0
10
F350 FMAX, DT10, DT20, DT30
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 maximum value in the real number data table between the area selected
with S1 and the area selected with S2, and stores it in the area selected with D+1 and D. The address relative
to S1 is stored in D+2.
Real number data table
Lower word
S1:
0
Higher word
S1+1:
S1+2:
1
S1+3:
Lower word
n
S2:
Higher word
Relative address
S2+1:
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Maximum value search in floating point real number
data table
Ladder Diagram
Ladder Diagram
S1
Starting 16-bit area for storing the real number data
Ending 16-bit area for storing the real number data
Starting 16-bit area for storing maximum 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:
Maximum 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
F350
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
(FMAX)
10
20
30
Integer
device
N/A
N/A
N/A
3 − 751

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents