Applications of orl instruction – KEYENCE Visual KV Series User Manual

Page 88

Advertising
background image

2.4 Instruction Details

3-64

2

Chapter 2 Instructions

Applications of ORL Instruction

Coding (1)

Coding (2)

The ORL instruction can be used as many times as desired. Note, however, that
in example (2) above, ORL is entered one less time than the number of blocks to
be connected.

Also, ORL can be used only 8 times or less in example (2), whereas in example
(1) it can be used as many times as desired.

Note: "LOGIC ERROR" is displayed on the programmer when ORL is used 9 times
or more in example (2).

0000

0001

0500

0003

0002

0005

0004

Line No.

Instruction

Operand

0000

LD

0000

0001

AND

0001

0002

LD

0002

0003

AND

0003

0004

ORL

0005

LD

0004

0006

AND

0005

0007

ORL

0008

OUT

0500

Line No.

Instruction

Operand

0000

LD

0000

0001

AND

0001

0002

LD

0002

0003

AND

0003

0004

LD

0004

0005

AND

0005

0006

ORL

0007

ORL

0008

OUT

0500

Block

Block

Block

ORL

KVNKA Chap 02_4aP.p65

08.3.11, 11:57 AM

64

Advertising