373
MIN, MINP, DMIN, DMINP
1
2
3
4
4
6
7
8
7.5
D
ata pr
ocessin
g instru
ctions
7.5.11
MIN, MINP, D
M
IN, DMINP
: Head number of the devices where a minimum value is searched (BIN 16/32 bits)
: Head number of the devices where the minimum value search result will be stored (BIN 16/32 bits)
n
: Number of data blocks to be searched (BIN 16 bits)
Function
MIN
(1) Searches in the n points of 16-bit BIN data, from the device designated by , for the minimum value and stores
searched minimum value at the device designated by .
Starts the search from the device designated by and stores the location, specified in the number of points counted
from , of the device where the minimum value is found first at +1 and stores the number of the found minimum
values at +2.
DMIN
(1) Searches in the n points of 32-bit BIN data, from the device designated by , for the minimum value and stores
searched minimum value at the devices designated by and +1.
Starts the search from the device designated by and stores the location, specified in the number of points counted
from , of the device where the minimum value is found first at +2 and stores the number of the found minimum
values at +3.
MIN, MINP
Minimum value search for 16-bit data
DMIN, DMINP
Minimum value search for 32-bit data
7.5.11
MIN, MINP, DMIN, DMINP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
––
––
––
––
n
––
Basic
Process
High
performance
Redundant Universal
LCPU
n
Command
Command
P
S
D
S
D
MIN, DMIN
MINP, DMINP
n
indicates an instruction s
y
mbol of MIN/DMIN.
S
D
S
D
S
D
S
S
D
D
5015
(
B
IN)
6192
(
B
IN)
5571
(
B
IN)
5015
(
B
IN)
5571
(
B
IN)
5015
(
B
IN)
1
2
L
ocat
i
on
M
i
n
i
mum
va
l
ue
Q
uant
i
t
y
n
S
S
D
D
D
S
S
S
+
1
+
2
+
1
+
2
+(
n
-
1
)
+(
n
-
2
)
S
D
D
S
S
D
D
1
2
22342001
(
BIN
)
37282010
(
BIN
)
22342001
(
BIN
)
59872019
(
BIN
)
22342001
(
BIN
)
Minimum value
Location
Q
uantit
y
D
D
S
S
S
S
D
D
+2
+4
+6
+1
,
+2
+3