beautypg.com

Chapter 3 interrupts, Chapter 3, Interrupts – KEYENCE Visual KV Series User Manual

Page 215: Visual kv series

background image

Chapter 3

Interrupts

The interrupt processing function executes an interrupt program when an external
input or request from the high-speed counter comparator (interrupt factor) is encoun-
tered during KV operation.
This chapter describes the types of interrupt factors as well as inputs and outputs
encountered during interrupt processing.

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

3.1

Interrupt Instructions

...................................................................... 3-192

3.2

Interrupt Processing

....................................................................... 3-194

3.2.1

Interrupt Processing ............................................................................... 3-194

3.2.2

Types of Interrupts ................................................................................. 3-195

3.2.3

Interrupt Priority ...................................................................................... 3-196

3.2.4

Interrupt Program ................................................................................... 3-196

3.3

Direct Input/Output

.......................................................................... 3-197

3.3.1

Direct Input ............................................................................................. 3-197

3.3.2

Direct Output .......................................................................................... 3-197

3.4

Applications of Interrupt Programs

............................................ 3-198

3.4.1

Interrupt with a Signal Converter ............................................................ 3-198

3.4.2

Interrupt with a High-speed Counter ...................................................... 3-199

3.4.3

Measuring the ON Time of High-speed Pulses ...................................... 3-200

3.4.4

Measuring the Period in which a Target Passes between
Two Points ............................................................................................. 3-201

Visual KV

Series

KVNKA Chap 03.p65

08.3.11, 0:05 PM

191