Novatek-electro RS-485 Operating Manual page 34

Interface controller
Table of Contents

Advertisement

Example:
!STRS
0 *U* - awaria 21: korotkoe zamykanie TS2
2.6. PHONES Section
It contains texts that are used for addressing SMS. The lines in this section are in ascending order, starting from
zero. Each line has the following format:
<index> <text(phone number)>
Index: the sequential number of the line.
Special sequences in the text of the line:
• *U* - MODBUS ID by default
• *<var ref>* - a reference to a variable, for example *V2*
• ** - means one character*
Note - if there are no numbers in the phone number other than 0, then SMS to this number will not be sent.
Example:
!PHONES
# Ivanoff - comment
0 067*V0*
2.7. CONDS Section
It contains conditions that compare variables. The lines in this section are in ascending order, starting from zero.
Each line has the following format:
<index> <condition type> <argument 1> [argument 2]
Index: the sequential number of the line.
The types of the arguments:
<int> - 32-bit signed integer;
<cond ref> - reference to the condition of the format Cn, where n is the index of conditions;
<var ref> - reference to the variable of format Vn, where n is the index of the variable;
Table C.6 – Condition types
IF <cond ref>
CONDIS <int>
NOT <cond ref>
AND <cond ref> <cond ref>
OR <cond ref> <cond ref>
VAREQVAR <var ref> <var ref>
VAREQVAL <var ref> <int>
VARNEVAR <var ref> <var ref>
VARNEVAL <var ref> <int>
VARGRVAR <var ref> <var ref>
VARGRVAL <var ref> <int>
EM-481
34
-
-
Copy of the condition
Set to the specified value - The condition is met if the value is not 0. It can
be used for adjustment or for unconditional actions for each update cycle.
Logical NOT. The condition is satisfied, when the referred condition did not
happen and vice versa.
Logical AND. Condition is satisfied, when both refereed conditions
happened.
Logical OR. The condition is satisfied, when any referred conditions occurred.
Comparison of two variables. The condition is fulfilled, if they are equal.
Comparison of a variable with a specified value. The condition is fulfilled
when a variable by reference is equal to the specified value.
Comparison of two variables - The condition is met if they are not equal.
Comparison of a variable with a given value - The condition is met when
the reference variable is not equal to the specified value.
Comparison of two variables. The condition is fulfilled when the first
variable by reference is more than the second variable.
Comparison of a variable with a specified value. The condition is fulfilled
when a variable by reference is more than the specified value.
NOVATEK-ELECTRO

Advertisement

Table of Contents
loading

This manual is also suitable for:

Em-481

Table of Contents