EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 111

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...
2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
109
2
Check code instructions
Check code
Data processing instructions
Searching 16-bit/32-bit binary data
Searching 16-bit/32-bit binary data (minimum, match, maximum)
Checking 16-bit/32-bit binary data
Instruction symbol Processing details Reference
CCD Performs addition of the data stored in the devices specified by (s) to (s)+(n)-1 and calculate the
horizontal parity, and stores the added data in the device specified by (d) and the horizontal parity
in the device specified by (d)+1.
Page 903 CCD(P)
CCDP
Instruction symbol Processing details Reference
SERDATA Searches the (n) points in the 16-bit binary data specified by (s2) for the 16-bit binary data specified
by (s1).
(d): Location
(d)+1: Number of matches
Page 906 SERDATA(P)
SERDATAP
DSERDATA Searches the (n) points in the 32-bit binary data specified by (s2) for the 32-bit binary data specified
by (s1).
(d): Location
(d)+1: Number of matches
Page 908
DSERDATA(P)
DSERDATAP
Instruction symbol Processing details Reference
SERMM Searches 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.
Page 910 SERMM(P)
SERMMP
DSERMM Searches the (n) points in the 32-bit binary data specified by (s1) for the same data as the 32-bit
binary data specified by (s2), the minimum value, and the maximum value.
Page 912 DSERMM(P)
DSERMMP
Instruction symbol Processing details Reference
SUM Stores the total number of "1" bits in the 16-bit binary data stored in the specified device.
(d): Number of 1s
Page 914 SUM(P)
SUMP
DSUM Stores the total number of "1" bits in the 32-bit binary data stored in the specified device.
(d): Number of 1s
Page 916 DSUM(P)
DSUMP
(s1)
(s2)
(n)
(d)
(d)+1
(s1)
(s2)
(n)
(d)
(d)+1
32 bit
(s2)
(s1)
(n)
(d) (d)+4to
(s2)
(s1)
(n)
[(d)+1, (d)] [(d)+9, (d)+8]to
b15 b0
(s)
···
(d)
(s)(s)+1
(d)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals