Maximum Value Search For 16- And 32-Bit Data (Max(P),Dmax(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.5.10
Maximum value search for 16- and 32-bit data
(MAX(P),DMAX(P))
MAX(P),DMAX(P)
MAX, DMAX
MAXP ,DMAXP
Setting
Data
S
D
n
Function
MAX
(1) Searches in the n points of 16-bit BIN data, from the device designated by
maximum value and stores the searched maximum value at the device designated by
Starts the search from the device designated by
number of points counted from
+1 and stores the number of the found minimum values at
D
Command
Command
: Head number of the devices where a maximum value is searched (BIN 16/32 bits)
S
: Head number of the devices where the maximum value search result will be stored (BIN 16/32 bits)
D
n
: Number of data blocks to be searched (BIN 16 bits)
Internal Devices
R, ZR
Bit
Word
––
––
, of the device where the maximum value is found first at
S
S
1234 (BIN)
S
+1
5678 (BIN)
S
+2
5678 (BIN)
n
S
-5214 (BIN)
+(n-2)
5555 (BIN)
S
+(n-1)
High
Basic
performance
indicates an instruction symbol of MAX/DMAX.
P
J
\
U
\G
Bit
Word
––
––
and stores the location, specified in the
S
D
D
5678 (BIN)
D
+1
2
D
+2
2
MAX(P),DMAX(P)
Process
Redundant Universal
LCPU
n
S
D
n
S
D
Constants
Zn
Other
K, H
––
––
––
, for the
S
.
D
+2.
Maximum value
Location
Quantity
7-89
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents