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-111
Valid TOD Mode Values.
Mode Schedule
1 Normal schedule
2 Extended schedule
4 Shortened schedule
8 Weekend schedule
16* Holiday schedule
*Mode number 16 (Holiday) should only be used with the HOLIDA command.
Use
This command changes digital output point ON and OFF based on
the day of the week and the time of day. If the mode number in the
TOD command matches the mode number in the TODMOD
command, then TOD commands the particular output points ON and
OFF at the specified times.
Example
10 TOD(1,1,17:00,07:00,OLITE1,OLITE2)
The command time can also be a relative time point that is assigned
a value of time. When you calculate a value of time to be used in a
TOD command and assign it to the relative time point, make sure
that the calculated time is greater later than or equal to the current
time. The TOD command will not execute properly if the relative time
point is commanded to a time that precedes or is equal to the current
time.
See also
HOLIDAY, SSTO, TODMOD, TODSET
APOGEE PPCL User’s Manual
3-112 Siemens Building Technologies, Inc.
TODMOD (TOD modes)
Unitary pre-APOGEE APOGEE BACnet
Syntax
TODMOD(momode,tumode,wemode,thmode,frmode,samode,
sumode)
NOTE: Valid mode values are described in the table following the
parameter descriptions.
momode Mode number for Monday.
• Valid values are 1, 2, 4, or 8.
tumode Mode number for Tuesday.
• Valid values are 1, 2, 4, or 8.
wemode Mode number for Wednesday.
• Valid values are 1, 2, 4, or 8.
thmode Mode number for Thursday.
• Valid values are 1, 2, 4, or 8.
frmode Mode number for Friday.
• Valid values are 1, 2, 4, or 8.
samode Mode number for Saturday.
• Valid values are 1, 2, 4, or 8.
sumode Mode number for Sunday.
• Valid values are 1, 2, 4, or 8.
Valid TODMOD Mode Values.
Mode Schedule
1 Normal schedule
2 Extended schedule
4 Shortened schedule
8 Weekend schedule
16* Holiday schedule
*Mode number 16 (Holiday) should only be used with the HOLIDA command.