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
Program Methodology—Resident Points
Siemens Building Technologies, Inc. 1-57
Seconds counter (SECNDS)
Unitary pre-APOGEE APOGEE BACnet
Syntax
SECNDS
Use
This resident point counts real time seconds and can be used as a
timer. The computer adds one (1) to the SECNDS variable for every
one second of real time that passes.
• The initial value of the SECNDS point is set by a PPCL
command.
• The SECNDS point can be set to a maximum value of 9,999.
Example
890 IF (SFAN.NE.PRFON) THEN SECNDS = 0
Notes
For APOGEE field panels, each program has a unique SECNDS
point. This point can also be viewed in the interface using the
program name, system delimiter (:)SECNDS format.
APOGEE PPCL User’s Manual
1-58 Siemens Building Technologies, Inc.
Seconds counters (SECND1 through SECND7)
Unitary pre-APOGEE APOGEE BACnet
Syntax
SECNDn
n The number that describes which SECNDn point is
referenced.
• Valid values for SECNDn are 1 through 7.
Use
These seven resident points count real time seconds and can be
used as timers. The computer adds one (1) to the SECNDn variable
for every one second of real time that passes.
• The value of a SECNDn point can only be set by a PPCL
command.
• The maximum value a SECNDn point can be set to is 9,999.
Example
600 IF(SECND1.GT.15) THEN ON(RF) ELSE OFF(RF)
Notes
For APOGEE field panels, each program has unique SECNDSn
points. These points can also be viewed in the interface using the
program name, system delimiter (:)SECNDSn format.