Mitsubishi Electronics E60 Video Game Controller User Manual


 
SER
- 174 -
{ SER ... Search of 16-bit data
Usable device
Bit device Word device
Con-
stant
Pointer Level
X Y M L SM F T C D R Z K H P N
Digit
desig-
nation
No. of
steps
Index
S1
S2
D
n
6
SER
D
S1
n
S2
Search command
Setting data
S2
S1
No. of device where
search data is stored.
No. of devices to be
searched
n
D
Head No. of device
where search results
are stored
Head No. of device
to be searched
SER
Function
(1) Using the 16-bit data of the device designated with S1 as the keyword, the n points from the
16-bit data of the device designated with S2 are searched.
(2) The number of data items matching the keyword is stored in D+1. The relative position of the
device containing the first matched data counted from S2 is stored in D.
(3) When n is a negative value, it is interpreted as 0.
(4) No process is executed when n = 0.
Execution conditions
The execution conditions for SER are as shown below.
Search command OFF
SER
ON
Executed per scan
Executed per scan