DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming

Example 13 - Output delay circuit

The output delay circuit is composed of two timers executing delay actions. No matter input X0 is ON or OFF, output Y4 will be delayed.

X0

T5

Y4

Y4

TMR T5 K50

T6

Y4

X0

TMR T6 K30

5 secs

T5

T

T6

3 secs

Example 14 - Timing extension circuit

X0

TMR T11 Kn1

The total delay time: (n1+n2)* T. T refers to the

T11

 

timer resolution.

TMR

T12

Kn2

T12

 

X0

 

n1* T

Y1

 

 

.

 

T11

 

 

Timer = T11, T12

 

n2* T

Timer resolution: T

 

T12

 

 

 

 

Y1

 

 

(n1+n2)* T

Example 15 – Counting Range Extension Circuit

 

X13

 

Kn1

The counting range of a 16-bit counter is 0 ~

 

 

 

 

 

 

 

 

 

CNT

C5

 

 

 

 

 

 

C5

 

 

32,767. The opposite circuit uses two counters to

 

 

 

 

 

 

 

CNT

C6

Kn2

increase the counting range as n1*n2. When

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RST

C5

 

value in counter C6 reaches n2, The pulses

 

 

 

 

 

 

 

 

counted from X13 will be n1*n2.

 

X14

 

 

 

 

 

 

 

 

 

RST

C6

 

 

 

 

 

 

 

 

 

 

 

 

 

C6

 

 

 

 

 

 

 

 

 

 

Y1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 - 20

Page 28
Image 28
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Example 13 Output delay circuit, Example 14 Timing extension circuit