User Guide

Table Of Contents
Program Methodology—Arithmetic Operators
Siemens Building Technologies, Inc. 1-27
Subtraction
Unitary pre-APOGEE APOGEE BACnet
Syntax
pt1 = value1 - value2
pt1 A point name or local variable that receives the value of
the calculation.
value1,
value2
Point names, local variables, expressions, or numbers
that are used in the calculation.
Use
Subtracts a value (value2) from another value (value1) and stores
the difference in a defined location (pt1).
Example
300 COUNT = COUNT - 1.0
APOGEE PPCL User’s Manual
1-28 Siemens Building Technologies, Inc.
Arithmetic Functions
Arithmetic functions perform mathematical calculations on a number
(value). When used in PPCL, the result of a calculation is usually
assigned to a point name for future reference. For information on the
order in which arithmetic functions are evaluated, see the Order of
Precedence section in this chapter.
PPCL supports the following arithmetic functions:
Arc-Tangent (ATN)
Complement (COM)
Cosine (COS)
Natural Antilog (EXP)
Natural Log (LOG)
Root (.ROOT.)
Sine (SIN)
Square Root (SQRT)
Tangent (TAN)
Each arithmetic operator is described in more detail on the following
pages.