908
7 APPLICATION INSTRUCTIONS
7.20 Data Processing Instructions
Searching 32-bit binary data
DSERDATA(P)
These instructions search the (n) points in the 32-bit binary data specified by (s2) for the 32-bit binary data specified by (s1).
■Execution condition
■Descriptions, ranges, and data types
*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
Ladder ST
ENO:=DSERDATA(EN,s1,s2,n,d);
ENO:=DSERDATAP(EN,s1,s2,n,d);
FBD/LD
Instruction Execution condition
DSERDATA
DSERDATAP
Operand Description Range Data type Data type (label)
(s1) Search data or the start device containing the search data -2147483648 to 2147483647 32-bit signed binary ANY32
(s2) Data to be searched or the start device containing the data
to be searched
32-bit signed binary ANY32
*1
(d) Start device for storing the search result 16-bit signed binary ANY16_ARRAY
(Number of elements: 2)
(n) Number of search target data points 0 to 65535 16-bit unsigned binary ANY16
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)
(d)
(n)
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)