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-33
DEACT (Deactivate lines)
Unitary pre-APOGEE APOGEE BACnet
Syntax
DEACT(line1,...,line16)
line1
through
line16
Valid PPCL line numbers
• Line numbers must be entered as integers ranging
from 1 to 32767.
• A range of PPCL lines cannot be defined using the
DEACT command.
Use
Disables lines of PPCL code to prevent them from being examined
or executed.
• The DEACT command only affects the lines of PPCL program for
the device where the program resides.
• DEACT only disables PPCL lines that are specifically defined in
the command.
• A maximum of 16 lines of PPCL code can be controlled with one
DEACT command.
Example
100 IF (TIME.GT.8:00.AND.TIME.LE.17:00) THEN
ACT(120,130) ELSE DEACT(120,130)
Notes
The DEACT and DISABL commands can be used interchangeably.
See also
ACT, DISABL, ENABLE
APOGEE PPCL User’s Manual
3-34 Siemens Building Technologies, Inc.
DEFINE (Define abbreviation)
Unitary pre-APOGEE APOGEE BACnet
Syntax
DEFINE(abbrev,string)
abbrev Abbreviation used in other PPCL statements. Represents the
string parameter.
string
Actual text string that will be substituted where the
abbreviation is used. The string text usually contains a
significant portion of a long point name.
Use
Creates an abbreviated notation for a long point name. DEFINE
allows program logic to be easily duplicated provided your facility
uses a structured naming convention for point names.
A percentage sign (%) must be placed before and after the
abbreviation when it is used in the program.
Example
10 DEFINE(AHU,”BUILDING1.AHU01.”)
20 ON(“%AHU%SFAN”)
If DEFINE is not used, this same line of code looks like the following:
20 ON(“BUILDING1.AHU01.SFAN”)
Notes
This statement is executed when added to the field panel and does
not require enabling or execution in the normal program flow.