KEYENCE Visual KV Series User Manual

Page 75

Advertising
background image

KV-300 Series, KV-10/80

3-51

1

2

Chapter 2 Instructions

2.2 Instruction List

KV-300

Instruction

Symbol

Mnemonic Operand

Operand value

Exec.time

(

µ

s)

Bytes

Function

Page

COMPARE

ADD

SUBTRACT

MULTIPLY

DIVIDE

AND A

OR A

EXCLUSIVE

OR A

CMP

[FNC 04]

@CMP

@[FNC 04]

ADD

[FNC 00]

@ADD

@[FNC 00]

SUB

[FNC 46]

@SUB

@[FNC 46]

MUL

[FNC 28]

@MUL

@[FNC 28]

DIV

[FNC 11]

@DIV

@[FNC 11]

ANDA

[FNC 01]

@ANDA

@[FNC 01]

ORA

[FNC 31]

@ORA

@[FNC 31]

EORA

[FNC 15]

@EORA

@[FNC 15]

DM/TM

No.,

#/$

constant,

#TMxx

DM/TM

No.,

#/$ No.,

#TMxx

R No.,

DM/TM

No.,

#/$ No.,

#TMxx

R No.,

DM/TM

No.,

#/$ No.,

#TMxx

DM0000 to DM9999

TM00 to TM31

#00000 to #65535

$0000 to $FFFF

#TM00 to #TM29

DM0000 to DM9999

TM00 to TM31

#00000 to #65535

$0000 to $FFFF

#TM00 to #TM29

0000 to 0009

0500 to 17915

DM0000 to DM9999

TM00 to TM31

#00000 to #65535

$0000 to $FFFF

#TM00 to #TM29

0000 to 0009

0500 to 17915

DM0000 to DM9999TM00 to

TM31

#00000 to #65535

$0000 to $FFFF

#TM00 to #TM29

9.20 to

36.00

11.20 to

38.00

7.70 to

35.00

9.70 to

37.00

8.40 to

35.00

10.40 to

37.00

9.80 to

37.00

11.80 to

39.00

13.70 to

41.00

15.70 to

42.00

6.90 to

33.00

8.90 to

35.00

6.90 to

33.00

8.90 to

35.00

6.90 to

33.00

8.9 to
35.00

3 (12)

3 (26)

3 (12)

3 (26)

3 (12)

3 (26)

3 (12)

3 (26)

3 (12)

3 (26)

3 (12)

3 (26)

3 (12)

3 (26)

3 (12)

3 (26)

Compares content of
internal register and
value specified by
operand.

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

Subtracts value
specified by operand
from content of register
and inputs result back
to same register.

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

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

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.

3-146

3-150

3-150

3-150

3-150

3-159

3-161

< CMP >

nnnn

↑ CMP >

nnnn

< ADD >

nnnn

↑ ADD >

nnnn

< SUB >

nnnn

↑ SUB >

nnnn

< MUL >

nnnn

↑ MUL >

nnnn

< DIV >

nnnn

↑ DIV >

nnnn

<ANDA>

nnnn

↑ANDA>

nnnn

< ORA >

nnnn

↑ ORA >

nnnn

<EORA>

nnnn

↑EORA>

nnnn

3-164

KVNKA Chap 02_1&2&3P.p65

08.3.11, 11:53 AM

51

Advertising