beautypg.com

Visual kv series – KEYENCE Visual KV Series User Manual

Page 265

background image

4.6 Direct Clock Pulse Output

3-241

Visual KV

Series

1

4

Chapter 4 High-speed Counters

Operation with special utility relays for high-speed counter CTH1
The following table shows the ON/OFF status of output relay 0501 which can be
changed by setting special utility relays (2203 through 2212) at the start of opera-
tion, or by changing them during clock pulse output.
You can set desired values for the pulse period and pulse width, and can enable or
disable the direct output.
Operation of output relay 0501 when special utility relays are ON/OFF

Setting the special utility relay

The special utility relay must be set to output the clock pulse. Set the relays in the
following manner.

Only one relay for each group can be turned ON from relays 2204 through 2207
and 2208 through 2211.

Use the SET-RES pair or STA instruction to turn relays 2203 through 2212 ON/
OFF.

Turning OFF relays 2204 or 2208 enables control of output relay 0501.

To change the pulse width, be sure to first turn ON relays 2203 or 2212 to auto-
matically clear the current value of CTH1. You cannot change the pulse period
unless you turn ON relays 2203 or 2212.

Turning ON/OFF relay 2205 stops/outputs the clock pulse.

Note: If two or more relays of special utility relays 2204 through 2207 or 2208
through 2211 are turned ON, priority is given to the relay with the smaller number.

Operation of output 0501 by setting special utility relays

Outputting a pulse with 1:1 ON/OFF ratio

Outputting a pulse with variable pulse width

Count value

Count value

d

e

e

p

s

-

h

g

i

H

r

e

t

n

u

o

c

r

o

t

a

r

a

p

m

o

c

l

a

i

c

e

p

S

y

a

l

e

r

y

t

i

l

i

t

u

)

e

u

l

a

v

t

n

e

r

r

u

c

(

0

H

T

C

n

e

h

w

n

o

i

t

a

r

e

p

O

)

e

u

l

a

v

t

e

s

e

r

p

(

C

T

C

s

e

h

c

a

e

r

2

C

T

C

3

0

2

2

e

u

l

a

v

t

n

e

r

r

u

c

s

r

a

e

l

c

y

ll

a

c

i

t

a

m

o

t

u

A

1

H

T

C

f

o

s

e

Y

:

N

O

o

N

:

F

F

O

4

0

2

2

.

1

0

5

0

f

o

l

o

r

t

n

o

c

s

e

l

b

a

n

e

/

s

e

l

b

a

s

i

D

:

N

O

e

l

b

a

s

i

D

:

F

F

O

e

l

b

a

n

E

5

0

2

2

h

g

u

o

r

h

t

t

u

p

t

u

o

t

c

e

r

i

d

F

F

O

s

n

r

u

T

.

1

0

5

0

s

e

Y

:

N

O

o

N

:

F

F

O

6

0

2

2

h

g

u

o

r

h

t

t

u

p

t

u

o

t

c

e

r

i

d

N

O

s

n

r

u

T

.

1

0

5

0

s

e

Y

:

N

O

o

N

:

F

F

O

7

0

2

2

.

1

0

5

0

f

o

s

u

t

a

t

s

F

F

O

/

N

O

s

e

s

r

e

v

e

R

s

e

Y

:

N

O

o

N

:

F

F

O

3

C

T

C

8

0

2

2

.

1

0

5

0

f

o

l

o

r

t

n

o

c

s

e

l

b

a

n

e

/

s

e

l

b

a

s

i

D

:

N

O

e

l

b

a

s

i

D

:

F

F

O

e

l

b

a

n

E

9

0

2

2

h

g

u

o

r

h

t

t

u

p

t

u

o

t

c

e

r

i

d

F

F

O

s

n

r

u

T

.

1

0

5

0

s

e

Y

:

N

O

o

N

:

F

F

O

0

1

2

2

h

g

u

o

r

h

t

t

u

p

t

u

o

t

c

e

r

i

d

N

O

s

n

r

u

T

.

1

0

5

0

s

e

Y

:

N

O

o

N

:

F

F

O

1

1

2

2

.

1

0

5

0

f

o

s

u

t

a

t

s

F

F

O

/

N

O

s

e

s

r

e

v

e

R

s

e

Y

:

N

O

o

N

:

F

F

O

2

1

2

2

e

u

l

a

v

t

n

e

r

r

u

c

s

r

a

e

l

c

y

ll

a

c

i

t

a

m

o

t

u

A

1

H

T

C

f

o

s

e

Y

:

N

O

o

N

:

F

F

O

CTC2

ON

ON

CTC3

CTC2

ON

ON

ON

ON

s

g

n

i

t

t

e

s

y

a

l

e

r

y

t

i

l

i

t

u

l

a

i

c

e

p

S

N

O

3

0

2

2

N

O

8

0

2

2

F

F

O

4

0

2

2

F

F

O

9

0

2

2

F

F

O

5

0

2

2

F

F

O

0

1

2

2

F

F

O

6

0

2

2

F

F

O

1

1

2

2

N

O

7

0

2

2

F

F

O

2

1

2

2

s

g

n

i

t

t

e

s

y

a

l

e

r

y

t

i

l

i

t

u

l

a

i

c

e

p

S

N

O

3

0

2

2

F

F

O

8

0

2

2

F

F

O

4

0

2

2

N

O

9

0

2

2

F

F

O

5

0

2

2

F

F

O

0

1

2

2

N

O

6

0

2

2

F

F

O

1

1

2

2

F

F

O

7

0

2

2

F

F

O

2

1

2

2

KVNKA Chap 04_2.p65

08.3.11, 0:08 PM

241