4 interrupt instructions – KEYENCE Visual KV Series User Manual

Page 78

Advertising
background image

KV-300 Series, KV-10/80

2.2 Instruction List

KV-300 Series,

3-54

2

Chapter 2 Instructions

2.2.4

Interrupt Instructions

KV-10/16/24/40/80

KV-300

Instruction

Symbol

Mnemonic

Operand

Operand value

Exec.time

(

µ

s)

Bytes

Function

Page

INTERRUPT

DISABLED

INTERRUPT

ENABLED

INTERRUPT

RETURN

INTERRUPT

DI

[FNC 08]

EI

[FNC 13]

INT

[FNC 20]

RETI

[FNC 34]

R No.

Comparator

No.

000 to 003

CTC0 to CTC3

3.20

5.80

40.00 to

80.00

40.00 to

80.00

60 to 100

1 (9)

1 (0)

1 (0)

1 (0)

1 (0)

Disables execution
of interrupt.

Enables execution
of interrupt.

Executes instructions
between INT and
RETI at rising edge
of any of input 000 to
003 or at falling edge
of 003.

Used with compara-
tors CTC0 to CTC3
and executes
instructions between
INT and RETI.

Represents end of
interrupt.

3-193

3-193

3-192

3-192

3-192

< DI >

< EI >

INT
nnn

INT

CTCn

RETI

KV-300

KV-10/16/24/40/80

Instruction

Symbol

Mnemonic Operand

Operand value

KV-10/16

Operand value

KV-24/40/80

Exec.time

(

µ

s)

Bytes

Function

Page

INTERRUPT

DISABLED

INTERRUPT

ENABLED

INTERRUPT

RETURN

INTERRUPT

DI

[FNC 08]

EI

[FNC 13]

INT

[FNC 20]

RETI

[FNC 34]

R No.

Comparator

No.

000 to 003

CTC0 to CTC3

3.0 to 4.6

3.0 to 4.6

35.0 to 48.0

35.0 to

48.8

20.0 to

23.0

1 (4)

1 (4)

1 (8)

1 (3)

Disables execution
of interrupt.

Enables execution
of interrupt.

Executes instruc-
tions between INT
and RETI at rising
edge of any of input
000 to 003 or at
falling edge of 003.

Used with compara-
tors CTC0 to CTC3
and executes
instructions between
INT and RETI.

Represents end of
interrupt.

3-193

3-193

3-192

3-192

3-192

< DI >

< EI >

INT
nnn

INT

CTCn

RETI

KVNKA Chap 02_1&2&3P.p65

08.3.11, 11:53 AM

54

Advertising