User Guide
Table Of Contents
- Table of Contents
- How to Use This Manual
- Chapter 1–Program Methodology
- Overview
- Introduction to PPCL
- PPCL Rules
- PPCL Program Design Guidelines
- Relational Operators
- Logical Operators
- Arithmetic Operators
- Arithmetic Functions
- Special Functions
- Order of Precedence
- Resident Points
- Local Variables
- Point Priority Overview
- At (@) Priority Status Indicators
- Point Status Indicators
- Converting a Sequence of Operation intoProgram Code
- Chapter 2–Control OptionComparisons
- Chapter 3–Command Syntax
- Overview
- ACT (Activate lines)
- ADAPTM (Adaptive control, multiple)
- ADAPTS (Adaptive control, single)
- ALARM (Alarm state)
- AUTO (Auto status)
- DAY (Day mode)
- DBSWIT (Dead band switch)
- DC (Duty cycle)
- DCR (Duty cycle routine)
- DEACT (Deactivate lines)
- DEFINE (Define abbreviation)
- DISABL (Disable lines)
- DISALM (Disable alarm)
- DISCOV (Disable COV)
- DPHONE (Disable phone)
- EMAUTO (Emergency, Auto status)
- EMFAST (Emergency, Fast status)
- EMOFF (Emergency, Off status)
- EMON (Emergency, On status)
- EMSET (Emergency, set value)
- EMSLOW (Emergency, Slow status)
- ENABLE (Enable lines)
- ENALM (Enable alarm)
- ENCOV (Enable COV)
- EPHONE (Enable phone)
- FAST (Fast status)
- GOSUB (Go to subroutine)
- GOTO (Go to line)
- HLIMIT (High limit)
- HOLIDA (Holiday)
- IF/THEN and IF/THEN/ELSE (Conditional control)
- INITTO (Initialize totalized value)
- LLIMIT (Low limit)
- LOCAL (Local variable)
- LOOP (Loop control)
- MAX (Maximum value)
- MIN (Minimum value)
- NIGHT (Night mode)
- NORMAL (Normal operating mode)
- OFF (Off status)
- OIP (Operator interface program)
- ON (On status)
- ONPWRT (On after power return)
- PDL (Peak demand limiting)
- PDLDAT (PDL, define load attributes)
- PDLDPG (PDL, digital point group)
- PDLMTR (PDL, meter monitor)
- PDLSET (PDL, setpoints)
- RELEAS (Release)
- RETURN (Return/end subroutine)
- SAMPLE (Sample a statement)
- SET (Set point value)
- SLOW (Slow status)
- SSTO (Start/stop time optimization)
- SSTOCO (SSTO coefficients)
- STATE (State text command)
- TABLE (Table of coordinates)
- TIMAVG (Average over time)
- TOD (Time of day, digital points)
- TODMOD (TOD modes)
- TODSET (Time of day, analog points)
- WAIT (Wait time)
- Overview
- Glossary
- Appendix A—PPCL Reserved WordList
- Index
Command Syntax
Siemens Building Technologies, Inc. 3-113
Use
This command defines specific modes (normal, weekend, etc.) for
each day of the week. Days that have the same schedule are
assigned the same mode.
The mode assigned to a specific day of the week is used in
conjunction with the TOD and TODSET commands to command
points on that day.
Example
110 TODMOD(1,1,1,1,2,4,8)
In this example, Monday through Thursday are assigned to a normal
schedule, Friday is assigned to an extended schedule, Saturday is
assigned to the shortened schedule, and Sunday is assigned to the
weekend schedule.
Notes
• The HOLIDA and TODMOD commands must precede any TOD
or TODSET commands in order for the program to operate
correctly.
• A HOLIDA or TODMOD command in a field panel will only affect
TOD and TODSET commands in that field panel.
• When a holiday date occurs in a HOLIDA command, the system
sets the TODMOD mode number for that day to 16.
See also
HOLIDA, SSTO, TOD, TODSET
APOGEE PPCL User’s Manual
3-114 Siemens Building Technologies, Inc.
TODSET (Time of day, analog points)
Unitary pre-APOGEE APOGEE BACnet
Syntax
TODSET(mode,recomd,time1,val1,time2,val2,pt1,..., pt10)
NOTE: Valid mode values are described in the table following the
parameter descriptions.
mode Mode number.
• Valid values are 1, 2, 4, 8, or 16.
• Mode numbers can be added together to create
customized schedules for the TOD program.
• Mode number 16 should only be used with the
HOLIDA command.
recomd Determines if the points defined will be commanded after a
return from a power failure (fail-safe position). Recomd (re-
command) is sometimes necessary for field panel
warmstarts.
• Valid values are 0 and 1.
0 = Does not re-command pt1 through pt10 on return
from power failure.
1 = Re-commands pt1 through pt10 on return from
power failure.
time1 Time at which the output points (pt1 through pt10) are
commanded to val1.
• This parameter can be a military time (7:30 p.m. =
19:30), a decimal time (7:30 p.m. = 19.50), a logical
point name, or a local variable.
val1 Analog value which the output points (pt1 through pt10)
assume at time1.
• This parameter can be a military time (7:30 p.m. =
19:30), a decimal time (7:30 p.m. = 19.50), a logical
point name, or a local variable.