Unitary | Pre-APOGEE | APOGEE | BACnet | PXC.A |
---|---|---|---|---|
● | ● | ● | ● | ● |
Syntax
If (value1.GE.value2) then...
value1,value2 | These values are defined as analog or digital numbers, local variables, or object names. |
Use
Compares two values to determine if the first value (value1) is greater than or equal to the second value (value2). The comparison is true if value1 is equal to value2.
Example
700 C IF THE ROOM TEMP IS GREATER THAN
710 C OR EQUAL TO 80, THEN SET THE SET
720 C OBJECT TO 70
730 C
740 IF (RMTEMP.GE.80.0) THEN RMSET = 70.0