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
Command Syntax
Siemens Building Technologies, Inc. 3-91
Example
100 C
101 C PDLSET COMMAND INFORMATION:
102 C
103 C - THIS COMMAND CONTROLS METER AREA 1.
104 C - THE VIRTUAL LDO POINT WHICH WILL
105 C TOGGLE ON AND OFF AT THE END OF
106 C THE SET POINT INTERVALS WHEN THE
107 C SET POINT WAS EXCEEDED IS
108 C CALLED PEAKEX.
109 C - PDLST1 SET POINT ENDS AT 11:00 A.M.
110 C - PDLST2 SET POINT ENDS AT 4:30 P.M.
111 C
120 PDLSET(1,PEAKEX,PDLST1,11:00,PDLST2,16:30)
Notes
The PDLSET command requires at least two setpoint/time definitions
for each day in order to generate reports.
See also
PDL, PDLDAT, PDLDPG, PDLMTR
APOGEE PPCL User’s Manual
3-92 Siemens Building Technologies, Inc.
RELEAS (Release)
Unitary pre-APOGEE APOGEE BACnet
Syntax
RELEAS(pt1,...,pt16)
pt1
through
pt16
Point name to be released to NONE priority.
• This parameter can be a LFSSL or LFSSP point.
• This command only works for points in EMER or PDL
priority. To release points in OPER or SMOKE
priority, the RELEAS(@prior…) command must be
used.
RELEAS(@prior, pt1,...,pt15)
@prior Defines a specific point priority that the point is being
released from.
pt1
through
pt15
Point name to be released to NONE priority.
Use
Changes the operational status of a point to NONE priority.
• A maximum of 16 points can be changed with one RELEAS
command.
• A maximum of 15 points can be defined with one
RELEAS(@prior…) command.
An LAO or LDO point that is used in a RELEAS statement can
generate multiple entries in the Trend Data Report if a command
statement such as SET, =, ON, or OFF is used on the same point at
the same time.
Example 1
110 IF(TEMP.NE.ALARM.AND.PT2.NE.@NONE)THEN
RELEAS(@EMER, PT2)
In this example, PT2 will only be released if its priority is not equal to
NONE and TEMP is not in alarm.