beautypg.com

KEYENCE Visual KV Series User Manual

Page 74

background image

KV-300 Series, KV-10/80

2.2 Instruction List

KV-300 Series,

3-50

2

Chapter 2 Instructions

KV-300

Instruction

Symbol

Mnemonic Operand

Operand value

Exec.time

(

µ

s)

Bytes

Function

Page

KV-300

DATA

MEMORY

WRITE

TRIMMER

SETTING

LOAD A

STORE A

DW

TMIN

[FNC 50]

@TMIN

@[FNC 50]

LDA

[FNC 23]

@LDA

@[FNC 23]

STA

[FNC 42]

@STA

@[FNC 42]

#/$

constant,

DM No.

Trimmer

No.

R No.,

C/T No.,

DM/TM

No.,

#/$

constant,

#TMxx

R No.,

C/T No.,

DM/TM

No.,

#/$

constant,

#TMxx

nnnn:

#0000 to #65535

$0000 to $FFFF

DMmmmm:

DM0000 to DM9999

0, 1

0000 to 0009

0500 to 17915

T000 to T249

C000 to C249

CTH0 to CTH1

DM0000 to DM9999

TM00 to TM31

#00000 to #65535

$0000 to $FFFF

#TM00 to #TM29

0500 to 1915

2100 to 17915

T000 to T249

C000 to C249

CTC0 to CTC3

DM0000 to DM9999

TM00 to TM29

#TM00 to #TM29

0.60 to

1.40

5.10 to

5.60

2.00 to

5.70

0.30 to

28.00

2.30 to

30.00

0.20 to

30.00

2.20 to

32.00

5 (11)

1 (11)

1 (25)

3 (12)

3 (26)

3 (12)

3 (26)

Writes constant into
data memory.

Converts trimmer
rotation angle into 0 to
249 and inputs it into
internal register.

Inputs value specified
by operand into internal
register or inputs
current value when T/C
is specified as operand.

Transfers content of
internal register to
location specified by
operand, or changes
preset value when T/C
is specified as operand.

3-136

3-138

3-140

3-140

< DW >

DMmmmm

nnnn

< TMIN >

n

↑ TMIN >

n

< LDA >

nnnn

↑ LDA >

nnnn

< STA >

nnnn

↑ STA >

nnnn

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

DEMULTI-

PLEXER

TRANSFER

BCD

TRANSFER

BIN

ASCII

CONVERT

REVERSE

ASCII

CONVERT

SQUARE

ROOT

DMX

[FNC 12]

@DMX

@[FNC 12]

TBCD

[FNC 47]

@TBCD

@[FNC 47]

TBIN

[FNC 48]

@TBIN

@[FNC 48]

ASC

[FNC 02]

@ASC

@[FNC 02]

RASC

[FNC 32]

@RASC

@[FNC 32]

ROOT

[FNC 36]

@ROOT

@[FNC 36]

28.0 to 30.0

40.0 to 44.0

19.0 to 21.0

31.0 to 35.0

18.0 to 20.0

30.0 to 34.0

8.0

20.0 to 22.0

12.0 to 14.0

24.0 to 28.0

102.0 to

103.0

114.0 to

117.0

1 (3)

1 (10)

1 (3)

1 (10)

1 (3)

1 (10)

1 (3)

1 (10)

1 (3)

1 (10)

1 (3)

1 (10)

Converts position of
highest order bit with
1 in internal register
into 4-bit data.

Converts content of
internal register (16-
bit binary) into 4-digit
BCD data.

Converts content of
internal register (4-
digit BCD) into 16-bit
binary data.

Converts content of
lower order byte of
internal register into
2-digit ASCII code.

Converts 2-digit ASCII
code into one byte
data.

Takes square root of 32-
bit data (TM00: higher
order byte, internal
register: lower order
byte) and inputs result
back to same register.

3-176

3-180

3-180

3-183

3-183

3-185

< DMX >

↑ DMX >

↑ TBCD>

< TBIN >

↑ TBIN>

< ASC >

↑ ASC >

↑ RASC>

↑ ROOT>

KVNKA Chap 02_1&2&3P.p65

08.3.11, 11:53 AM

50