beautypg.com

2 instruction list [kv-300 series, kv-10/80, 1 basic instructions, 2 instruction list – KEYENCE Visual KV Series User Manual

Page 66

background image

KV-300 Series, KV-10/80

2.2 Instruction List

KV-300 Series,

3-42

2

Chapter 2 Instructions

2.2

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.

Abbreviations: R: Relay, T: Timer, C: Counter, #: Decimal, $: Hex.

2.2.1

Basic Instructions

KV-10/16/24/40/80

KV-300 Series, KV-10/80

nnnn

LOAD

nnnn

nnnn

nnnn

nnnn

nnnn

nnnn

nnnn

(SET)

nnnn

LD

R No.

T/C No.

LOAD BAR

LDB

AND

AND

AND BAR

ANB

OR

OR

OR BAR

ORB

AND LOAD

ANL

OR LOAD

ORL

OUT

OUT

R No.

OUT BAR

OUB

SET

SET

RESET

RES

0.1-s TIMER

TMR

T No.,

# preset

value

0.01-s

TIMER

TMH

(FNC49)

1-ms TIMER

TMS

(FNC51)

COUNTER

C

# preset
value, C

No., clock

source R

UP-DOWN
COUNTER

UDC

(FNC52)

C No.,

# preset

value

0000 to 2915

T000 to T063

C000 to C063

CTC0 to CTC3

0500 to 1915

2009

2300 to 2915

0500 to 1915

2009

2100 to 2915

T000 to T063

C000 to C063

0500 to 1915

2009

2100 to 2915

T000 to T063

C000 to C063

CTH0 to CTH1
CTC0 to CTC3

(RES)

nnnn

#ddddd

T xxx

#ddddd

xxx

H

#ddddd

xxx

S

nnnn

#ddddd
C xxx

UDCxxx

#ddddd

UP
DW
RES

000 to 063

#00000 to

#65535

#00000 to

65535

000 to 063

0000 to 6915

000 to 063

#00000 to

#65535

0000 to 6915

T000 to T119

C000 to C119

CTC0 to CTC3

0500 to 1915

2009

2300 to 6915

0500 to 1915

2009

2100 to 6915

T000 to T119

C000 to C119

0500 to 1915

2009

2100 to 6915

T000 to T119

C000 to C119

CTH0 to CTH1
CTC0 to CTC3

000 to 119

#00000 to

#65535

#00000 to

#65535

000 to 119

0000 to 6915

000 to 119

#00000 to

#65535

1.5 to 2.5

2.1 to 3.5

1.5 to 2.5

2.7 to 4.5

1.5 to 2.5

2.7 to 4.5

1.0 to 1.4

1.0 to 1.4

5.2 to 8.4

6.4 to 10.4

3.1 to 23.0

3.1 to 24.0

17.0 to 22.0

17.0 to 22.0

17.0 to 22.0

19.0 to 21.0

21.0 to 26.0

3 (4)

3 (6)

3 (4)

3 (8)

3 (4)

3 (8)

1 (2)

1 (2)

3 (13)

3 (17)

3 (8)

3 (8)

2 (5)

2 (5)

2 (5)

4 (7)

2 (5)

Connects N.O. contact
to bus.

Connects N.C. contact
to bus.

Connects N.O. contact
in series with previous
contact.
Connects N.C. contact
in series with previous
contact.
Connects N.O. contact
in parallel with previous
contact.
Connects N.C. contact
in parallel with previous
contact.
Connects in series
blocks made of one or
more contacts.
Connects in parallel
blocks made of one or
more contacts.
Outputs input ON/OFF
status to R coil.
Outputs inverted input

ON/OFF status to R
coil.

Forces R ON and holds
this status when input is
ON.

Forces R/T/C OFF
when input is ON.

16-bit on-delay T that
counts down in 0.1-s
decrements.
16-bit on-delay T that
counts down in 0.01-s
decrements.
16-bit on-delay T that
counts down in 1-ms
decrements.

Sets 16-bit up-counter.

Sets a 16-bit up-down
counter.

Page

3-57

3-57

3-58

3-58

3-60

3-60

3-61

3-63

3-65

3-65

3-66

3-66

3-67

3-68

3-69

3-72

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

3-76

KVNKA Chap 02_1&2&3P.p65

08.3.11, 11:53 AM

42