Data Processing Instructions - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

SER(P),DSER(P)
7.5

Data processing instructions

7.5.1
16-bit and 32-bit data searches (SER(P),DSER(P))
SER(P),DSER(P)
SER, DSER
SERP, DSERP
Setting
Data
S1
S2
D
n
Function
SER
(1) Searches n points from the 16-bit data of the device designated by
of the device designated by
keyword is stored at the device designated by
the relative number from
Search data
S 1
Relative value
(2) No processing is conducted if n is 0 or a negative value.
(3) If no matches are found in the search, the devices designated at
7-66
Command
Command
: Search data or head number of the devices where the search data is stored (BIN 16/32 bits)
S1
: Data to be searched or head number of the devices where the data to be searched is stored (BIN 16 bits)
S2
: Head number of the devices where the search result will be stored (BIN 16 bits)
D
n
: Number of searches (BIN 16 bits)
Internal Devices
R, ZR
Bit
Word
––
––
as a keyword. Then, the number of matches with the
S1
) is stored at the device designated by
S2
Head number to be
searched
123
123
S2
10
S2
500
+1
123
S2
+2
-123
20
S2
+(n-2)
S2
+(n-1)
123
123
High
Basic
performance
S 1
S2
P
S 1
S2
J
\
U
\G
Bit
Word
––
––
––
+1, and the first matched device number (in
D
Match data
D
Search range
(n points)
D
+1
Process
Redundant Universal
LCPU
D
n
D
n
Constants
Zn
Other
K, H
––
––
––
––
––
––
, regarding 16-bit data
S2
.
D
Search results
3
Position of match
2
Number of matches
and
+1 become "0".
D
D

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents