Greater than or equal (geq), Entering the instruction – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual
Page 159
![background image](/manuals/579170/159/background.png)
Chapter 9
Using Comparison Instructions
9–8
Use the GEQ instruction to test whether one value (source A) is greater than
or equal to another (source B). If the value at source A is greater than or
equal to the value of source B, the instruction is logically true. If the value at
source A is less than the value of source B, the instruction is logically false.
Source A must be a word address. Source B can be either a constant or word
address. Negative integers are stored in two’s complement form.
Entering the Instruction
HHP Display
Mnemonic
Function
Code
Use This Instruction When the Input:
GEQ
LD GEQ
65
appears first on a rung or block
GEQ
AND GEQ
66
is placed in series with any previous input
instruction in the current rung or block
GEQ
OR GEQ
67
is placed in parallel with any previous in-
put instruction in the current rung or block
You enter the instruction from within the program monitor functional area.
The example below shows how to enter the LD GEQ instruction. Use the
same procedure to enter the other GEQ instructions, only substitute the
function code with one from the table above.
P 0 0 0
G E Q
S R C A
N 1 1
0
P 0 0 0
G E Q
S R C B
1 0 0
24.00
False
23.60
True
6.60
LD GEQ
7.00
AND GEQ
24.00
7.00
OR GEQ
GEQ
GRTR THAN OR EQUAL
Source A
N7:11
0
Source B
100
Execution Times (
µ
sec) when:
Ladder representation:
Greater Than or Equal (GEQ)
5
6
FUN
ENT
To enter the function code, press: