beautypg.com

Ld: load ldb: load bar – KEYENCE Visual KV Series User Manual

Page 81

background image

2.4 Instruction Details

1

2

3-57

Chapter 2 Instructions

Example

Coding

When input relay 0000 turns ON, output relay 0500 turns ON.
When input relay 0001 turns OFF, output relay 0501 turns ON.

Description

LD and LDB instructions are used to connect a contact to the bus.

LD and LDB instructions are also used to separate program blocks when ANL or
ORL instruction is used.

Operands

Key operation

Example: LD C014

LD: Load

LDB: Load Bar

Connects N.O. contact to bus.

Connects N.C. contact to bus.

L D

7

LDB

4

nnnn

nnnn

0000

0500

0001

0501

Line No.

Instruction

Operand

0000

LD

0000

0001

OUT

0500

0002

LDB

0001

0003

OUT

0501

(

)

L D

7

Operand

ENT

R-SRCH

ENT

R-SRCH

L D

7

LDB

4

LDB

4

CTR

(

C

)

SET

1

:

:

LD / LDB

Visual KV

KV-300

KV-10/16

KV-24/40/80

0000 to 17915

0000 to 0009

0000 to 2915

0000 to 6915

T000 to T249

0500 to 17915

T000 to T063

T000 to T119

C000 to C249

T000 to T249

C000 to C063

C000 to C119

CTC0 to CTC3

C000 to C249

CTC0 to CTC3

CTC0 to CTC3

CTC0 to CTC3

KVNKA Chap 02_4aP.p65

08.3.11, 11:57 AM

57