User Manual

CM2U8567E / 04.1999 VISONIK DCS Functions and System Messages VVS18 Siemens Building Technologies
2-30 Function CB Landis & Staefa Division
LET
yes Assign value to a variable
LINE INPUT
no Input of a complete line
MSG
yes Send message for printout via system.
NEXT
No End of FOR loop
ON ERROR GOTO
no Start error handling routine
ON x GOTO/GOSUB
no Conditional program branch
OPEN
no Open a file
PLOT
yes Plot value
PRINT
yes Print values and text
READ
no Assign DATA elements to variables
REM
yes See --
RESTART
yes Start an inactive Task
RESTORE
yes Reset the internal DATA pointer
RESUME
no Return from an error routine (see ON ERROR
GOTO)
RETURN
no End of a subroutine (see GOSUB)
RUN
yes Start a Task
SEND SIGNAL
yes Set signal
STOP
yes Task stop and give STOP message
SUCC
no Program loop using point addresses
SWAP
yes Exchange variable values
WAIT during
no Wait for a specified time
WAIT until
no Wait until a specified time
WAIT for SIGNAL
no Wait for signal
WAIT for MSG
no Wait for a VISONIK message
WRITE
yes Print values and text with automatic insertion
of separating commas
--
yes Comment (has no effect on running of
program)
;
yes 'Empty' statement or separator for statements
in the same line
2.6.4.4 Review of all FUNCTIONS
Name of Type Result
Function n = numeric
s = string
ABS
n Absolute argument value
ASC
n Arctan
ATAN
n Numerical value of a character
CHR$
s ASCII character of argument
COS
n Cosine
CRC$
s Checksum of argument
DATE
n Actual date (dd-mm-yy)
DATE$
s Date as a string
DAY
n Day of week
DAY$
s Day as a string
DDAY
n Day of month for a given date
DFN
n Test for definition of variables/points
EOF
n Test for EOF (= End Of File)
EXP
n Exponential function
FIX
n Round-off an argument
FLT
n Format conversion ASCII->Binary