Mitsubishi MELSEC Q Series Programming Manual page 442

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

Advertisement

SER(P),DSER(P)
Program Example
(1) The following program searches D100 to D105 for the contents of D0 when X20 is ON, and
stores the search results at W0 and W1.
[Ladder Mode]
[Operation]
Search data
D0
(2) The following program searches D100 to D111 for the contents of D11 and D10 when X20 is
ON, and stores the search results at W0 and W1.
[Ladder Mode]
[Operation]
D11, D10
7-68
Data to be searched
123
D100
500
D101
123
D102
300
D103
123
D104
32000
D105
122
Search data
Data to be searched
56789051
D101, D100
D103, D102
D105, D104
D107, D106
D109, D108
D111, D110
[List Mode]
Step
Instruction
Search results
W0
W1
[List Mode]
Step
Instruction
200000
56789051
56789051
W0
-30000
W1
56789051
30000
Device
Position of match
2
Number of matches
2
Device
Search results
Position of match
2
Number of matches
3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents