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-27
DBSWIT (Dead band switch)
Unitary pre-APOGEE APOGEE BACnet
Syntax
DBSWIT(type,input,low,high,pt1,...,pt12)
type The type of dead band switch action.
• Valid values are 0 and 1.
0 = All output points (pt1,...,pt12) are commanded
ON when the input point value rises above the high
limit, and are commanded OFF when the input point
value falls below the low limit.
1 = All output points (pt1,...,pt12) are commanded
ON when the input point value falls below the low
limit, and are commanded OFF when the input point
value rises above the high limit.
input
Point name of the variable being controlled.
• This parameter is usually an analog point, but it can
also be a local variable.
low
The low temperature at which a switching action occurs.
• This parameter can be an integer, point name, local
variable name, or decimal number.
high
The high temperature at which a switching action occurs.
• This parameter can be an integer, point name, local
variable name, or decimal number.
pt1
through
pt12
Name of an output point to be turned ON and OFF.
• Local variables can be used.
Use
Provides the ON/OFF switching action of an output point. This is the
software equivalent of a thermostat.
• A maximum of 12 points can be controlled with one DBSWIT
command.
APOGEE PPCL User’s Manual
3-28 Siemens Building Technologies, Inc.
• The operational status of the point is regulated by an analog point
using a predefined dead band.
Example 1
200 DBSWIT(1,RMTEMP,LDBAND,HDBAND,SFAN,RFAN)
Example 2
200 DBSWIT(1,RMTEMP,55,58,SFAN,RFAN)