EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Searching 16-Bit Binary Data (Minimum, Match, Maximum)

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...
910
7 APPLICATION INSTRUCTIONS
7.20 Data Processing Instructions
Searching 16-bit binary data (minimum, match, maximum)
SERMM(P)
These instructions search the (n) points in the 16-bit binary data specified by (s1) for the same data as the 16-bit binary data
specified by (s2), the minimum value, and the maximum value.
Execution condition
Setting data
Description, range, data type
Applicable devices
*1 FX and FY cannot be used.
The RnCPU and RnENCPU with firmware version "17" or later support these instructions. (Use an engineering tool with version "1.020W" or later.)
Ladder ST
ENO:=SERMM(EN,s1,s2,n,d);
ENO:=SERMMP(EN,s1,s2,n,d);
FBD/LD
Instruction Execution condition
SERMM
SERMMP
Operand Description Range Data type Data type (label)
(s1) Start device in which the same data, maximum value, and
minimum value are searched
16-bit signed binary ANY16
(s2) Data to be searched for or device storing data 16-bit signed binary ANY16
(d) Start device storing number of the same data, maximum
value, and minimum value detected by search
16-bit unsigned binary ANY16_ARRAY
(Number of elements: 5)
(n) Number of data in which the same data, maximum value,
and minimum value are searched
0 to 65535 16-bit unsigned binary ANY16_U
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 $
(s1)  
(s2)
*1
 
(d)  
(n)
*1
 
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(s1) (s2) (d) (n)
EN ENO
ds1
s2
n

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals