Data Manipulatuion and
Comparison Instructions
Chapter 12
12-8
You can perform four operations involving transfer and
comparison instructions.
equal to or less than
greater
than
equal to or greater than
get
byte/put
The Equal To/Less Than comparison is made using the Get, Less Than,
Equal To, and branching instructions. The Get value is the changing value.
The Less Than and Equal To instructions are assigned a reference value.
When the Get value is either less than or equal to the value at Less Than
and Equal To instructions, the comparison is true and logic continuity
is established.
120
04
030
YYY
010
02
G
037
237
<
037
237
=
If YYY is equal to or less than 237 the Get/Less Than or Equal To
comparison is true an 010/02 is energized.
Important: Only one Get instruction is required for a parallel
comparison. The Less Than and Equal To instructions are programmed in
parallel branches.
Keystrokes
Enter an Equal To or Less Than comparison by performing the
following steps.
1.
Press -[G]-.
2.
Enter <address>.
3.
Enter <reference value>.
4.
Press [
]
5.
Press -[<]-.
6.
Enter <address>.
7.
Enter <reference value>.
8.
Press [ ].
Operations Involving Transfer
and Comparison Instructions
Equal To or Less Than