beautypg.com

4 interrupt instructions, 5 function no. list (alphabetical order) – KEYENCE Visual KV Series User Manual

Page 65

background image

Visual KV Series

3-41

1

2

Chapter 2 Instructions

2.1 Instruction List

Number of bytes represents the memory capacity required for each instruction.

Number in ( ) represents the memory capacity required for object code of each
instruction.

All operand values are shown in normal notation. The corresponding relay
numbers in X-Y-M notation are shown below:

Normal notation

X-Y-M notation

0000 to 0415

X000 to X04F

0500 to 0915

Y050 to Y09F

1000 to 6915

M1000 to M6915

7000 to 17915

X700 to X174F or Y750 to Y179F

2.1.5

Function No. List (Alphabetical order)

The following list shows the function Nos. used to enter instructions with the KV-
P3E(01) handheld programmer.

➮ Refer to "Chapter 6 Handheld Programmer" on page 1-195 for details.

Reference: To find function No. assigned to desired function:
1. Press the [FUN] key.
2. When the cursor appears at the position where the function No. is to be entered,

press the

ON

or

OFF

key and scroll the functions and assigned Nos. to find the

desired function.

2.1.4

Interrupt Instructions

Instruction

Symbol

Mnemonic

Operand

Operand value

Function

Exec.time

(

µ

s)

Bytes

Page

INTERRUPT

DISABLED

INTERRUPT

ENABLED

INTERRUPT

RETURN

INTERRUPT

DI

(FUN 08)

EI

(FUN 13)

INT

(FUN 20)

RETI

(FUN 34)

R No.

Comparator

No.

000 to 003

CTC0 to

CTC3

2.2

4.0

60.0 to

90.0

60.0 to

90.0

18.0 to

22.0

1 (12)

1 (10)

1 (8)

1 (4)

Disables execution of
interrupt.

Enables execution of
interrupt.

Executes interrupt
instructions between INT
and RETI at rising/falling
edge of input relays 0000
through 0003.

Used with comparators
CTC0 to CTC3 and
executes instructions
between INT and RETI.

Represents end of
interrupt.

3-193

3-193

3-192

3-192

1 (8)

3-192

DI

EI

INT

nnnn

INT

CTCn

RETI

.

o

N

n

o

i

t

c

n

u

F

n

o

i

t

c

u

r

t

s

n

I

0

0

D

D

A

1

0

A

D

N

A

2

0

C

S

A

3

0

L

L

A

C

4

0

P

M

C

5

0

M

O

C

6

0

N

O

C

7

0

C

E

D

8

0

I

D

9

0

D

F

I

D

0

1

U

F

I

D

1

1

V

I

D

2

1

X

M

D

.

o

N

n

o

i

t

c

n

u

F

n

o

i

t

c

u

r

t

s

n

I

6

2

W

S

M

E

M

7

2

X

P

M

8

2

L

U

M

9

2

T

X

E

N

0

3

P

O

N

1

3

A

R

O

2

3

C

S

A

R

3

3

T

E

R

4

3

1

T

E

R

5

3

A

L

R

6

3

T

O

O

R

7

3

A

R

R

8

3

N

B

S

.

o

N

n

o

i

t

c

n

u

F

n

o

i

t

c

u

r

t

s

n

I

3

1

I

E

4

1

S

D

N

E

5

1

A

R

O

E

6

1

R

O

F

7

1

Y

E

K

H

8

1

P

S

H

9

1

C

N

I

0

2

T

N

I

1

2

P

M

J

2

2

P

E

E

K

3

2

A

D

L

4

2

C

M

5

2

R

C

M

.

o

N

n

o

i

t

c

n

u

F

n

o

i

t

c

u

r

t

s

n

I

9

3

T

F

S

0

4

A

L

S

1

4

A

R

S

2

4

A

T

S

3

4

E

T

S

4

4

G

T

S

5

4

P

T

S

6

4

B

U

S

7

4

D

C

B

T

8

4

N

I

B

T

9

4

H

M

T

0

5

N

I

M

T

1

5

S

M

T

2

5

C

D

U

KVNKA Chap 02_1&2&3P.p65

08.3.11, 11:53 AM

41