Novatek-electro RS-485 Operating Manual page 33

Interface controller
Table of Contents

Advertisement

Table C.5 – Types of sources
COPY <var ref>
VAL <int>
PARAMVAL <param ref>
PARAMBIT <param ref> <bit number>
PARAMERC <param ref>
PARAMERN <param ref>
VARADDVAR <var ref> <var ref>
VARADDVAL <var ref> <int>
VARMULVAR <var ref> <var ref>
VARMULVAL <var ref> <int>
VARSUBVAR <var ref> <var ref>
VARSUBVAL <var ref> <int>
VARDIVVAR <var ref> <var ref>
VARDIVVAL <var ref> <int>
VARMODVAR <var ref> <var ref>
VARMODVAL <var ref> <int>
VARSMIN <var ref> <var ref>
VARSMINIDX <var ref> <var ref>
VARSMAX <var ref> <var ref>
VARSMAXIDX <var ref> <var ref>
VARSSUM <var ref> <var ref>
VARSSELBYC <var ref> <cond ref>
Example:
!VARS
0 PARAMBIT P0 0
2.5. STRS Section
It contains the text used as message for actions. The lines in this section are in ascending order, starting from
zero. Each line has the following format:
<index> <text>
Index: the sequential number of the line.
Special sequences in the line text:
*U* - MODBUS ID by default;
*<var ref>* - variable reference, such as *V2*
** - means a single character *
NOVATEK-ELECTRO
33
-
-
Copy the variable.
Set to the specified value.
Copy the value of the parameter.
Copy one bit of the parameter value.
Copy the last error code of MODBUS parameter.
Copy the error counter of reading the parameter (it is reset to 0
after successful reading, and is incremented by 1 after each update,
for which read attempts of the parameter was terminated).
Sum of two variables.
The sum of the variable and a given value
Product of two variables
The product of a variable and a given value
Difference of two variables
The difference between a variable and a given value
Quotient of two variables (the remainder is discarded)
The quotient of variable and a given value (without remainder)
The remainder of the division of two variables
The remainder of the division of the variable by a given value
The minimum of all variables in the specified range
The number of the minimum variable in the specified range
Maximum of all variables in the specified range
The number of the maximum variable in the specified range
The sum of all variables in the specified range
Choice of one variable from the range by condition - The value of
that variable from the range (from the specified to the current one),
the order of which in the range corresponds to the first condition that
is fulfilled (starting from the specified one). To use such a variable, it
is necessary to describe not only a list of variables above it, but also
a list of conditions. Since the conditions usually refer to variables,
such a list of conditions is placed "in a break" in the variable list, after
which the variable is placed in the coninued "VARS" section. It is
recommended that the last condition in the list be described in such a
way that it is always fulfilled to limit the list.
EM-481

Advertisement

Table of Contents
loading

This manual is also suitable for:

Em-481

Table of Contents