User Guide

Chapter 10 - Create/Edit
PPCL
156
BACnet Field Panel Web Server User Guide
125-3584
2017-07-31
PPCL Reference for PTECs
PPCL Rules for PTECs
80 character limit per line. This limit includes tabs, spaces, and line numbers.
Illegal characters include: ^ ~ # ; < > \ |
On import and when reading a PPCL program from a file or device, the following
conversions are done:
white space (tabs, line breaks, multiple spaces) becomes a single space
^ ~ # ; \ | become a single space
> becomes .GT.
< becomes .LT.
Range of line numbers is 1 to 32767.
200 line limit per program. This limit includes comment lines.
Duplicate line numbers are not allowed in a single PPCL program.
Line numbers must be in sequential ascending order.
Empty program lines are eliminated when the program is saved to the PTEC.
When the program is refreshed, empty program lines no longer display.
For PTEC devices, only the single "PPCL.PGM" program name is available. The
program name cannot be edited.
Object (point) names in PTEC program lines have validation rules:
Valid name length: 1 to 12 characters
Valid characters include: A-Z 0-9 space . ?
Reserved words are not allowed. See the
Reserved Words
section for a list of
reserved words.
Validation of keywords: see the
PTEC PPCL Keywords
section for a list of
PTEC PPCL keywords. In addition:
Only 2 SECNDS timers are allowed (SECNDS and SECND1)
Only 4 $LOC points are supported ($LOC1 through $LOC4)
NOTE: The SECNDS and LOCn objects only exist in the PTEC program. They
will not show up in the Device/Points List and cannot be dragged into the
program. They are not displayed in the Referenced Points List.
Lines and sections of PPCL code can be reused (copied/cut and pasted).
Priority
For PTEC devices the command priority is 15, and cannot be changed.
If a field panel must command a PTEC point, the priority of the PPCL program
must be set to 15 or higher.