beautypg.com

KEYENCE Visual KV Series User Manual

Page 97

background image

2.4 Instruction Details

1

2

3-73

Chapter 2 Instructions

Details of counter

Extended ladder

The counter for the KV Series supports the extended ladder method.

The extended ladder allows you to connect contacts or output coils after the
counter in series, reducing the number of ladder program lines.

In the following example, the counter starts counting when counter input relay 0004
turns ON. When the current counter value reaches "300", output relay 0500 turns
ON.

Coding

➮ "CON instruction" (p. 3-102)

For details of the extended ladder, refer to "1.5 Extended Ladder Diagrams"
(p.3-29).

Operands

Key operation

0002

C002

0500

0004

#00300

C002

Line No.

Instruction

Operand

0000

LDB

0002

0001

C

002 #00300 0004

0002

CON

0003

AND

C002

0004

OUT

0500

0001

2007

0000

#00010

C005

C

CTR

(

C

)

Operand

(Counter No.)

Operand

(Preset value)

Operand

(Count input)

ENT

R-SRCH

KV counter

Visual KV

KV-300

KV-10/16

KV-24/40/80

No.: 000 to 249

No.: 000 to 249

No.: 000 to 063

No.: 000 to 119

Count input:

Count input:

Count input:

Count input:

0000 to 17915

0000 to 0009,

0000 to 2915

0000 to 6915

0500 to 17915

Preset value:

Preset value:

Preset value:

Preset value:

#00001 to #65535

#00000 to #65535

#00000 to #65535

#00000 to #65535

KVNKA Chap 02_4aP.p65

08.3.11, 11:58 AM

73