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-85
PDLDPG (PDL, digital point group)
Unitary pre-APOGEE APOGEE BACnet
Syntax
PDLDPG(area,kwtot1,target1,...,kwtot7,target7)
area
Meter area designation.
• In order for the program to operate correctly, the
same numeric value must be used for the meter area
parameter in the PDLDPG, PDLMTR, and PDLSET
statements.
kwtot1
through
kwtot7
Total amount of power consumed by the loads that are
controlled by the PDL command.
• The same virtual LAO point must be used for both
the PDL totkw parameter and the kwtot parameter in
the owning PDLDPG command. The value of this
parameter is calculated by the PDL command.
A power-consuming load is controlled by a PDL command if
the following criteria are met:
• The power-consuming load is defined in a PDLDAT
command that is associated with a PDL command.
• The load is currently in NONE or PDL priority.
• The PDL command is traced and is enabled.
• The PDLDPG command is enabled.
• The PDLDAT command is enabled.
target1
through
target7
Power consumption target value. One target parameter must
be specified for the corresponding PDL command in the load-
handling field panels.
• The same virtual LAO point must be used for both
the PDL target parameter and the target parameter in
the corresponding PDLDPG command. The value of
this parameter is calculated by the PDLDPG
command.
One kwtot parameter must be specified for each PDL
statement that is a number of this meter area. The sum of the
value of all kwtot parameters is used by the PDLDPG
command to calculate the power consumption target value for
each PDL command.
APOGEE PPCL User’s Manual
3-86 Siemens Building Technologies, Inc.
• Each of these kwtot parameters must be the same
virtual LAO point that is specified as the kwtot
parameter for the corresponding PDL and PDLDPG
statements. The value of the parameter is assigned
by the PDL statement in which it is defined.
Use
Keeps track of how many kilowatts worth of load are available in
each load-handling field panel and how many kilowatts are to be
shed or restored at any time in each field panel.
Sets the target value for each PDL command associated with a
meter area.
The PDLDPG statement proportionally distributes the target value to
each PDL statement according to the values of kwtot1 through
kwtot7.
Example
100 PDLDPG(1,TOTKW1,TGT1,TOTKW2,TGT2)
See also
PDL, PDLDAT, PDLMTR, PDLSET