User Guide

Table Of Contents
Command Syntax
Siemens Building Technologies, Inc. 3-93
Example 2
120 RELEAS(@SMOKE, PT1, PT2, PT3)
In this example, all three points will be released to NONE priority if
they currently have a priority of SMOKE, EMER, or PDL. If any point
is in OPER priority, it will not be released.
Notes
With APOGEE and pre-APOGEE firmware, always use a priority
at least as high as the one that the point will be in to ensure
proper release. If the point has been commanded from the
keyboard, it will require an @OPER entry to release the priority of
the point to NONE.
With BACnet firmware, the RELEAS(@prior, pt1,…,pt15)
command releases the BACnet slot which is mapped to the
stated APOGEE priority, but it may not release all the way to
NONE priority. The BACnet Command Priority levels must be
emptied to allow lower priority levels to control the point.
The standard BACnet Priority Array rules control the @prior
release process as follows:
If a value exists in a higher priority slot than the slot mapped
to @prior, the value is not released.
If the slot mapped to @prior is the highest slot, the value is
released. The new value is determined by the presence, in
order from higher to lower priority levels, of values in the
slots below.
If no values exist in the lower priority slots, the relinquished
default value is used.
APOGEE PPCL User’s Manual
3-94 Siemens Building Technologies, Inc.
RETURN (Return/end subroutine)
Unitary pre-APOGEE APOGEE BACnet
Syntax
RETURN
Use
Marks the end of a subroutine.
RETURN must be the last command of any GOSUB subroutine.
When a RETURN command is encountered, the program returns to
the line following the GOSUB command
Example
100 GOSUB 310
110 ...
120 ...
130 ...
290 ...GO TO 350
300 C THIS SUBROUTINE PERFORMS...
310 ...
320 ...
330 ...
340 RETURN
350 CONTINUE WITH REST OF PROGRAM
See also
GOSUB, GOTO