DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming X21,M1243 contact counting up counting down X20 X22 X0 C243 present value 6 7 6 5 4 3 0 1 2 3 4 5 1-phase 2 inputs high-speed counter: Example: LD X20 X20 RST C247 LD X21 DCNT C247 K5 LD C247 OUT Y0 1. When X20 is ON, RST instsruction executes and the current value in C247 will be cleared. Contact C247 will be OFF. 2. When X21=ON, C247 receives count signals from X0 and counter counts up (+1), or C247 receives count signal from X1 and counter counts down (-1) 3. When C247 reaches K5, contact C247 will be ON.
If there is still input signal from X0 or X1, C247 will keep on counting X21 C247 Y0 X20 X1 count up X0 count down C247 present value 6 7 6 5 4 3 0 1 2 3 4 5 Y0, C247 contact 2-30 RST C247 DCNT C247 K5 21