7. APPLICATION INSTRUCTIONS
7
−
42
MELSEC-A
Operation Error
In the following case, operation error occurs and the error flag turns on.
•
When "n" points are searched beginning with (S2), the specified device range is
exceeded.
Program Example SER
Program which compares the data of D883 to 887 with 123 when XB turns on.
X00B
0
P
K
K
SER
123
D883 5
•
Coding
0 LD
X00B
1 SERP K123
D883
K5
10
END
Searched data
1 2 3
3
Head number to be searched
D882
D883
D884
D885
D886
D887
D888
1 2 3
1
0
5 0 0
1 2 3
2
0
1 2 3
1 2 3
Coinciding
data
Search range
(5 pcs.)
2
A0
A1
Search result
A0: Coinciding position
A1: Number of coincidences
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......