User Guide

Table Of Contents
Control Option Comparisons—Time-of-Day (TOD)
Siemens Building Technologies, Inc. 2-25
The following TOD commands are defined in the TOD database:
Monday – Sunday
07:00:00 OFF LITE1
18:00:00 ON FAN1
18:00:00 ON LITE1
19:00:00 OFF FAN1
Holiday
10:30:00 OFF LITE1
17:00:00 ON LITE1
The PPCL HOLIDA command defines the following holidays:
100 HOLIDA(4,1,6,14)
The TOD calendar defines the following holidays:
03-May-1994 Holiday
08-Sep-1994 Holiday
Based on these schedules, the following will occur:
LITE1 operates according to the holiday schedule on four days:
April 1, May 3, June 14, and September 8.
This causes a problem if LITE1 should only operate on a holiday
schedule of May 3 and September 8.
APOGEE PPCL User’s Manual
2-26 Siemens Building Technologies, Inc.
IF/THEN/ELSE Time-Of-Day
Although Time-Of-Day uses actual commands dedicated to
performing TOD functions, time scheduling can be accomplished
using the IF/THEN/ELSE command.
Example
The following example illustrates TOD scheduling using the
IF/THEN/ELSE command to control the outdoor parking lights for a
building.
The lights must be ON from 7:00 p.m. until 5:00 A.M. The
IF/THEN/ELSE statement for this schedule might look like the
following:
100 C THIS LINE OF CODE TURNS THE LIGHTS
102 C OFF AT 5:00 AM AND ON AT 7:00 PM.
104 C
110 IF(TIME.GT.5:00.AND.TIME.LT.19:00)THEN
OFF(LITES)ELSE ON(LITES)