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—At (@) Priority Status Indicators
Siemens Building Technologies, Inc. 1-69
Table 1-8. System Variables for
Priority Monitoring.
Priority Priority syntax
Operator
@OPER
Smoke
@SMOKE
Emergency
@EMER
Peak Demand Limiting
@PDL
No priority (PPCL)
@NONE
Example
120 OFF(@OPER,SFAN,RFAN)
When this command is executed, SFAN and RFAN are shut OFF
and their priorities are changed to OPER. An operator interface
command (such as OIP) is not needed to change the point priority.
Pre-APOGEE Firmware
The RELEAS command quickly changes the priority of a point or
group of points. With pre-APOGEE firmware, you have two options
for changing point priorities with the RELEAS command:
• Release the point to NONE priority.
• Release the point from a specific priority to NONE priority
Releasing the Point to NONE Priority
The first option allows you to release points to the NONE priority. In
the following example, the points FAN1 and FAN2 are released to
NONE priority.
160 RELEAS(FAN1,FAN2)
APOGEE PPCL User’s Manual
1-70 Siemens Building Technologies, Inc.
Releasing the Point from a Specific Priority to NONE Priority
The second option allows you to release points at a specific priority
to the NONE priority. In the following example, any of the points
included in the RELEAS command that have a priority of EMER or
lower, will be released to the NONE priority:
300 RELEAS(@EMER,FAN1,FAN2)
Note that if the point specified is at an equal or lower priority than
EMER, it will also be released to NONE. In other words:
If the point
specified is at
this priority…
Using this
pre-APOGEE
command…
Changes the
priority to…
OPER NONE
SMOKE NONE
EMER NONE
PDL
RELEAS(@OPER … )
NONE
OPER OPER
SMOKE NONE
EMER NONE
PDL
RELEAS(@SMOKE … )
or
RELEASE(@EMER … )
NONE
OPER OPER
SMOKE SMOKE
EMER EMER
PDL
RELEAS(@PDL … )
NONE
For a complete description of the RELEAS command, see Chapter 3
– Syntax.