User Guide

Table Of Contents
Program Methodology—Relational Operators
Siemens Building Technologies, Inc. 1-11
Equal to (.EQ.)
Unitary pre-APOGEE APOGEE BACnet
Syntax
if (value1.EQ.value2) then...
value1,
value2
These values are defined as analog or digital numbers,
local variables, or point names.
Use
Compares two values to determine if the first value (value1) is equal
to the second value (value2). The comparison is true if value1 is
equal to value2.
Example
500 C IF THE ROOM TEMP IS EQUAL TO 80,
510 C THEN SET THE SET POINT TO 70.
520 C
530 IF (RMTEMP.EQ.80.0) THEN RMSET = 70.0
Notes
Check the point format and number of decimal places used before
comparing values with this relational operator. Certain points
(primarily analog input) may contain precise values. When
comparing a point value to a whole number, the result will be false if
the values are not identical.
APOGEE PPCL User’s Manual
1-12 Siemens Building Technologies, Inc.
Greater than or equal to (.GE.)
Unitary pre-APOGEE APOGEE BACnet
Syntax
if (value1.GE.value2) then...
value1,
value2
These values are defined as analog or digital numbers,
local variables, or point 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 greater than or 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 POINT TO 70
730 C
740 IF (RMTEMP.GE.80.0) THEN RMSET = 70.0