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
Table of Contents
Siemens Building Technologies, Inc. III
PPCL (@NONE) .....................................................................1-73
Operator (@OPER).................................................................1-74
Peak Demand Limiting (@PDL)..............................................1-75
Smoke (@SMOKE).................................................................1-76
Point Status Indicators...................................................................1-77
Failed Point Values .................................................................1-77
Determining Point Status ........................................................1-77
Commanding and evaluating the HAND status ......................1-78
Point Status Indicators Supported ..........................................1-80
Alarm (ALARM).......................................................................1-82
Alarm acknowledge (ALMACK) ..............................................1-83
Auto (AUTO) ...........................................................................1-85
Battery status—discharged (DEAD) .......................................1-86
Battery status—almost discharged (LOW) .............................1-87
Battery status—charged (OK).................................................1-88
Day mode (DAYMOD).............................................................1-89
Failed (FAILED) ......................................................................1-90
Fast (FAST).............................................................................1-91
Manual override (HAND).........................................................1-92
Night mode (NGTMOD) ..........................................................1-93
Off (OFF).................................................................................1-94
On (ON)...................................................................................1-95
Proof on (PRFON)...................................................................1-96
Slow (SLOW) ..........................................................................1-97
Converting a Sequence of Operation into Program Code.............1-98
Guidelines ...............................................................................1-98
Designing Programs Using a Modular Structure ....................1-99
Subroutine Commands .........................................................1-102
Multiple Programs versus Subroutines .................................1-103
Program Testing....................................................................1-104
Program Documentation.......................................................1-105
Chapter 2–Control Option Comparisons...........................................2-1
Overview..........................................................................................2-1
Duty Cycling (DC)............................................................................2-2
Duty Cycling Commands ..........................................................2-3
Enthalpy and Dry Bulb Economizer Control....................................2-4
Example—Economizer Comparison.........................................2-4
Enthalpy Economizer Calculations ...........................................2-5
Peak Demand Limiting (PDL)..........................................................2-6
Why Use PDL?..........................................................................2-6
Why Use PDL Instead of Duty Cycling? ...................................2-7
PDL Application Programs........................................................2-7
APOGEE PPCL User’s Manual
IV Siemens Building Technologies, Inc.
Start/Stop Time Optimization (SSTO) ...........................................2-10
Where to Use SSTO ...............................................................2-10
Defining SSTO ........................................................................2-11
How SSTO Adjusts the Start and Stop Times ........................2-11
SSTO Formulas ......................................................................2-13
Time-of-Day (TOD)........................................................................2-22
Where to Use TOD..................................................................2-22
Defining Time-Of-Day .............................................................2-22
IF/THEN/ELSE Time-Of-Day ..................................................2-26
APOGEE Interaction with PPCL TOD.....................................2-27
Chapter 3–Command Syntax..............................................................3-1
Overview..........................................................................................3-1
ACT (Activate lines) ..................................................................3-4
ADAPTM (Adaptive control, multiple) .......................................3-5
ADAPTS (Adaptive control, single).........................................3-16
ALARM (Alarm state) ..............................................................3-24
AUTO (Auto status).................................................................3-25
DAY (Day mode).....................................................................3-26
DBSWIT (Dead band switch)..................................................3-27
DC (Duty cycle).......................................................................3-29
DCR (Duty cycle routine) ........................................................3-31
DEACT (Deactivate lines) .......................................................3-33
DEFINE (Define abbreviation) ................................................3-34
DISABL (Disable lines) ...........................................................3-35
DISALM (Disable alarm) .........................................................3-36
DISCOV (Disable COV) ..........................................................3-37
DPHONE (Disable phone) ......................................................3-38
EMAUTO (Emergency, Auto status).......................................3-39
EMFAST (Emergency, Fast status) ........................................3-40
EMOFF (Emergency, Off status) ............................................3-41
EMON (Emergency, On status) ..............................................3-42
EMSET (Emergency, set value)..............................................3-43
EMSLOW (Emergency, Slow status)......................................3-44
ENABLE (Enable lines)...........................................................3-45
ENALM (Enable alarm) ...........................................................3-46
ENCOV (Enable COV)............................................................3-47
EPHONE (Enable phone) .......................................................3-48
FAST (Fast status)..................................................................3-49
GOSUB (Go to subroutine).....................................................3-50
GOTO (Go to line)...................................................................3-57
HLIMIT (High limit) ..................................................................3-58
HOLIDA (Holiday) ...................................................................3-59