7-90
7.5 Data Processing Instructions
7.5.11 Minimum value search of 16-/32-bit data
MIN, DMIN
[Operation]
(2) In the following program, the minimum value is searched from 32-bit data in Var_D0 and
stores the result to Var_D100 when X20 turns ON.
[Structured ladder]
[ST]
DMINP(X20,Var_D0,4,Var_D100);
[Operation]
55
4
2
(
BIN
)
5857
(
BIN
)
4
590
(
BIN
)
44
50
(
BIN
)
R0
R1
R2
R3
D
150
D
151
D
152
D
153
9090
D
200
3
1
D
201
D
202
M
inimum value
Location
Q
uantit
y
4
D
0
5500
(
BIN
)
4
000
(
BIN
)
4
500
(
BIN
)
6000
(
BIN
)
110
4
2
(
BIN
)
9857
(
BIN
)
9090
(
BIN
)
10
4
50
(
BIN
)
D
100
D
101
D
102
D
103
b0
b15
b0
b15
b0
b15
+
69386
Var
_
D
100
4
1
57020175 (
B
IN)
Var
_
D
0
2070166 (
B
IN)
3596045 (
B
IN)
69386 (
B
IN)
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......