|
<< 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 following arithmetic operations and logical functions are available. All variables of the formula have to be classified in the "Parameters" tab. When switching to the "Parameters" tab, new parameters are created automatically.
When factors in the definition are used as numbers, 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 |
< |
Lesser |
<> |
Unequal |
<= |
Lesser or equal |
= |
Equal to |
> |
Greater |
>= |
Greater or equal |
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 1. Characters |
CEI(X) |
Round up to integer |
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) |
Small letters |
LTRIM(S) |
Remove start blanks |
MAX(X;Y) |
Maximum function (comparison of up to ten parameters to determine process element with the highest time value) |
MID(S;X;Y) |
Y characters from position X of string |
MIN(X;Y) |
Minimum function (comparison of up to ten parameters to determine process element with the lowest time value) |
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 end blanks |
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 start and end blanks |
UPPER(S) |
Capital letters |
-X |
Algebraic sign |
X**Y |
Power |
X*Y |
Multiplication |
X/Y |
Division |
X+Y |
Addition |
X-Y |
Subtraction |
Note: |
All calculating functions calculate only with the time type ttu. |