Download Print this page

Searching The Minimum Value Of Single-Precision Real Number - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Searching the minimum value of single-precision real number

EMIN(P)
These instructions search for the minimum value in the (n) point(s) of single-precision real number block data in the device
starting from the one specified by (s), and store the minimum value in the device areas specified by (d) and (d)+1.
These instructions also store the location of the first minimum value from (s) in the device specified by (d)+2 and the number
of minimum values in the device specified by (d)+3.
Ladder diagram
(s)
(d)
(n)
*1
FBD/LD
EN
ENO
s
d
n
*1 The EMIN instruction is not supported by the ST language and the FBD/LD language. Use MIN of the standard function.
Page 1014 MAX(_E), MIN(_E)
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
Search target data
(d)
Search result
(n)
Number of search target data points
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s)
(d)
(n)
Word
T, ST, C, D, W,
U\G
SD, SW, R
*1
Structured text
ENO:=EMINP(EN,s,n,d);
Range
Data type
Single-precision real number
Single-precision real number
16-bit unsigned binary
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
Data type (label)
ANYREAL_32
ANY_REAL_32_ARRAY
(Number of elements: 4)
ANY16
BOOL
BOOL
Constant
Others
K, H
E
$
8 APPLICATION INSTRUCTION
8.9 Real Number Instruction
8
543

Hide quick links:

Advertisement

loading