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–17
SSTOCO (command)........................................................................ 3-102
start/stop time optimization
SSTO............................................................................................... 3-99
SSTOCO ....................................................................................... 3-102
Start/Stop Time Optimization (control option)..................................... 2-10
STATE (command) ........................................................................... 3-105
status indicators
ALARM ............................................................................................ 1-82
ALMACK.......................................................................................... 1-83
AUTO............................................................................................... 1-85
DAYMOD......................................................................................... 1-89
DEAD............................................................................................... 1-86
FAILED ............................................................................................ 1-90
FAST................................................................................................ 1-91
HAND............................................................................................... 1-92
LOW................................................................................................. 1-87
NGTMOD......................................................................................... 1-93
OFF.................................................................................................. 1-94
OK.................................................................................................... 1-88
ON ................................................................................................... 1-95
PRFON ............................................................................................ 1-96
SLOW .............................................................................................. 1-97
structured naming convention............................................................. 3-34
subroutine .................................................................................... 1-8, 1-99
$ARGn............................................................................................. 1-61
commands..................................................................................... 1-102
GOSUB............................................................................................ 3-50
GOTO .............................................................................................. 3-57
nested.............................................................................................. 3-54
RETURN.......................................................................................... 3-94
transferring program control...............................................................1-4
using .............................................................................................. 1-100
versus multiple programs .............................................................. 1-103
APOGEE PPCL User’s Manual
Index–18 Siemens Building Technologies, Inc.
subtraction (arithmetic operator)......................................................... 1-27
syntax
compatibility bar................................................................................... XI
notes.................................................................................................. XIII
use...................................................................................................... XII
T
TABLE (command)............................................................................ 3-106
TAN (arithmetic function) .................................................................... 1-37
tangent (arithmetic function) ............................................................... 1-37
target peak demand limiting (TPDL) ......................................................2-7
telephone ID numbers
DPHONE ......................................................................................... 3-38
EPHONE ......................................................................................... 3-48
testing a program .............................................................................. 1-104
testing point priorities .......................................................................... 1-68
TIMAVG (command) ......................................................................... 3-108
TIME (resident point)........................................................................... 1-59
time of day
HOLIDA ........................................................................................... 3-59
TOD ............................................................................................... 3-110
TODMOD....................................................................................... 3-112
TODSET ........................................................................................ 3-114
Time of Day
control option................................................................................... 2-22
time-based commands...........................................................................1-9
TOD (command) ............................................................................... 3-110
TODMOD (command)....................................................................... 3-112
TODSET (command) ........................................................................ 3-114
TOTAL (special function) .................................................................... 1-41
transferring program control (subroutines) ....................................... 1-102