EasyManua.ls Logo

Mitsubishi MELSEC-Q/L

Mitsubishi MELSEC-Q/L
850 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
373
MIN, MINP, DMIN, DMINP
1
2
3
4
4
6
7
8
7.5 Data processing instructions
7.5.11 MIN, MINP, DMIN, 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.
7.5.11 MIN, MINP Minimum val ue search for 16-bit data
DMIN, DMINP M inimum valu e 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 symbol of MIN/DMIN.
S
D
S
D
S
D
S
S
D
D
5015 (BIN)
6192 (BIN)
5571 (BIN)
5015 (BIN)
5571 (BIN)
5015 (BIN)
1
2
Location
Minimum value
Quantity
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
Quantity
D
D
S
S
S
S
DD
+2
+4
+6
+1,
+2
+3

Table of Contents

Related product manuals