KEYENCE Visual KV Series User Manual

Page 164

Advertising
background image

2.4 Instruction Details

3-140

2

Chapter 2 Instructions

The LDA instruction inputs each data item to the internal register.
The STA instruction transfers the contents of the internal register to the specified
destination.

➮ "Internal Register" (p. 3-126)

Operands

Key operation

LDA: Load A

@LDA: Load A

STA: Store A

@STA: Store A

Inputs value specified by operand to internal
register.

Transfers contents of internal register to
destination specified by operand.

@

#,$

FUN

FUN

@

#,$

FUN

FUN

LDB

4

ANL

2

ORL

3

ORL

3

LDB

4

ANL

2

ORL

3

ORL

3

nnnn

STA

nnnn

STA

nnnn

LDA

nnnn

LDA

@

#,$

FUN

FUN

@

#,$

FUN

FUN

ORL

3

LDB

4

ANL

2

ANL

2

ENT

R-SRCH

ENT

R-SRCH

Operand

ENT

R-SRCH

ENT

R-SRCH

Operand

(#XXXXX)
($XXXXX)

T

XXX

C

XXX

DM

XXXX

TM

XX

XXXX

1

2

3

T

XXX

C

XXX

DM

XXXX

TM

XX

XXXX

5

6

7

4

LDA

STA

Constant

Decimal
Hexadecimal

T/C current
value

Data memory
Temporary memory

Relay No.

Relay No.

Storage

Transfer

Destination

Internal register

T/C preset
value

Data memory
Temporary memory

Relay No.

Input

Source

(Data type: operand)

Relay No.

(Data type: operand)

LDA / @LDA / STA @STA

Visual KV

KV-300

KV-10/16

KV-24/40/80

LDA

STA

LDA

STA

LDA

STA

LDA

STA

0000 to

0500 to

0000 to

0000 to

0000 to

17915

1915

0009

2915

6915

T000 to

2100 to

0500 to

0500 to

T000 to

0500 to

T000 to

0500 to

T249

17915

17915

1915

T063

1915

T119

1915

(Current

value)

C000

T000 to

T000 to

2100 to

C000 to

2100 to

C000 to

2100 to

to 249

T249

T249

17915

C063

2915

C119

6915

(Current

(Preset

value)

value)

CTH0 to

C000

C000 to

T000 to

CTH0 to

T000 to

CTH0 to

T000 to

CTH1

to C249

C249

T249

CTH1

T063

CTH1

T119

(Preset

value)

DM0000 to CTC0 to

CTH0 to

C000 to

DM0000 to

C000 to

DM0000 to

C000 to

DM1999

CTC3

CTH1

C249

DM0999

C063

DM1999

C119

TM00 to DM0000 to DM0000 to

CTC0 to

TM00 to

CTC0 to

TM00 to

CTC0 to

TM31

DM1999

DM9999

CTC3

TM31

CTC3

TM31

CTC3

#00000 to

TM00

TM00 to

DM0000 to #00000 to DM0000 to #00000 to DM0000 to

#65535

to TM29

TM31

DM9999

#65535

DM0999

#65535

DM1999

$0000 to

#TM00 to #00000 to

TM00 to

$0000 to

TM00 to

$0000 to

TM00 to

$FFFF

#TM29

#65535

TM29

$FFFF

TM29

$FFFF

TM29

#TM00 to

$0000 to

#TM00 to

#TM00 to #TM00 to #TM00 to

#TM00 to

#TM29

$FFFF

#TM29

#TM29

#TM29

#TM29

#TM29

#TM00 to

#TM29

KVNKA Chap 02_4cP.p65

08.3.11, 0:02 PM

140

Advertising