beautypg.com

Or: or orb: or bar – KEYENCE Visual KV Series User Manual

Page 84

background image

2.4 Instruction Details

3-60

2

Chapter 2 Instructions

OR: Or

ORB: Or Bar

Connects N.O. contact in parallel with
previous contact.

Connects N.C. contact in parallel with
previous contact.

Example

Coding

The OR and ORB instructions are used when at least one of the conditions (here,
two sets of conditions: <0003: ON, 0004: ON>, and <0000: ON, 0001: ON, 0002:
OFF> are given) must be satisfied.

Description

The OR and ORB instructions are used to connect in parallel the contacts for
these instructions with contacts on the previous line. An LD or LDB instruction is
used together with the OR and ORB instructions.

As many contacts as desired can be connected in parallel provided they are used
in the same program.

Note: Output circuits (except for and )
cannot be included in the parallel connection.

Operands

Key operation

Example: OR T018

O R

9

ORB

6

nnnn

nnnn

0000

0003

0500

0004

0002

0001

Line No.

Instruction

Operand

0000

LD

0000

0001

OR

0000

0002

ORB

0002

0003

AND

0003

0004

OR

0004

0005

OUT

0500

(

)

SET

1

TMR

(

T

)

AND

8

O R

9

O R

9

ORB

6

Operand

ENT

R-SRCH

ENT

R-SRCH

:

:

OR / ORB

0000

0500

0501

0001

To turn ON 0500,

0000 must be ON or

0001 ON or

0002 OFF.

0003 must be ON, and

or,

0004 must be ON.

Incorrect

Visual KV

KV-300

KV-10/16

KV-24/40/80

0000 to 6915

0000 to 0009

0000 to 2915

0000 to 6915

T000 to T119

0500 to 17915

T000 to T063

T000 to T119

C000 to C119

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

60