![Martem TELEM-GW6e Скачать руководство пользователя страница 22](http://html1.mh-extra.com/html/martem/telem-gw6e/telem-gw6e_user-manual_1732429022.webp)
AS Martem Data Concentrator TELEM-GW6e User Manual
Rev. 11 / 2013
Akadeemia tee 21/6 Tel: +372 639 7979 E-mail: [email protected]
12618 Tallinn Fax: +372 639 7980 www.martem.eu
Estonia
- 22 -
Brackets
Brackets can be used in formulas to change the priority of the operation.
Example: sqrt(@101/2+@102); (@201+@202+@203)/3
Operators
Oper.
Obj. type Description
Sample
*Priority
+
DI/AI
Addition
@101+3,2
3
-
DI/AI
Subtraction
@101-0,49
3
*
DI/AI
Multiplication
@101*2
2
/
DI/AI
Division
@101/2
2
^
DI/AI
Exponentiation
@101^2
1
<
DI
Greater than
@101<0,499
4
>
DI
Less than
@101>0,5
4
sqr
DI/AI
Square
sqr(@101*10)
0
sqrt
DI/AI
Square route
sqr(@101*10)
0
and
DI
Logical conjunction
@201and@202
5
or
DI
Logical disjunction
@201or@202
6
xor
DI
Exclusive disjunction
@201xor@202
6
not
DI
Logical negation
not@201
0
dbl
DI
Converts 2 single
digital inputs into a
double signal
@202dbl@201,
where @202 – ON
state signal
@201 – OFF state
signal
7
sin
DI/AI
sin@301
0
cos
DI/AI
cos@301
0
tan
DI/AI
tan@301
0
arcsin
DI/AI
arcsin@301
0
arccos
DI/AI
arccos@301
0
arctan
DI/AI
arctan@301
0
* priority determines the order of operations in the formula (the highest priority
is 0)
Notes
•
All analog values should be scaled before making calculations;
therefore, it is very important to fill the
Raw Min, Raw Max, Scale Min,
Scale Max
fields with Normalized values that are used in calculations.
•
After editing the formula, the program automatically validates this
formula and shows the result in the status area. If the formula is
incorrect, the background of the edited formula is changed to pink and
an error message is displayed in the status area.
•
By clicking on the
button, a new formula row with default settings
is added.
By clicking on the
button, the selected formula row is removed.