EasyManua.ls Logo

Delta DVP-ES2 - Page 667

Delta DVP-ES2
1006 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
3-546
Program Example:
When X0 goes from OFF to ON with M1090 = OFF (comparison starts from Pr), the search will
start from the bit marked with “*” (current Pr value +1) for the bits with different status (M1088 =
OFF).
Assume pointer D20 = 2, the following four results (, , , ) can be obtained when X0 goes
from OFF→ON for four times.
D20 = 5, M1091 = ON (matched result found), M1089 = OFF
D20 = 45, M1091 = ON, M1089 = OFF.
D20 = 47, M1091 = OFF, M1089 = ON (comparison proceeds to he last bit)
D20 = 1, M1091 = ON, = OFF.
X0
MCMPP D0 D10 D20K3
b0
1
0
11
000
1
0 00
11
000
1
0 00
11
00
1
1
1
1
1
1
1
1
1
D20
1
1
1
0
0
0
0
0
0
1
1
1
10 10 10 10 10 1 10 1
10 10 10 10 10 10 10 10
10 1 10 10 10 10 10 10
b47
MCMP
b47
b0
0
0 1
1
1 0
Pointer
D0
D1
D2
D10
D11
D12
2
Points to note:
Associated flags and registers:
M1088:
Matrix comparison. Comparing between equivalent values (M1088 = ON) or different
values (M1088 = OFF)
D1089: Indicating the end of Matrix. When the comparison reaches the last bit, M1089 = ON
D1090:
Indicating start of Matrix comparison. When the comparison starts from the first bit,
M1090 = ON
D1091:
Indicating matrix searching results. When the comparison has matched results,
comparison will stop immediately and M1091 = ON
D1092:
Indicating pointer error. When the pointer Pr exceeds the comparison range, M1092 =
ON.

Table of Contents

Other manuals for Delta DVP-ES2

Related product manuals