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

Page 164

Advertising
background image

Data Manipulation and

Comparison Instructions

Chapter 12

12-9

9.

Press -[=]-.

10.

Enter the same address as that entered for the Less Than instruction.

11.

Enter <reference value>.

12.

Press [

]

13.

Press -( )-.

14.

Enter <address>.

Editing the Operation

See the editing for the Get, Less Than, Equal To, and
branching instructions.

A Greater Than comparison is also made with the Get/Less Than pair of
instructions. This time the Get instruction BCD value is the reference and
the Less Than instruction BCD value is the changing value. The Less
Than value is compared with to the Get value for a greater than condition.
When the Less Than value is greater than the Get value, the comparison is
true and logic continuity is established.

120

03

030

YYY

010

02

G

010

000

<

reference value

If YYY is greater than 100 the Get/Greater Than comparison is true and
010/02 is energized.

Keystrokes

Enter a Greater Than comparison by performing the following steps.

1.

Press -[G]-.

2.

Enter <address>.

3.

Enter <reference value>.

4.

Press -[<]-.

5.

Enter <address>.

6.

Enter <reference value>.

Greater Than

Advertising