Operators and Functions

Operators are symbols used to perform an operation, comparison, or mathematical function such as addition and subtraction. All operators can be used in all expressions.

Example of an operator:

A + B

A function is a named operation that may return a value, perform an operation or both. Where operators require operands, functions require parameters, which are provided in a comma-separated list inside parenthesis that follow the function name. Function names are not case-sensitive in VTScada.

Examples of functions:

Sqrt(10)
Log(X)
Limit(X, 0, 100)

You can create your own functions by writing subroutine modules.