Minimum Value Search Of 16-/32-Bit Data - Mitsubishi MELSEC-Q Series Programming Manual

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

MIN, DMIN
7.5.11

Minimum value search of 16-/32-bit data

MIN(P)
DMIN(P)
Structured ladder
MIN
EN
ENO
s
n
Input argument,
EN:
s:
n:
Output argument,
ENO:
d:
Setting
data
s
n
d
Function
MIN(P)
(1) Searches for the minimum value in the n points of 16-bit BIN data, from the device specified
for
s
Searches from the device specified for
number which is stored in the minimum value of the first search to
number of minimum values to
7.5 Data Processing Instructions
7-88
7.5.11 Minimum value search of 16-/32-bit data
ST
ENO:=
MIN
d
Executing condition
Start number of the device in which the minimum value is
searched
Number of search data
Execution result
Search result of the minimum value
Internal device
R, ZR
Bit
Word
, and stores searched minimum value to the device specified for
s
5015 (BIN)
s
+1
6192 (BIN)
5571 (BIN)
+2
s
5015 (BIN)
s
+(n-2)
5571 (BIN)
s
+(n-1)
P: Executing condition
instructions.
MIN
DMIN
(EN, s, n, d);
:Bit
:ANY16/32
:ANY16
:Bit
:ANY16/32
J
\
U
\G
Bit
Word
and counted from
s
+2.
d
d
n
d
+1
d
+2
MIN, DMIN
Universal
UD
:
indicates any of the following
MINP
DMINP
Constant
Zn
K, H
.
d
, stores the location of device
s
+1 and stores the
d
5015 (BIN)
Minimum value
Location
1
Quantity
2
High
Performance
Others

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qcpu

Table of Contents