Data Manipulatuion and
Comparison Instructions
Chapter 12
12-6
Programmed with a Get Byte instruction located in the condition area of
the ladder diagram.
Do not place compare instructions between the Get Byte and
Limit Test instruction.
The Get Byte and Limit Test instructions work only with octal values
(ranging from 000 to 377).
There are two cases for comparison:
Case 1. Lower Limit
YYY
Upper Limit
120
06
0451
010
05
B
050
L
200
YYY
8
170
YYY
8
377
8
200
8
170
8
000
False
False
True
If YYY is equal to or greater than 170 and equal to or less than 200, the
comparison is true and logic continuity is established. If YYY is less than
170 or greater than 200, the comparison is false and logic continuity is
not established.