Delta DVP-ES2 User Manual
Page 70
D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g
X21
0
1
2
3
4
5
X20
6
7
6
5
4
3
X1
count up
X0
count down
C247
present
value
Y0, C247 contact
AB-phase input high-speed counter:
Example:
LD M1002
C251
Y0
X21
C251
K5
DCNT
C251
RST
X20
M1002
K2
D1022
MOV
MOV K2
D1022
LD
X20
RST C251
LD X21
DCNT C251
K5
LD C251
OUT Y0
1. When X20 is ON, RST instsruction executes and the current value in C251 will be cleared.
Contact C251 will be OFF.
2. When X21 is ON, C251 receives A phase counting signal of X0 input terminal and B
phase counting signal of X1 input terminal and executes count up or count down
3. When counter C251 reaches K5, contact C251 will be ON. If there is still input signal from
X0 or X1, C251 will keep on counting
4. Counting mode can be specified as double frequency or 4-times frequency by D1022.
Default: quadruple frequency.
2-38