User Manual
CM2U8567E / 04.1999 VISONIK DCS Functions and System Messages VVS18 Siemens Building Technologies
2-32 Function CB Landis & Staefa Division
–
Expressions with highest priority are enclosed in round brackets.
3*5+1 = 16
3*(5+1) = 18
–
Signs "+" and "-" are accepted but have the same priorities
as addition and subtraction.
–
Multiplication must always be indicated by the sign "*".
–
A power exponent is described with "**".
–
A negative number with a fractional power exponent (e.g. (-2)**0.5), gives a result
which cannot be recognised by COLBAS. Therefore an error message is given.
–
If the power exponent is a whole number then negative base numbers are accepted.
(-2)**.5 not accepted
(-2)**3 accepted
–
"Comparison Operations" result in value 1 if the comparison is "True" and "0" if the
comparison is "False". These results can be used for other calculations.
3 > 1 is "true" or 1
3 = 8 is "false" or 0
–
The result of a logical Boolean expression (AND, OR, EXOR) is either "true" with
value 1 or "false" with value 0.
2.6.4.6 Review of all TASK Variables
Name of Action
TASK Variable
TSKEKL
EKL number for 'short' addresses @mmp or @$mmp
TSKERL$
Error Task and line number
TSKERR
Error number
TSKFRM$
Task format
TSKPRIO
Defines Task priority
TSKPRP
Control of PROMPT printout
TSKRLV
Access level (0..7) for read access
TSKSYS
Link System for PRINT statement
TSKTAB
Control of tabulator length
TSKTMO
Defines 'timeout' for INPUT
TSKTRC
COLBAS trace on/off control
TSKTTY
Defines the relative output terminal for Task
TSKUS
Defines a PS (and VISONIK system with 192)
TSKWLV
Access level (0..7) for write access
CIRCUIT.xxx
Set/Clear V.24 signal xxx
GFLx
Global flags
LFLx
Local flags
RX_ERR
Error bits
STA
The previous attributes of the new parameter names were
updated in version 14:
STA.ADR --> STA.NAME
STA.PTYP --> STA.TYP
STA.HW --> STA.MV
STA.PERS --> STA.STAP
STA.PNTS --> STA.ERSTA
NEW --> STA.OPSTA
Note
Examples
Examples