3 setting and operation of high-speedcounters, 3 comparator output, 3 setting and operation of high-speed counters – KEYENCE Visual KV Series User Manual

Page 235: Visual kv series

Advertising
background image

4.3 Setting and Operation of High-speed Counters

3-211

Visual KV

Series

1

4

Chapter 4 High-speed Counters

r

e

t

n

u

o

c

d

e

e

p

s

-

h

g

i

H

e

u

l

a

v

t

n

e

r

r

u

C

0

H

T

C

5

3

5

5

6

o

t

0

1

H

T

C

r

e

t

n

u

o

c

d

e

e

p

s

-

h

g

i

H

r

e

t

n

u

o

c

d

e

e

p

s

-

h

g

i

H

r

o

t

a

r

a

p

m

o

c

0

H

T

C

0

C

T

C

1

C

T

C

1

H

T

C

2

C

T

C

3

C

T

C

d

e

e

p

s

-

h

g

i

H

r

e

t

n

u

o

c

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

y

t

i

l

i

t

u

l

a

i

c

e

p

S

y

a

l

e

r

y

a

l

e

r

y

t

i

l

i

t

u

l

a

i

c

e

p

s

f

o

g

n

i

t

t

e

S

0

H

T

C

0

C

T

C

4

0

1

2

o

N

:

N

O

s

e

Y

:

F

F

O

.

F

F

O

/

N

O

0

0

5

0

y

a

l

e

r

t

u

p

t

u

o

s

n

r

u

T

1

C

T

C

8

0

1

2

o

N

:

N

O

s

e

Y

:

F

F

O

.

F

F

O

/

N

O

0

0

5

0

y

a

l

e

r

t

u

p

t

u

o

s

n

r

u

T

1

H

T

C

2

C

T

C

4

0

2

2

o

N

:

N

O

s

e

Y

:

F

F

O

.

F

F

O

/

N

O

1

0

5

0

y

a

l

e

r

t

u

p

t

u

o

s

n

r

u

T

3

C

T

C

8

0

2

2

o

N

:

N

O

s

e

Y

:

F

F

O

.

F

F

O

/

N

O

1

0

5

0

y

a

l

e

r

t

u

p

t

u

o

s

n

r

u

T

4.3

Setting and Operation of High-speed
Counters

The high-speed counters and high-speed counter comparators operate using data
specified with special utility relays.

4.3.1

Reading the Current Value of the High-speed Counter

The current value of a high-speed counter is normally written as 16-bit data (0 to
65535).
The range of the current value for high-speed counters is as follows:

➮ Refer to "4.4.1 24-bit High-speed Counter" (p. 3-221) when using the 24-bit high-speed counter.

4.3.2

Preset Value of the High-speed Counter Comparator

The preset value of a high-speed counter comparator is written as 16-bit data (0 to
65535).
The relationship between high-speed counters and high-speed counter comparators
is as follows:

➮ Refer to "4.4.1 24-bit High-speed Counter" (p. 3-221) when using the 24-bit high-speed counter.

4.3.3

Comparator Output

The high-speed counter comparator provides the comparator output function, which
turns ON outputs as soon as the comparator turns ON, without being affected by the
scan time.
Comparator output is controlled by setting special utility relays. The relationships
among the high-speed counters, high-speed counter comparators, and special utility
relays are as follows:

KVNKA Chap 04_1.p65

08.3.11, 0:06 PM

211

Advertising