Chapter 4 high-speed counters, Chapter 4, High-speed counters – KEYENCE Visual KV Series User Manual

Page 227: Visual kv series

Advertising
background image

Chapter 4

High-speed Counters

This chapter describes high-speed counters and high-speed counter comparators,
which allow high-speed pulse measurement and pulse output, independent of the
scan time.

➮ For KV-10/80 Series, see Chapter 6.

4.1

High-speed Counter Instructions

................................................ 3-204

4.2

Outline of High-speed Counters

.................................................. 3-206

4.2.1

High-speed Counters and High-speed Counter Comparators ............... 3-206

4.2.2

Internal Clock for High-speed Counters ................................................. 3-210

4.3

Setting and Operation of High-speed Counters

...................... 3-211

4.3.1

Reading the Current Value of the High-speed Counter ......................... 3-211

4.3.2

Preset Value of the High-speed Counter Comparator ........................... 3-211

4.3.3

Comparator Output ................................................................................ 3-211

4.3.4

Count Input Method ................................................................................ 3-212

4.3.5

Resetting the High-speed Counter ......................................................... 3-214

4.3.6

Differences with the CTH Instruction between the
Conventional and Visual KV Series ....................................................... 3-216

4.3.7

Applications of High-speed Counters ..................................................... 3-217

4.4

Expanded Functions of High-speed Counters

......................... 3-221

4.4.1

24-bit High-speed Counter ..................................................................... 3-221

4.4.2

Changing the Current Value of a 24-bit High-speed Counter ................ 3-223

4.4.3

Application Example of 24-bit High-speed Counter (single-phase input) 3-224

4.4.4

Ring Counter Function ........................................................................... 3-225

4.4.5

Applications of Ring Counters ................................................................ 3-226

4.5

Special Functions Using High-speed Counters

...................... 3-228

4.5.1

Specified Frequency Pulse Output Function .......................................... 3-228

4.5.2

Applications of the Specified Frequency Pulse Output .......................... 3-229

4.5.3

Frequency Counter Function .................................................................. 3-231

4.5.4

Applications of Frequency Counters ...................................................... 3-232

4.5.5

Cam Switch Function ............................................................................. 3-233

4.5.6

Application of the Cam Switch ............................................................... 3-236

4.6

Direct Clock Pulse Output

............................................................. 3-237

4.6.1

Outline of Direct Clock Pulse Output ...................................................... 3-237

4.6.2

Pulse Output Setting with the High-speed Counter Comparator ............ 3-238

4.7

Examples of Direct Clock Pulse Output

.................................... 3-242

4.7.1

Example of Outputting a Pulse with 1:1 ON/OFF Ratio ......................... 3-242

4.7.2

Example of Outputting a Pulse with Variable ON/OFF Ratio ................. 3-245

4.7.3

Example of Stopping the Pulse Output at a Specified Pulse Count ....... 3-249

4.7.4

Application of Direct Clock Pulse Output (Ramp-up/down control) ........ 3-251

Visual KV

Series

KVNKA Chap 04_1.p65

08.3.11, 0:06 PM

203

Advertising