KEYENCE Visual KV Series User Manual

Page 73

Advertising
background image

KV-300 Series, KV-10/80

3-49

1

2

Chapter 2 Instructions

2.2 Instruction List

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

AND A

OR A

EXCLU-

SIVE

OR A

SHIFT

RIGHT A

SHIFT

LEFT A

ROTATE
RIGHT A

ROTATE

LEFT A

COMPLE-

MENT

INCRE-

MENT

MEMORY

DECRE-

MENT

MEMORY

MULTI-

PLEXER

ANDA

[FNC 01]

@ANDA

@[FNC 01]

ORA

[FNC 31]

@ORA

@[FNC 31]

EORA

[FNC 15]

@EORA

@[FNC 15]

SRA

[FNC 41]

@SRA

@[FNC 41]

SLA

[FNC 40]

@SLA

@[FNC 40]

RRA

[FNC 37]

@RRA

@[FNC 37]

RLA

[FNC 35]

@RLA

@[FNC 35]

COM

[FNC 05]

@COM

@[FNC 05]

INC

[FNC 19]

@INC

@[FNC 19]

DEC

[FNC 07]

@DEC

@[FNC 07]

MPX

[FNC 27]

@MPX

@[FNC 27]

R No.,

DM/TM No.,

#/$ No.,

#TMxx

R No.,

DM/TM No.,

#/$ No.,

#TMxx

# constant

DM/TM No.

# constant

0000 to 2915

DM0000 to

DM0999

TM00 to TM31

#00000 to

#65535

$0000 to

$FFFF

#TM00 to

#TM29

0000 to 2915

DM0000 to

DM0999

TM00 to TM31

#00000 to

#65535

$0000 to

$FFFF

#TM00 to

#TM29

#01 to #16

DM0000 to

DM0999

TM00 to TM29

#0 to #3

0000 to 6915

DM0000 to

DM1999

TM00 to TM31

#00000 to

#65535

$0000 to

$FFFF

#TM00 to

#TM29

0000 to 6915

DM0000 to

DM1999

TM00 to TM31

#00000 to

#65535

$0000 to

$FFFF

#TM00 to

#TM29

DM0000 to

DM1999TM00

to TM29

11.0 to 64.0

23.0 to 78.0

11.0 to 63.0

23.0 to 77.0

10.0 to 63.0

22.0 to 77.0

11.0 to 28.0

23.0 to 42.0

10.0 to 28.0

22.0 to 42.0

12.0 to 30.0

24.0 to 44.0

12.0 to 29.0

24.0 to 43.0

5.0 to 6.0

17.0 to 20.0

12.0 to 15.0

24.0 to 29.0

14.0 to 17.0

26.0 to 31.0

24.0 to 25.0

36.0 to 39.0

3 (5)

3 (12)

3 (5)

3 (12)

3 (5)

3 (12)

2 (4)

2 (11)

2 (4)

2 (11)

2 (4)

2 (11)

2 (4)

2 (11)

1 (3)

1 (10)

3 (5)

3 (12)

3 (5)

3 (12)

1 (4)

1 (11)

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.

Moves content of
internal register serially
right, allowing each bit
that leaves right end to
enter carry bit and then
leftmost bit.

Moves content of
internal register serially
left, allowing each bit
that leaves left end to
enter carry bit and then
rightmost bit.

Inverts content of
each bit in internal
register.

Adds 1 to content of
data memory
specified by operand.

Subtracts 1 from
content of data
memory specified by
operand.

Converts 4-bit data
(specified by
operand) of internal
register into 16bit
data.

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

3-159

3-161

3-164

3-166

3-166

3-169

3-169

3-171

3-172

3-172

<ANDA>

nnnn

↑ANDA>

nnnn

< ORA >

nnnn

↑ ORA >

nnnn

<EORA>

nnnn

↑EORA>

nnnn

< SRA >

#dd

↑ SRA >

#dd

< SLA >

#dd

↑ SLA >

#dd

< RRA >

#dd

↑ RRA >

#dd

< RLA >

#dd

↑ RLA >

#dd

< COM >

↑ COM >

< INC >

nnnn

↑ INC >

nnnn

< DEC >

nnnn

↑ DEC >

nnnn

< MPX >

#n

↑ MPX >

#n

3-176

KVNKA Chap 02_1&2&3P.p65

08.3.11, 11:53 AM

49

Advertising