12ć4 – Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual

Page 159

Advertising
background image

Data Manipulatuion and

Comparison Instructions

Chapter 12

12-4

If the rung condition becomes:

True

If there is equality.

False

If there is no equality.

Keystrokes

Enter an Equal To instruction by performing the following steps.

1.

Press -[=]-.

2.

Enter <address>.

3.

Enter <reference value> if appropriate.

Removing an Equal To Instruction

Remove an Equal To instruction by performing the following steps.

1.

Position the cursor over the Equal To instruction you are going
to remove.

2.

Press [Remove] -[=]-.

Editing a Completed Rung

Edit an Equal To instruction by performing the following steps.

1.

Position the cursor over the Equal To instruction.

2.

Press -[=]- or any other appropriate instruction type key.

3.

Enter <address>.

4.

Enter <reference value> if appropriate.

The Less Than instruction compares the data in your specified address with
the data stored at another address in memory. It determines the rung
condition. A Less Than instruction compares only the lower 12 bits to the
immediately preceding Get instruction.

It is programmed after the Get instruction in the condition side of the
ladder diagram rung.

120

01

010

02

G

030

YYY

reference value

=

037

654

Less Than

Advertising