User Guide

Table Of Contents
Siemens Building Technologies, Inc. 1-1
Chapter 1–Program Methodology
Overview
Chapter 1 contains information related to the design, coding, and
implementation of a program. The following concepts are discussed
in this chapter:
Introduction to PPCL
PPCL Rules
General PPCL Rules
Defining Points in a PPCL Program
Rules for Naming Points
Rules for Naming a PPCL Program
PPCL Program Design Guidelines
Designing a Program that is Easy to Maintain
Designing a Program that Operates Efficiently
Making Comparisons
Relational Operators
Logical Operators
Arithmetic Operators
Performing Mathematical Functions and Calculations
Arithmetic Functions
Special Functions
Order of Precedence
Changing Precedence Levels with Parentheses
APOGEE PPCL User’s Manual
1-2 Siemens Building Technologies, Inc.
Using Resident Points and Storage Locations for Data
Resident Points
Local Variables
Understanding the Relationship Between Point Priority and
Status
Point Priority Overview
At (@) Priority Status Indicators
Point Status Indicators
Converting a Sequence of Operation into Program Code
Guidelines
Designing Programs Using a Modular Structure
Subroutine Commands
Multiple Programs versus Subroutines
Program Testing
Program Documentation