Mitsubishi Electric MELDAS C6 Programming Manual page 283

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

SER, SERP ... Search of 16-bit data
Bit device
X
Y M
L
F
B SB T SM V T
S1
S2
D
n
SER
SERP
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 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, SERP are as shown below.
Search command OFF
SER
SERP
8. Function Commands
SER, SERP
Usable device
Word device
C D R W SW Z SD K
Search command
SER
S1
S2
SERP
S1
S2
ON
Executed per scan
- 274 -
Get other manuals https://www.bkmanuals.com
Con-
Pointer
stant
H
P
Setting data
No. of device where
S1
search data is stored.
n
D
Head No. of device
S2
to be searched.
Head No. of device
n
D
D
where search results
are stored.
No. of devices to be
n
searched.
Executed per scan
Digit
No. of
desig-
Index
steps
nation
6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents