User Manual
High−level Instructions
3 − 753
Outline Searches for a minimum value in a table of real number.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
S1
Trigger
DS2
F351 FMIN, DT10, DT20, DT3010
R0
10
11
ST R 0
F351 (FMIN)
DT 10
DT 20
DT 30
S1 Starting 16-bit area for storing the real number data
S2 Ending 16-bit area for storing the real number data
D Starting 16-bit area for storing minimum value and relative address (3 words)
Operands
O
p
erand
Relay Timer/Counter Register
Index
register
Constant
Index
modifier
Integer
device
Operand
WX WY WR WL SV EV DT LD FL I K H f
modifier device
S1 A A A A A A A A A A N/A N/A N/A A N/A
S2 A A A A A A A A A A N/A N/A N/A A N/A
D N/A A A A A A A A A A N/A N/A N/A A N/A
Description
This instruction searches for the minimum 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.
S1:
S1+1:
0
1
Real number data table
n
Relative address
S2:
D:
D+1:
Minimum value
S1+2:
S1+3:
S2+1:
Lower word
Higher word
D+2:
Relative address
Lower word
Higher word
Lower word
Higher word
F351
P351
(PFMIN)
(FMIN)
Minimum value search in floating point real number
data table
A
:
A
vailable
N/A: Not Available