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-13
Typically, the value for der will be the same as the third
parameter for the TABLE statement controlling the cooling coil.
If there are two cooling coil TABLE statements because there is
an Economizer, choose the one for Economizer ON. For
example, as shown in the line of code below, this value is 65.
2060 TABLE (%X%VRT,%X%CCO,65,0,100,100)
If other PPCL code is used, der must still be the value of the
output of ADAPTM at which mixed air dampers are fully open
and the cooling coil valve is just beginning to open.
If the value of der varies slightly due to the path taken in the
code, choose a nominal value for der. ADAPTM can handle
minor variations in the value of der.
err Error reporting point. ADAPTM writes to this point. A zero
means no error. A non-zero means an error.
• This parameter is entered as a point name or local
variable name.
CAUTION:
Each ADAPTM PPCL line of code must have its
own unique error point. Do not share one error
point among multiple ADAPTM lines.
ADAPTM Example
The following example also includes an ADAPTS command for
mixed air temperature.
2000 C ADAPTM CONTROL STATISTICS (LOGICAL
2002 C FIRMWARE)
2004 C DIRECT CONTROL LOOP
2006 C INPUT = %X%SAT
2008 C OUTPUT = %X%VRT
2010 C SETPOINT = %X%SAS
APOGEE PPCL User’s Manual
3-14 Siemens Building Technologies, Inc.
2012 C MA TEMP CNTRL OUTPUT = $MATCTL
2014 C MA MIN POSITION = %X%MAM
2016 C SAMPLE TIME = 5 SECONDS
2018 C GAIN = %X%KC1
2020 C DAMPER TIME CONSTANT = %X%TD1
2022 C HEATING TIME CONSTANT = %X%TH1
2024 C COOLING TIME CONSTANT = %X%TC1
2026 C HEATING END OF RANGE = 45.0
2028 C DAMPER BEGIN RANGE = 50.0
2030 C DAMPER END OF RANGE = 65.0
2032 C ERROR REPORT POINT = %X%ERR
2034 ADAPTM(%X%SAT,%X%VRT,%X%SAS,$MATCTL,
%X%MAM,5,%X%KC1,%X%TD1,%X%TH1,%X%TC1,
45.0,50.0,65.0,%X%ER1)
2036 C HEATING COIL SIGNAL
2038 TABLE (%X%VRT,%X%HCO,0,100,45,0)
2040 C DAMPER RAMP
2042 TABLE ($MADRMP,$MADRCT,0,0,10,%X%MAM, 180,100)
2044 C DAMPER CONTROL SIGNAL
2046 TABLE (%X%VRT,$MADCTL,50,%X%MAM,65,100)
2048 C MIXED AIR TEMPERATURE CONTROL LOOP
2050 IF($MADRCT.LT.$MATCTL) THEN GOTO 2056
2052 ADAPTS(%X%MAT,$MATCTL,%X%MLS,10,%X%KC2,
%X%TM2,0,30.0,130.0,0.0,100.0,0.0,0.0,%X%ER2)
2054 C ECONOMIZER CONTROL
2056 IF (%X%ECM .EQ. OFF) THEN GOTO 2072
2058 C COOLING COIL SIGNAL (ECON=ON)
2060 TABLE (%X%VRT,%X%CCO,65,0,100,100)
2062 C FINAL DAMPER SIGNAL
2064 MIN (%X%MAO,$MADRCT,$MADCTL,$MATCTL)
2068 GOTO 2074
2070 C COOLING COIL SIGNAL (ECON=OFF)
2072 TABLE (%X%VRT,%X%CCO,55,0,100,100)
2074
Use
Adaptive control technology is a closed loop control application,
which automatically adjusts the field panel operating parameters to
compensate for changes that continuously occur during the normal
building control process. With adaptive control technology, tuning
and retuning are not required.