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-77
• After the OIP command has been executed, the trigger point
must be reset (commanded back to its original state) before the
OIP command can be executed again.
• When using an OIP command with an LDO type subpoint, you
must command the point ON/OFF with the number 1 or 0. Using
any text other than 1 or 0 will cause the statement to fail.
• If the trigger point name begins with a number, then the point
name should be preceded by an @ sign. If a variable in the
keystroke sequence begins with a number, then the point name
should not be preceded by an @ sign.
Correct
100 OIP(TRIG,"P/T/D/H///FAN/1FAN//60/")
Incorrect
100 OIP(TRIG,"P/T/D/H///FAN/@1FAN//60/")
• The OIP command must be executed with every pass of the
program in order to see the trigger point change value.
• The OIP command cannot be used to perform loop tuning.
• In an OIP statement, a slash / can be used to represent a
carriage return. An example of a multi-point trend display would
look like:
OIP (TRIG, "P/T/D/P/// Name1/Name2/Name3//10/")
• To specify which trend instance should display, use the following
syntax for the Multi-Point Trend Report:
OIP (TRIG, "P/T/D/P/// Name1//Name2//Name3//10/")
APOGEE PPCL User’s Manual
3-78 Siemens Building Technologies, Inc.
ON (On status)
Unitary pre-APOGEE APOGEE BACnet
Syntax
ON(pt1,...,pt16)
pt1
through
pt16
Point names that are commanded to ON.
ON(@prior,pt1,...,pt15)
@prior
Defines a specific point priority.
pt1
through
pt15
Point names of LDO, L2SL, L2SP, LOOAL, or LOOAP points.
Use
Changes the operational status of an ON/OFF/AUTO point to ON.
• Acceptable point types are: LDO, L2SL, L2SP, LOOAL, or
LOOAP.
• A maximum of 16 points can be changed with one ON command.
• A maximum of 15 points can be defined with one ON(@prior…)
command.
Example
100 IF (OATEMP.LT.60.0)THEN ON(@NONE,
PUMP1,PUMP2)
See also
AUTO, FAST, OFF, SLOW