<< Click to display table of contents >> Navigation: TiCon Base > Formula > Header > Definition |
In the field Definition, the actual formula is entered.
To do this, the arithmetic operations and logical functions listed below are available. All variables of the formula have to be classified in the Parameter tab. When switching to the Parametertab, new parameters are created automatically.
If factors are used as numbers in the definition, the numbers are evaluated as time type ttu. Functions (e.g. SIN[X]) also evaluate only ttu values. That means the argument of the function must be of the time type ttu.
Function |
Meaning |
! |
Not |
& |
And |
/*.....*/ |
Comment |
I |
Or |
< |
Less |
<> |
Not equal to |
<= |
Less or equal to |
= |
Equal to |
> |
Greater |
>= |
Greater or equal to |
ARCCOS(X) |
Arc cosine |
ARCCOSH(X) |
Hyperbolic arc cosine |
ARCCOTH(X) |
Hyperbolic arc cotangent |
ARCSIN(X) |
Arc sine |
ARCSINH(X) |
Hyperbolic arc sine |
ARCTAN(X) |
Arc tangent |
ARCTANH(X) |
Hyperbolic arc tangent |
ASC(S) |
ASCII code of 1st character |
CEI(X) |
Round up to nearest whole number |
COMPARE(S1;S2) |
Compare strings S1 and S2 |
CONCAT(S1;S2) |
Merge strings S1 and S2 |
CHAR(X) |
Characters with ASCII code X |
COS(X) |
Cosine |
COSH(X) |
Hyperbolic cosine |
COTH(X) |
Hyperbolic cotangent |
|
|
CTB(K;X) |
Change influenceable time |
CTB1(K;X) |
Change tb1 time |
CTB2(K;X) |
Change tb2 time |
CTU(K;X) |
Change uninfluenceable time |
CTW(K;X) |
Change waiting time |
|
|
DEG(X) |
Conversion radiant in degree |
ELEMENT("CODE") |
Returns the time of an element within a formula. |
EULER |
Constant EULER |
EXP(X) |
Exponential function |
FILLS(S;X) |
String with length X consists of S |
FORMULA("FORMELCODE";"PARAMETERLISTE") |
Returns the value of a formula within a formula. |
IF(X OP Y; TRUE; FALSE) |
formula: IF(X OP Y; TRUE;FALSE) |
INT(X) |
Cut decimal places |
LASTPOS(S1;S2) |
Last position of String S2 in S1 |
LEFT(S;X) |
First X characters of string |
LEN(S) |
String length |
LOG(X) |
Natural logarithm |
LOG10(X) |
Logarithm to base 10 |
LOG2(X) |
Logarithm to base 2 |
LOWER(S) |
Lowercase |
LTRIM(S) |
Remove blanks at the beginning |
MAX(X;Y) |
Maximum function |
MID(S;X;Y) |
Y characters from position X of string |
MIN(X;Y) |
Minimum function |
PI |
Constant PI |
POS(S1;S2) |
Position of string S2 in S1 |
QWU(X) |
Square root |
RAD(X) |
Conversion degree in radiant |
REPLACE(S1;X;Y;S2) |
Replace string S2 in S1 from position X with length Y |
RIGHT(S;X) |
Last X characters of string |
RTRIM(S) |
Remove blanks at the end |
SIN(X) |
Sine |
SINH(X) |
Hyperbolic sine |
SIGN(X) |
Returns -1.0,1 according to the algebraic sign. |
SPACE(X) |
X blanks |
STRING(X) |
Value as string |
STU(X) |
Level function |
TAB(X;OP; K1;K2;...KN) |
Table functions E.g.: TAB(X;>;33,44,55) returns the value 33 for X=10. |
TAN(X) |
Tangens |
TANH(X) |
Hyperbolic tangent |
TRIM(S) |
Remove blanks at the beginning and at the end |
UPPER(S) |
Uppercase |
-X |
Algebraic sign |
X**Y |
Power |
X*Y |
Multiplication |
X/Y |
Division |
X+Y |
Addition |
X-Y |
Subtraction |
Please note: |
All calculating functions calculate only with the time type ttu. |