User Guide

Table Of Contents
Program Methodology—Converting a Sequence of Operation into
Program Code
Siemens Building Technologies, Inc. 1-109
6. Create program modules and start writing code for each mode of
operation.
Start with one mode and code the solution.
Comment the program where appropriate.
If you have experience writing programs, you might write two
or three modes before continuing.
See Chapter 3–Syntax for help with PPCL statements.
7. Type each program module into the computer.
Define any points that are used in the database.
Include comment lines in each module.
Execute and Test the Program Code
Through testing, you may discover an easier method for
accomplishing a particular control strategy.
1. Before you actually use a PPCL program, run the program and
verify that it works.
Depending on your experience writing PPCL programs, you may
not write an error-free program every time. Getting programs to
work properly takes time and patience.
2. Simulate conditions that the program will encounter.
3. Test the program by entering information outside the defined
limits of the program.
4. Simulate an equipment failure and see how the program
responds.
Document the Program
1. Verify that your comment lines clearly describe the functions
being performed in each module.
2. Keep the notes you created while developing the sequence of
operation.
APOGEE PPCL User’s Manual
1-110 Siemens Building Technologies, Inc.