Min (Acquiring The Minimum Value) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

10.4 MIN (Acquiring the Minimum Value)

Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
Starting position of the search range for the minimum value (data format: according to the operation
S1
unit)
End position of the search range for the minimum value (data format: according to the operation
S2
unit)
Device address to store the result of the search for the minimum value (data format: according to
D
the operation unit)
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
S2
D
(Note 1)
Cannot be specified when the operation unit is 16-bit integer (SS, US).
(Note 2)
Only 16-bit devices, 32-bit devices, and integer constants can be modified. (Real number constants,
and character constants cannot be specified.)
(Note 3)
Index register (I0 to IE)
Outline of operation
● The range of the device areas specified by [S1] and [S2] is searched for the minimum value.
The resulting value is stored in the device area specified by [D], and the relative address
value from [S1] is stored in [D]+[n].
WUME-FP7CPUPGR-12
US
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
10.4 MIN (Acquiring the Minimum Value)
SS
UL
32-Bit
device:
(Note 1)
TS
TE
U
W
WI
C
C
M
O
S
E
SL
SF
Real
Integer
numbe
r
IX
(N
K
H
SF
ote
3)
DF
St
rin
g
Index
modifie
r
D
(Note 2)
" "
F
10-13

Advertisement

Table of Contents
loading

Table of Contents