User Manual
CM2N8887en / 26.02.01 Siemens Building Technologies
4/4 Landis & Staefa Division
An important requirement to control building services systems is that the process
variables and/or I/O points can be accessed either by the operator or via the program.
In COLBAS this data is accessed via addresses and parameters.
ML
$031
SB
$052
SB
$053
BPS
$d011
Parameters
Addresses
8887Z03en
This example illustrates how the I/O points shown above are accessed by the program:
....
3000 Mz:=$031.ML
4000 IF Mz=1 THEN GOTO 8000 ELSE GOTO 9000
....
....
8000 $052.SB:=1
....
....
9000 $053.SB:=0
....
The following instructions are given in the individual lines:
Line Explanation
3000 The I/O point with address $031 (signaling point) reads the state of parameter
ML and assigns the variable Mz.
4000 If variable Mz=1, then go to line 8000, else go to line 9000.
8000 The I/O point with address $052 (switching command) is assigned value 1, i.e.
switching command = ON.
9000 The I/O point with address $053 (switching command) is assigned value 0, i.e.
switching command = OFF.
Note the difference between an allocation with ":=" (lines 3000, 8000 and 9000) and the
logical comparison for equivalence with "=" (line 4000).
When accessing the data described above, distinguish between INPUT points and
OUTPUT points.
– Signaling points, measured value points, and counter value points are INPUT points.
The main value for these points is read-only. This main value cannot be overwritten
either manually or via the program unless the point in question has been set to
“fictitious” for testing purposes.
– Switching command and positioning command points are OUTPUT points. The
operator and the program can both read and write the main value for these points.
COLBAS allows all the states and parameter values to be read for all the data points
configured in the VISONIK system. The address entry for I/O points outside the
system’s “own” BPS must contain both the point address and the BPS number, for
example $d011'031 to call up the signaling point shown above.
Refer to the following documents for more information on this topic:
Document No. Title
CM2Z8387en Language Description COLBAS
CM2T8567E VISONIK System Basics
Process access
I/O point addresses
and parameters
Example
Explanations of the
examples
Note
INPUT and OUTPUT
points
Access to the whole
system
Additional information
2001 Siemens Building Technologies Ltd.