2. Programming Concepts

 

 

 

 

 

 

 

 

 

Applicable Hardware High Speed Counters:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1-phase

 

 

 

 

 

 

C

 

1-phase 2-input

 

2-phase 2-input

 

 

 

 

input

 

 

 

 

 

 

 

 

 

 

 

XC243 C244 C245 C246 C247 C248 C249 C250 C251 C252 C253 C254

X0

U

U/D

U/D

U

U

 

A

A

 

X1

R

Dir

Dir

D

D

 

B

B

 

X2

 

U

 

 

 

U/D

U/D

A

A

X3

 

R

 

 

 

Dir

Dir

B

B

X4

 

 

R

 

R

 

 

R

 

X5

 

 

 

 

 

 

R

 

R

U:

Count up

A:

Phase A input

Dir:

Directoin signal input

D:

Count down

B:

Phase B input

R:

Reset signal input

Note:

 

 

 

 

 

1.The max frequency of the 1-phase input counters X0 (C243) and X2(C244) is 100kHz on ES2/EX2/SA2/SX2 model and 20kHz on SS2 model.

2.The max frequency of the 1-phase 2-input counters (X0, X1)(C245, C246) and (X2, X3)(C249, C250) is 100kHz on ES2/EX2/SA2/SX2 model and 20kHz on SS2 model.

3.The max frequency of the 1-phase 2-input counters (X0, X1)(C247, C248) is 10kHz on ES2/EX2/SS2/SX2 model and 100kHz on 32ES211T and SA2 model..

4.The max frequency of the 2-phase 2-input counter (X0, X1)(C251, C252) is 5kHz on ES2/EX2 model, 10kHz on SS2/SX2 model and 50kHz on 32ES211T and SA2 model.

5.The max frequency of the 2-phase 2-input counter (X2, X3)(C253, C254) is 5kHz on ES2/EX2/SA2 model, 10 kHz on SS2/SX2 model and 50kHz on 32ES211T.

6.2-phase 2-input counting supports double and 4 times frequency, which is selected in D1022 as the table in next page. Please refer to the below table for detailed counting wave form.

D1022

Counting mode

A

B

K2

(Double Frequency)

 

 

 

t

dow

 

 

 

 

 

 

 

 

n

c

 

 

 

 

 

 

n

 

o

 

 

 

 

u

 

 

 

unt

 

 

up

co

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A

 

 

 

 

 

 

 

 

 

 

 

K4 or other value

B

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Quadruple frequency)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

d

 

 

 

 

 

(Default)

 

 

 

 

n

o

 

o

 

 

 

 

 

 

w

 

 

 

 

 

 

u

t

 

n

c

u

 

 

 

 

 

 

 

 

 

 

 

o

 

 

 

 

 

 

n

 

 

c

 

 

 

 

 

 

 

 

t

 

p

 

 

 

 

 

 

 

 

 

 

 

u

 

 

 

 

 

 

 

 

 

 

 

2 - 3 5

Page 67
Image 67
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Applicable Hardware High Speed Counters