Mitsubishi Electric MELDAS C6 Programming Manual page 285

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

DSER, DSERP ... Search of 32-bit data
Bit device
X
Y M
L
F
B SB T SM V T
S1
S2
D
n
DSER
DSERP
Function
(1) Using the 32-bit data of the device designated with S1 as the keyword, the n points from the
32-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 DSER, DSERP are as shown below.
Search command OFF
DSER
DSERP
8. Function Commands
DSER, DSERP
Usable device
Word device
C D R W SW Z SD K
Search command
DSER
S1
S2
DSERP
S1
S2
ON
Executed per scan
- 276 -
Get other manuals https://www.bkmanuals.com
Con-
Pointer
stant
H
P
Setting data
No. of device where
S1
search data is stored.
D
n
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