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-57
GOTO (Go to line)
Unitary pre-APOGEE APOGEE BACnet
Syntax
GOTO line#
line# The next line number to which execution is directed.
• Line numbers must be entered as integers ranging
from 1 to 32767.
Use
This command is used to control program execution by branching to
a different section of the program.
Example
10 IF (FANRUN.GE.1000) THEN GOTO 50
Notes
• A GOTO command should only transfer program control to a
sequentially higher line number.
• If the line number indicated in the GOTO does not exist,
execution is transferred to the next line after the line number
specified in the GOTO command.
• A GOTO command should not transfer program control to a
comment line.
• Do not use the GOTO command to transfer control to the top of a
program. If the last program line is missed because of this, time-
based commands (LOOP, WAIT, etc.) will not function properly.
See also
GOSUB, RETURN
APOGEE PPCL User’s Manual
3-58 Siemens Building Technologies, Inc.
HLIMIT (High limit)
Unitary pre-APOGEE APOGEE BACnet
Syntax
HLIMIT(value,pt1,...,pt15)
value New value to which the high limit is set.
• This value can be a decimal, a point name, or a local
variable.
• Integers are not allowed.
pt1
through
pt15
Logical names of analog points whose high limits are
changed to the new value.
Use
Sets a new high alarm limit for alarmable analog points.
A maximum of 15 points can be set to the same high limit with one
HLIMIT command.
Example
100 IF (OATEMP.GT.70.0) THEN HLIMIT(84.0,
ROOM16)ELSE HLIMIT(78.0,ROOM16)
Notes
• Points must reside in the same device as the program.
• Points used in the HLIMIT command must be defined as
alarmable.
See also
ALARM, DISALM, ENALM, LLIMIT, NORMAL