2 get byte and limit test instructions – Rockwell Automation 1772-LP3 PLC - 2/30 Programmable Controller Programming and Operations Manual User Manual
Page 129
Data Manipulation Instructions
Chapter 6
6Ć7
Figure 6.8
LessĆThan or EqualĆTo Comparison
|ą|
04
(ą)
03
120
010
| G |
YYY
030
| < |
237
040
Reference Value
When YYY
≤
237, GET/LESĆEQU comparison is true and 010/03 is energized.
| = |
237
040
Greater Than or Equal To – This comparison is made using the Get, Les
and Equ instructions. The Get value is assigned a reference value. The Les
and Equ values are changing values that are compared to the Get value
(Figure 6.9). When the Les and Equ values are greater than or equal to the
Get value, the comparison is true and logic continuity is established.
NOTE: Only one Get instruction is required for this parallel comparison.
The Les and Equ instructions are programmed on parallel branches.
Figure 6.9
GreaterĆThan or EqualĆTo Comparison
|ą|
05
(ą)
04
120
010
| G |
440
030
| < |
YYY
042
Reference Value
When YYY
≥
440, GET/LESĆEQU comparison is true and 010/04 is energized.
| = |
YYY
042
The Get Byte and Limit Test instructions are used together to compare
an octal value to upper and lower limits that are also octal values. These
values can range from 000
8
to 377
8
.
The Get Byte and Limit Test instructions are programmed in the condition
area of the ladder diagram rung. Together, they form a single condition for
6.2.2
Get Byte and Limit Test
Instructions