beautypg.com

Delta DVP-ES2 User Manual

Page 69

background image

2 . P r o g r a m m i n g C o n c e p ts

1. X21 drives M1235 to determine counting direction (Up/Down) of C235.

2. When X20 = ON, RST instsruction executes and the current value in C235 will be cleared.

Contact C235 will be OFF

3. When X22 = ON, C235 receives signals from X0 and counter will count up (+1) or count

down (-1).

4. When counter C235 reaches K5, contact C235 will be ON. If there is still input signal input

for X0, it will keep on counting.

X22

X0

0

1

2

3

4

5

X20

X21,M1243 contact

6

7

6

5

4

3

counting up

counting down

C243
present
value

Y0, C243 contact

1-phase 2 inputs high-speed counter:

Example:

LD

X20

C247

Y0

X21

C247

K5

DCNT

C247

RST

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

2 - 3 7

This manual is related to the following products: