beautypg.com

2 direct clock pulse, 1 output of direct clock pulse, Outline of high-speed counters – KEYENCE Visual KV Series User Manual

Page 300: Kv -300

background image

6.2 High-speed Counters

KV

-300

KV-10/80

3-276

6

Chapter 6 Interrupts, High-speed Counters, Positioning Control

Internal clocks
2200(1.0 µs)
2201(10.0 µs)
2202(100.0 µs)
External pulse
0005/0007
0500

Internal clocks
2100(1.0 µs)
2101(10.0 µs)
2102(100.0 µs)
External pulse
0004/0006

Special utility relay
(2103 to 2115)

Special utility relay
(2203 to 2215)

INT CTC0
INT CTC1

INT CTC2
INT CTC3

TM30

Phase A 0004
Phase B (0006)

0009 (RESET)

0500

0501

0008 (RESET)

Phase A 0005
Phase B (0007)

Control circuit

Control circuit

16-bit
high-speed counter
CTH0

16-bit high-
speed counter
CTH1

High-speed
counter comparator
CTC0, CTC1

High-speed
counter comparator
CTC2, CTC3

6.2

Direct Clock Pulse

6.2.1

Output of Direct Clock Pulse

Outline of High-Speed Counters

Basic Architecture

The KV-300 CPU has two 16-bit (CTH0, CTH1) double-phase counter, each
equipped with two high-speed counter comparators (CTC0, 1, 2, 3). These counters
can be used as a stepping motor controller or are used to measure pulse width.

Block diagram of high-speed counters

Lists of special utility relays for high-speed counters
Utility relays for high-speed counter CTH0

2100

Internal clock (1.0 µs) for CTH0

2101

Internal clock (10.0 µs) for CTH0

2102

Internal clock (100.0 µs) for CTH0

2103

When comparator CTC0 is ON, automatically clears CTH0.
1: Yes 0: No

2104

Direct output to 0500

Direct output level to 0500 through comparator

1: Disable 0: Enable

CTC1 (any one of these is ON)

2105

Turns OFF output to 0500.
1: Yes 0: No

2106

Turns ON output to 0500.
1: Yes 0: No

2107

Reverses output (toggle) to 0500.
1: Yes 0: No

2108

Direct output to 0500

Direct output level to 0500 through comparator

1: Disable 0: Enable

CTC1 (any one of these is ON)

2109

Turns OFF output to 0500.
1: Yes 0: No

2110

Turns ON output to 0500.
1: Yes 0: No

2111

Reverses output to 0500 (toggle).
1: Yes 0: No

2112

When comparator CTC1 is ON, automatically clears CTH0.
1: Yes 0: No

2113

Uses CTH0 in magnification mode.
1: Yes 0: No

2114

Selection of magnification mode for CTH0
1: x 4 0: x 2

2115

Enables external reset for CTH0.
1: Yes 0: No

KVNKA Chap 06.p65

08.3.11, 0:10 PM

276