User Guide

Table Of Contents
Program Methodology—Resident Points
Siemens Building Technologies, Inc. 1-59
Military time (TIME)
Unitary pre-APOGEE APOGEE BACnet
Syntax
TIME
Use
This resident point maintains the current time and stores the value in
military time. The TIME value can contain a value from 0:00 to 23:59.
The following examples show how TIME stores values follows:
7:15 a.m. = 7:15
7:30 p.m. = 19:30
Example
500 C
501 C THIS CODE DEFINES A TIME PERIOD
502 C FROM 6:45 A.M. TO 5:30 P.M. FOR
503 C SFAN TO OPERATE.
502 C
510 IF(TIME.GE.6:45.AND.TIME.LE.17:30)THEN
ON(SFAN)ELSE OFF(SFAN)
Notes
The time is updated every second. TIME cannot be used to assign a
value to a virtual point since its value is not in a standard decimal
form. CRTIME should be used for this purpose. TIME can be used in
PPCL for comparison in the IF/THEN/ELSE statement.
APOGEE PPCL User’s Manual
1-60 Siemens Building Technologies, Inc.
Local Variables
Local variables are storage locations for data. Local variables
function like virtual points except that they require less memory, are
predefined, and cannot be directly displayed.
Local variables can contain analog or digital values.
Each set of local variables is designed for a specific task.
Local variables are divided into two categories: subroutine and
global storage variables.
PPCL supports the following local variables:
$ARG1 through $ARG15, which are used for subroutines.
$LOC1 through $LOC15, which are used to store the results of
calculations.
LOCAL (the definition of user-defined local variables in
APOGEE field panels is discussed in Chapter 3 – Syntax )
For APOGEE field panels, each program has unique $ARG and
$LOC variables. $LOC points can also be viewed and commanded
through the interface using the program name, system delimiter (:),
local variable name format.
Each local variable is described in more detail on the following
pages.