Mitsubishi Electronics QSERIES Smoker User Manual


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