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

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Searching 16-bit binary data (minimum, match, maximum)

SERMM(P)
RnPCPU
RnCPU RnENCPU
(Process)
• The RnCPU and RnENCPU with firmware version "17" or later support these instructions. (Use an engineering tool with version "1.020W" or later.)
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.
Ladder
(s1)
FBD/LD
EN
ENO
s1
d
s2
n
■Execution condition
Instruction
SERMM
SERMMP
Setting data
■Description, range, data type
Operand
Description
(s1)
Start device in which the same data, maximum value, and
minimum value are searched
(s2)
Data to be searched for or device storing data
(d)
Start device storing number of the same data, maximum
value, and minimum value detected by search
(n)
Number of data in which the same data, maximum value,
and minimum value are searched
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s1)
*1
(s2)
(d)
*1
(n)
*1 FX and FY cannot be used.
7 APPLICATION INSTRUCTIONS
910
7.20 Data Processing Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s2)
(d)
(n)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=SERMM(EN,s1,s2,n,d);
ENO:=SERMMP(EN,s1,s2,n,d);
Range
0 to 65535
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
16-bit signed binary
ANY16
16-bit signed binary
ANY16
16-bit unsigned binary
ANY16_ARRAY
(Number of elements: 5)
16-bit unsigned binary
ANY16_U
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents