Programmer (HHP) User guide

Chapter 9
Using Comparison Instructions
9–2
Comparison Instructions
HHP
Display
Mnemonic
Function
Code
Name Purpose Page
MEQ
LD MEQ 68
Mas e
es r i s f a es see e er e are e a ares
MEQ
AND MEQ 69
Mas
k
e
d
Comparison for
a
T
es
t po
r
t
i
on
s
o
f
two v
a
lu
es
to
see
wh
e
th
er
th
e
y
are
e
qu
a
l. Comp
ares
16-bit data of a source address to 16-bit data at a reference address
raas
9–9
MEQ
OR MEQ 70
Equ
a
l th
r
ough
a
m
as
k.
9–9
LIM
LD LIM 71
LIM
AND LIM 72
Limit Test Test whether one value is within the limit range of two other values. 9–10
LIM
OR LIM 73
Comparison instructions are used to test pairs of values to condition the
logical continuity of a rung. As an example, suppose a LES instruction is
presented with two values. If the first value is less than the second, then the
comparison instruction is true.
To learn more about the compare instructions, we suggest that you read the
Compare Instructions Overview that follows.
The following general information applies to comparison instructions.
Entering the Instruction
The following items apply when entering the instructions:
Whenever you see asterisks on the display, the HHP is waiting for data
entry (i.e., a number).
You can return to previously entered operands by pressing this key:
Then if you want to edit that operand, press DEL or FUN-DEL and enter
new parameters. Press
ENT to accept the operand and move on to the next
one. Once the entire instruction is entered, if you want to edit the
instruction’s parameters you must go into the overwrite mode. (See page
17–4.)
About the Comparison
Instructions
Comparison Instructions
Overview