
Data Manipulation and
Comparison Instructions
Chapter 12
12-3
Editing a Get Instruction on a Partially Completed Rung
1.
Enter the next instruction.
2.
Position the cursor over the GET instruction.
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.
2.
Press -[G]-, -(PUT)-, or any other appropriate instruction type key.
3.
Enter <address>.
Important: Step 4 is not needed for a PUT instruction.
4.
Enter <data> if appropriate.
There are four compare instructions:
Equal
To
Less
Than
Get
Byte
Limit
Test
An Equal To comparison is made with the Get and Equal To instructions.
The Get value is the changing variable and is compared to the reference
value of the Equal To instruction for an equal to condition. When the Get
value equals the Equal To value, the comparison is true and logic
continuity is established. It determines the rung condition. A Get/Equal
To compares only the lower 12 bits to the immediately preceding
Get instruction.
120
03
010
02
G
030
YYY
reference value
=
035
100
When YYY equals 100, the Get/Equal To comparison is true and 010/02
is energized.
Compare Instructions
Equal To