EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 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
Page #559 background imageLoading...
Page #559 background image
7 APPLICATION INSTRUCTION
7.17 Data operation instruction
557
7
Searching the minimum value of 16-bit data
MIN(P)(_U)
These instructions search the minimum value from the (n) point(s) of 16-bit binary data in the device starting from the one
specified by (s), and store the minimum value in the device specified by (d).
*1 The MIN(_U) instructions are not supported by the ST language. Use MIN of the standard function.
Page 804 MAX(_E), MIN(_E)
Setting data
Descriptions, ranges, and data types
Applicable devices
Processing details
These instructions search the minimum value from the (n) point(s) of 16-bit binary data in the device starting from the one
specified by (s), and store the minimum value in the device specified by (d). These instructions start searching from the
device specified by (s), and store the location from (s) of the first minimum value in (d)+1 and the number of minimum
values in (d)+2.
Operation error
Ladder diagram Structured text
*1
ENO:=MINP(EN,s,n,d); ENO:=MINP_U(EN,s,n,d);
Operand Description Range Data type Data type (label)
(s) MIN(P) Head device number where the minimum value is searched 16-bit signed binary ANY16
MIN(P)_U 16-bit unsigned binary
(d) MIN(P) Head device number for storing the minimum value 16-bit signed binary ANY16
MIN(P)_U 16-bit unsigned binary
(n) Number of data to be searched 0 to 65535 16-bit unsigned binary ANY16
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s) 
(d) 
(n) 
Error code
(SD0/SD8067)
Description
2820 The (n) point(s) of data in the device starting from the one specified by (s) exceed the corresponding device range.
The device specified by (d) exceeds the corresponding device range.
(s) (d) (n)
5015 (BIN)
6192 (BIN)
5571 (BIN)
5015 (BIN)
5571 (BIN)
(n)
(s)
(s)+1
(s)+(n-2)
(s)+(n-1)
(s)+2
5015 (BIN)
1
2
(d)
(d)+1
(d)+2
Minimum value
Position
Number of data

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals