EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Searching the Minimum Value of 16-Bit Binary Data

Mitsubishi Electric MELSEC iQ-R Series
2110 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...
926
7 APPLICATION INSTRUCTIONS
7.20 Data Processing Instructions
Searching the minimum value of 16-bit binary data
MIN(P)(_U)
These instructions search the (n) points of 16-bit binary data in the specified device for the minimum value.
*1 The MIN and MIN_U instructions do not support the ST and FBD/LD. Use the standard function, MIN.
Page 1933 MAX(_E), MIN(_E)
Execution condition
Setting data
Description, range, data type
*1 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
Applicable devices
Ladder ST
*1
ENO:=MINP(EN,s,n,d); ENO:=MINP_U(EN,s,n,d);
FBD/LD
*1
Instruction Execution condition
MIN
MIN_U
MINP
MINP_U
Operand Description Range Data type Data type (label)
(s) MIN(P) Start device where the search target data is
stored
16-bit signed binary ANY16_S
*1
MIN(P)_U 16-bit unsigned binary ANY16_U
*1
(d) MIN(P) Start device for storing the search result of the
minimum value
16-bit signed binary ANY16_S_ARRAY
(Number of elements: 3)
MIN(P)_U 16-bit unsigned binary ANY16_U_ARRAY
(Number of elements: 3)
(n) Number of search data 0 to 65535 16-bit unsigned binary ANY16
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s)  
(d)  
(n)  
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(s) (d) (n)
EN ENO
sd
n

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals