Searching 32-Bit Binary Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Searching 32-bit binary data

DSERDATA(P)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions search the (n) points in the 32-bit binary data specified by (s2) for the 32-bit binary data specified by (s1).
Ladder
(s1)
FBD/LD
EN
ENO
s1
d
s2
n
■Execution condition
Instruction
DSERDATA
DSERDATAP
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Search data or the start device containing the search data
(s2)
Data to be searched or the start device containing the data
to be searched
(d)
Start device for storing the search result
(n)
Number of search target data points
EN
Execution condition
ENO
Execution result
*1 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s1)
(s2)
(d)
(n)
7 APPLICATION INSTRUCTIONS
908
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:=DSERDATA(EN,s1,s2,n,d);
ENO:=DSERDATAP(EN,s1,s2,n,d);
Range
-2147483648 to 2147483647
0 to 65535
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
32-bit signed binary
ANY32
*1
32-bit signed binary
ANY32
16-bit signed binary
ANY16_ARRAY
(Number of elements: 2)
16-bit unsigned binary
ANY16
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents