Rockwell Automation 1772-LS_LSP,D17726.8.6 PROG/OPER MANUAL-MINI PLC-2/05 User Manual

Page 78

Advertising
background image

Data Manipulation Instructions

Chapter 9

9Ć3

Editing a Get Instruction in a Partially Completed Rung
1.

Enter the next instruction.

2.

Position the cursor over the Get instruction you want to change.

3.

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

4.

Enter <address>.

5.

Enter <data> if appropriate.

Editing a Get or Put Instruction in a Completed Rung
1.

Position the cursor over the Get or Put instruction you want to change.

2.

Press -[G]-, -(PUT)-, or any other appropriate instruction type key.

3.

Enter <address>.

Important: Do not perform step 4 for a Put instruction.

4.

Enter <data> if appropriate.

There are three compare instructions:

equal

to

less

than

limit

test

Equal To

Purpose: An equal to comparison is made with the Get and Equ instructions.
The get value is the changing variable and is compared to the reference value of
the Equ instruction for an equal to condition. When the get value equals the equ
value, the comparison is true and logic continuity is established. It determines
the rung condition. Compares only the lower 12 bits to the immediately
preceding get instruction.

120

03

030

YYY

010

02

G

035

100

=

Reference Value

When YYY = 100, GET/EQU comparison is true and 010/02 is energized.

If the rung condition becomes:

True - If there is equality.
False - If there is no equality.

Compare Instructions

Advertising