KEYENCE Visual KV Series User Manual

Page 63

Advertising
background image

Visual KV Series

3-39

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 num-
bers 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

@DIV

@(FUN 11)

Instruction

Symbol

Mnemonic

Operand

Operand value

Function

Exec.time

(

µ

s)

Bytes

Page

DIVIDE

DIV

(FUN 11)

17.4 to 43.3

29.4 to 55.3

3 (6)

3 (16)

Divides content of internal
register by value specified
by operand and inputs
result back to same
register.

R No.,

DM No.,

TM xx,

#/$ constant,

#TMxx

DM0000 to

DM1999

TM00 to TM31

#00000 to

#65535

$0000 to

$FFFF

#TM00 to

#TM29

AND A

OR A

EXCLUSIVE

OR A

SHIFT

RIGHT A

SHIFT LEFT

A

ROTATE
RIGHT A

ROTATE

LEFT A

ANDA

(FUN 01)

@ANDA

@(FUN 01)

ORA

(FNC 31)

@ORA

@(FUN 31)

EORA

(FUN 15)

@EORA

@(FUN 15)

SRA

(FNC 41)

@SRA

@(FUN 41)

SLA

(FNC 40)

@SLA

@(FUN 40)

RRA

(FUN 37)

@RRA

@(FUN 37)

RLA

(FUN 35)

@RLA

@(FUN 35)

R No.,

DM No.,

TM xx,

#/$ constant,

#TMxx

R No.,

DM No.,

TM xx,

#/$ constant,

#TMxx

# constant

0000 to 17915

DM0000 to

DM1999

TM00 to TM31

#00000 to

#65535

$0000 to

$FFFF

#TM00 to

#TM29

0000 to 17915

DM0000 to

DM1999

TM00 to TM31

#00000 to

#65535

$0000 to

$FFFF

#TM00 to

#TM29

8.2 to 33.1

20.2 to 45.1

8.2 to 33.1

20.2 to 45.1

8.2 to 33.1

20.2 to 45.1

9.3 to 27.6

21.3 to 39.6

9.2 to 27.6

21.2 to 39.6

10.3 to 28.6

22.3 to 40.6

10.3 to 28.6

22.3 to 40.6

3 (8)

3 (18)

3 (8)

3 (18)

3 (8)

3 (18)

2 (6)

2 (16)

2 (6)

2 (16)

2 (6)

2 (16)

2 (6)

2 (16)

ANDs each of 16 bits of
internal register and that
of value specified by
operand, and inputs result
back to same register.

ORs each of 16 bits of
internal register and that
of value specified by
operand, and inputs result
back to same register.

EXCLUSIVE-ORs each of
16 bits of internal register
and that of value specified
by operand, and inputs
result back to same
register.

Moves content of internal
register serially left by
value specified by
operand.

Rotates contents of
internal register and carry
bit (2009) clockwise by
operand value.

Rotates contents of
internal register and carry
bit (2009) counterclock-
wise by operand value.

Moves content of internal
register serially right by
value specified by
operand.

3-159

3-161

3-164

3-166

#01 to #16

3-166

3-169

nnnn

DIV

nnnn

DIV

nnnn

ANDA

nnnn

ANDA

nnnn

ORA

nnnn

ORA

nnnn

EORA

nnnn

EORA

#dd

SRA

#dd

SRA

#dd
SLA

#dd
SLA

#dd

RRA

#dd

RRA

#dd

RLA

#dd

RLA

3-169

3-150

KVNKA Chap 02_1&2&3P.p65

08.3.11, 11:52 AM

39

Advertising