Searching the minimum value of single-precision real number
EMIN(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions search the block data of single-precision real numbers for the minimum value.
Ladder
(s)
(d)
(n)
*1
FBD/LD
EN
ENO
s
d
n
*1 The EMIN instruction does not support the ST and FBD/LD. Use the standard function, MIN.
Page 1933 MAX(_E), MIN(_E)
■Execution condition
Instruction
EMIN
EMINP
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
Single-precision real number used for minimum value
search, or the start device containing single-precision real
numbers
(d)
Start device for storing the search result
(d) to (d)+1: Minimum value
(d)+2: Position
(d)+3: The number of search target data points
(n)
Number of single-precision real number block data points
EN
Execution condition
ENO
Execution result
*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
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
(n)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
*1
ST
ENO:=EMINP(EN,s,n,d);
Range
Data type
-126
128
|(s)|<2
0, 2
Single-precision real
number
Single-precision real
number
0 to 65535
16-bit unsigned binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
*1
ANYREAL_32
ANY_REAL_32_ARRAY
(Number of elements: 4)
ANY16
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.9 Real Number Instructions
7
843