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
Glossary
Siemens Building Technologies, Inc. Glossary-3
integer
Whole number (non-decimal number).
line
Statement of program code assigned to a unique line number.
local variable
Points in a program of a field panel that can be used in place of user-
defined points to store temporary values ($LOC1 through $LOC15).
logical operators
Operator that compares two conditions. The result of a comparison
between the two conditions is called a condition. If the result of the
condition is true, then a specific action is taken. If the result is false,
then an alternative action is performed.
modular programming
Style of programming that logical organizes code into common
functions, such as operational modes.
order of precedence
Order in which operators (mathematical, relational, logical, and
special function) are evaluated in a command statement. Operators
that have a higher precedence are evaluated before operators that
have a lower precedence. If all the operators in the statement have
equivalent precedence levels, then the operators are evaluated from
left to right.
pre-APOGEE firmware
Firmware Revision 1.5 and earlier, and Revision 12.x and earlier.
program
Collection of instructions combined in a logical order to accomplish a
specific task.
APOGEE PPCL User’s Manual
Glossary-4 Siemens Building Technologies, Inc.
pseudocode
Non-syntactical description of program logic.
relational operators
Relational operators compare two values. The result of the
comparison is called a condition, and determines the type of action
that should be taken.
resident point
Predefined logical point that permanently resides in the PPCL
program in the field panel.
routing
Method for altering the flow of a program to transfer control to a line
of the program other than the next sequential line number.
special function
PPCL functions such as Alarm Priority (ALMPRI) that are used to
access a specific value that is unique to a point. The value of the
point can then be tested or assigned to other points. Since special
functions are maintained by the system, they cannot be manually
commanded to a different value. Special functions cannot be used
over the network.
statement
Collection of instructions to the computer in order to perform an
operation. A statement can also be considered a line of PPCL code.
subroutine
Portion of program code referenced repeatedly through one pass of
the program.