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-49
FAST (Fast status)
Unitary pre-APOGEE APOGEE BACnet
Syntax
FAST(pt1,...,pt16)
pt1
through
pt16
Point name to be set to FAST status.
• This parameter can be a LFSSL or LFSSP point.
FAST(@prior, pt1,...,pt15)
@prior Defines a specific point priority.
pt1
through
pt15
Point name to be set to FAST status.
• This parameter can be a LFSSL or LFSSP point
Use
Changes the operational status of a FAST/SLOW/STOP point to
FAST.
• Acceptable point types are: LFSSL or LFSSP.
• A maximum of 16 points can be changed with one FAST
command.
• A maximum of 15 points can be defined with one
FAST(@prior…) command.
Example
10 IF (RMTEMP.GT.78.0)THEN FAST(@NONE, FAN1,FAN2)
See also
AUTO, OFF, ON, SLOW
APOGEE PPCL User’s Manual
3-50 Siemens Building Technologies, Inc.
GOSUB (Go to subroutine)
Unitary pre-APOGEE APOGEE BACnet
Syntax
GOSUB line# (pt1,...,pt15)
or parentheses are optional
GOSUB line# pt1,...,pt15
line# Indicates which program command line number should be
executed next (that is, where the subroutine starts).
• Line numbers must be entered as integers ranging
from 1 to 32767.
pt1
through
pt15
Point name or local variables whose values are to be passed
to the subroutine.
• This parameter can be omitted if the subroutine does
not use variable arguments.
Use
Subroutines are particularly useful for programs in which the same
calculation is carried out several times using different values.
The main subroutine commands, GOSUB and RETURN are required
for all subroutines. When this command is executed, the line
specified in the GOSUB command is the next line evaluated. When
the computer encounters the RETURN command, the next line
evaluated is the line following the GOSUB statement.
The variable parameters in a subroutine are designated by the local
variables $ARG1 through $ARG15. These variables can be used by
PPCL code in the subroutine in the same way that point names and
constants are used.
Multiple-Level Subroutines
A multiple-level subroutine is a block of program code that is called
from within another subroutine. Each call made within a subroutine
constitutes a level. You are limited to a total of eight levels.