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

Data Manipulation Instructions
Chapter 9
9Ć7
If YYY is equal to or less than 200 and equal to or greater than 170, the
comparison is false and logic continuity is not established. If YYY
8
is
greater than 200 or less than 170, the comparison is true and logic continuity
is established.
Keystrokes: You enter a Limit Test instruction by performing the
following steps.
1.
Press -[L]-.
2.
Enter <address>.
3.
Enter <upper limit>.
4.
Enter <lower limit>.
Editing a Completed Rung
You edit the Limit Test comparison by performing the following steps.
1.
Press -[L]-.
2.
Enter <address>.
3.
Enter <upper limit>.
4.
Enter <lower limit>.
You can perform five operations involving transfer and comparison instructions.
equal to or less than
greater
than
equal to or greater than
get
byte
get
byte/put
Equal To or Less Than
Purpose: The equal to/les than comparison is made using the Get, Les, Equ and
branching instructions. The get value is the changing value. The Les and Equ
instructions are assigned a reference value. When the get value is either less
than or equal to the value at Les and Equ instructions, the comparison is true
and logic continuity is established.
Operations Involving Transfer
and Comparison Instructions