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
Index
Siemens Building Technologies, Inc. Index–15
program control
DEFINE............................................................................................ 3-34
ONPWRT......................................................................................... 3-79
SAMPLE .......................................................................................... 3-95
TABLE ........................................................................................... 3-106
proof on (point status indicator) .......................................................... 1-96
Q
quotes in programs ................................................................................1-6
R
relational operators ............................................................................. 1-10
EQ.................................................................................................... 1-11
GE.................................................................................................... 1-12
GT.................................................................................................... 1-13
LE .................................................................................................... 1-14
LT..................................................................................................... 1-15
NE.................................................................................................... 1-16
RELEAS (command)........................................................................... 3-92
release statement................................................................................ 3-92
resident points..................................................................................... 1-46
$BATT.............................................................................................. 1-49
$PDL................................................................................................ 1-56
ALMCNT.......................................................................................... 1-47
ALMCT2 .......................................................................................... 1-48
CRTIME........................................................................................... 1-50
DAY ................................................................................................. 1-51
DAYOFM ......................................................................................... 1-52
limitations.....................................................................1-46, 3-97, 3-107
LINK................................................................................................. 1-53
MONTH ........................................................................................... 1-54
NODEn ............................................................................................ 1-55
SECNDn.......................................................................................... 1-58
SECNDS.......................................................................................... 1-57
APOGEE PPCL User’s Manual
Index–16 Siemens Building Technologies, Inc.
TIME ................................................................................................ 1-59
RETURN (command).......................................................................... 3-94
ROOT (arithmetic function) ................................................................. 1-34
S
SAMPLE (command) .......................................................................... 3-95
scheduling
HOLIDA ........................................................................................... 3-59
TOD ............................................................................................... 3-110
TODMOD....................................................................................... 3-112
TODSET ........................................................................................ 3-114
SECNDn (resident point) .................................................................... 1-58
SECNDS (resident point) .................................................................... 1-57
seconds counter (resident points)....................................................... 1-57
SET (command).................................................................................. 3-96
SIN (arithmetic function)...................................................................... 1-35
sine (arithmetic function)..................................................................... 1-35
SLOW
point status indicator........................................................................ 1-97
SLOW (command) .............................................................................. 3-98
SMOKE (priority status indicator)........................................................ 1-76
solving a programming problem........................................................ 1-107
special functions.................................................................................. 1-38
ALMPRI ........................................................................................... 1-39
limitations......................................................................................... 1-38
TOTAL ............................................................................................. 1-41
SQRT (arithmetic function) ................................................................. 1-36
square root (arithmetic function) ......................................................... 1-36
SSTO
command......................................................................................... 3-99
formulas........................................................................................... 2-13