beautypg.com

Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 218

background image

Chapter 15
Instruction Set Overview

15–4

Comparison Instructions – Chapter 19

Instruction Name

and Mnemonic

5/02

Only

Function – Conditional Input Instructions

Equal

EQU

Instruction is true when source A = source B.

Not Equal

NEQ

Instruction is true when source A source B.

0

Less Than

LES

Instruction is true when source A < source B.

Less Than or Equal

LEQ

Instruction is true when source A < source B.

Greater Than

GRT

Instruction is true when source A > source B.

Greater Than or
Equal

GEQ

Instruction is true when source A > source B.

Masked
Comparison for
Equal

MEQ

Compares 16-bit data of a source address to 16-bit
data at a reference address through a mask. If the
values match the instruction is true.

Limit Test

LIM

True/false status of the instruction depends on how a
test value compares to specified low and high limits.