EasyManuals Logo
Home>Allen-Bradley>Controller>Logix5000

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #230 background imageLoading...
Page #230 background image
230 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 5 Compare Instructions (CMP, EQU, GEQ, GRT, LEQ, LES, LIM, MEQ, NEQ)
Greater Than or Equal To
(GEQ)
The GEQ instruction tests whether Source A is greater than or equal to Source B.
Operands:
Relay Ladder
· If you enter a SINT or INT tag, the value converts to a DINT value by
sign-extension.
· String data types are:
– default STRING data type.
– any new string data type that you create.
· To test the characters of a string, enter a string tag for both Source A and
Source B.
Structured Text
Use adjacent greater than and equal signs ‘>=’ as an operator within an
expression. This expression evaluates whether sourceA is greater than or equal to
sourceB.
See Structured Text Programming
for information on the syntax of expressions
within structured text.
Operand Type Format Description
Source A SINT
INT
DINT
REAL
string
Immediate Tag Value to test against Source B
Source B SINT
INT
DINT
REAL
string
Immediate Tag Value to test against Source A
IF sourceA >= sourceB THEN
<statements>;

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals