EasyManua.ls Logo

Allen-Bradley Micro800

Allen-Bradley Micro800
652 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
Loading...
Compare instructions Chapter 10
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 263
For Integer, Real, Time, Date, and String values, Greater Than or Equal compares
input values to determine whether the first is greater than or equal to the second.
Special recommendations for >= operator
For TON, TP, and TOF, equality testing of Time values is not recommended.
Arguments
Parameter Parameter Type Data Type Description
EN Input BOOL Function enable.
When Enable = TRUE, execute the input comparison.
When Enable = FALSE, there is no comparison.
Applies only to LD programs.
i1 Input SINT - USINT - BYTE - INT - UINT
- WORD - DINT - UDINT -
DWORD - LINT - ULINT - LWORD
- REAL - LREAL - TIME - DATE -
STRING
All inputs must be the same data type. The Time input applies to the ST, LD and
FBD languages.
i2 Input SINT - USINT - BYTE - INT - UINT
- WORD - DINT - UDINT -
DWORD - LINT - ULINT - LWORD
- REAL - LREAL - TIME - DATE -
STRING
o1 Output BOOL TRUE if i1 >= i2.
>= operator ST language example
(* ST Equivalence: *)
aresult := (10 >= 25); (* aresult is FALSE *)
mresult := ('ab' >= 'ab'); (* mresult is TRUE *)
Greater than or equal

Table of Contents

Other manuals for Allen-Bradley Micro800

Related product manuals