Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 123

Advertising
background image

Chapter 8
Using Basic Instructions

8–4

Using AND

Use the AND instruction for normally open contacts placed in series with
any previous input instruction in the current rung or block.

Entering the Instruction

You enter the instruction from within the program monitor functional area.

P 0 0 0

I / 7

0

Using OR

Use the OR instruction for normally open contacts placed in parallel with any
previous input instruction in the current rung or block.

Entering the Instruction

You enter the instruction from within the program monitor functional area.

P 0 0 0

B / 0

1

LDI, ANI, and ORI are all normally closed instructions used in your ladder
program to determine if a bit is Off. When the instruction is executed, if the
bit addressed is off (0), then the instruction is evaluated as true. When the
instruction is executed, if the bit addressed is on (1), then the instruction is
evaluated as false.

Bit Address State

LDI, ANI, and ORI Instruction

0

True

1

False

Examples of devices that turn on or off include:

motor overload normally closed (N.C.) wired to an input (I/10)

an output wired to a pilot light (addressed as O/4)

a timer controlling a light (addressed as T3/DN)

8

AND

To access the AND instruction, press:

9

OR

To access the OR instruction, press:

1.54

False

True

1.72

LDI

1.94

2.12

ANI

]/[

Execution Times (

µ

sec) when:

Ladder representation:

1.94

2.12

ORI

Load Inverted (LDI),
And Inverted (ANI), and
Or Inverted (ORI)

Advertising