Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-68
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] [List Mode]
[Operation]
(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] [List Mode]
[Operation]
Step
Instruction
Device
Data to be searched
123
Search data
D0
123
122
123
300
500
32000
D103
D105
D101
D102
D100
D104
2
2
W1
Search results
Position of match
Number of matches
W0
Step
Instruction
Device
Data to be searched
56789051
Search data
D11, D10
D107, D106
D111, D110
D103, D102
D105, D104
D101, D100
D109, D108
2
3W1
Search results
Position of match
Number of matches
W0
56789051
-30000
30000
56789051
56789051
200000