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
Siemens Building Technologies, Inc. A-1
Appendix A—PPCL Reserved Word
List
Appendix A contains the PPCL Reserved Word List. The words,
letters, and groups of letters placed on this list are used by the PPCL
compiler. If you use any of the entries on the word list in a way other
than the way they are designed (for example, defining a reserved
word as a point name), your PPCL program will not operate properly.
The following predefined points permanently reside in the field
panel’s point database. These names are reserved for specific
functions and should not be used as point names
$ARG1 through $ARG15 $BATT
$LOC1 through $LOC15 $PDL
.AND. .EQ.
.GE. .GT.
.LE. .LT.
.NAND. .NE.
.OR. .ROOT.
.XOR. @EMER
@NONE @OPER
@PDL @SMOKE
ACT ALARM
ALMACK ALMCNT
ALMCT2 ALMPRI
AND ARG1 through ARG15
APOGEE PPCL User’s Manual
A-2 Siemens Building Technologies, Inc.
ATN AUTO
C (comment) COM
COS CRTIME
DAY DAYMOD
DAYOFM DBSWIT
DC DCR
DEACT DEAD
DEFINE DISABL
DISALM DISCOV
DPHONE ELSE
EMAUTO EMER
EMFAST EMOFF
EMON EMSET
EMSLOW ENABLE
ENALM ENCOV
EPHONE EQ
EQUAL EXP
FAILED FAST
GE GOSUB
GOTO GT
HAND HLIMIT
HOLIDA IF
INITTO LE
LINK LLIMIT
LOC1 through LOC15 LOCAL