User Manual
Siemens Building Technologies VISONIK DCS Functions and System Messages VVS18 CM2U8567E / 04.1999
Landis & Staefa Division Function CB 2-35
Point parameter access in COLBAS is programmed using the general syntax:
@ADDRESS.PARAMETER
This method allows direct or indirect parameter access.
Direct Addressing
"Direct" in this case means that the relative point address follows after the "@" address
designator. Technical Address (with "$") or User Address may be used.
Assume a measurement point with address $1'000 or C7K8'01"ME. The following lines
illustrate how the measurement's parameters can be changed or read through DIRECT
addressing in COLBAS:
100 PRINT @$1'000.ME ;-- Print measured value
200 @$1'000.LL:=10.3 ;-- Set lower limit
300 IF @C7K8'01"ME.DISL>3 THEN PRINT "ok!"
400 OS:=@C7K8'01"ME.OSV ;-- Read OSV and assign to OS
If no parameter is defined during the addressing, then COLBAS always inserts the
relevant main parameter:
@$1'000.ADR is identical to @$1'000
Indirect Addressing
"Indirect" means that the "@" address designator is followed by a Variable which
contains the Point address.
Therefore, in order to differentiate between a User Address and a variable, a parameter
M U S T always be specified in this type of addressing especially when the parameter
"ADR" is involved.
Assume a measurement point with address $1'000 or C7K8'01"ME. The following lines
illustrate how the measurement's parameters may be changed or read through
INDIRECT addressing in COLBAS:
100 AD:=@$1'000.ADR ;-- AD contains ADR.
200 PRINT @AD.ME ;-- Print measured value
300 @AD.LL:=-5.2 ;-- Set lower limit
400 OS:=@AD.OSV ;-- Read OSV and assign to OS
Indexed parameters
The index may also be taken from an expression for indexed parameters:
100 ...
200 FOR I=1 to 10; PRINT @AD.CFGPNT(I+2); NEXT I
300 ...
Examples
if no parameter is
specified...
Examples