-
29
-
NOVATEK-ELECTRO EM-481
Correct example:
Incorrect example:
...
!VARS
0 VAL 0
!CONDS
0 VAREQVAL V0 0
!ACTS
0 ALARMON 1
1 ALARMOFF 1
!REACTS
* C0 ACT A0
!CONDS
1 NOT C0
!REACTS
* C1 ACT A1
...
...
!VARS
0 VAL 0
!CONDS
0 VAREQVAL V0 0
!ACTS
0 ALARMON 1
1 ALARMOFF 1
!REACTS
* C0 ACT A0
!CONDS
0 NOT C0
!REACTS
* C1 ACT A1
...
2) Link to another line should be below the line that is referenced.
Correct example:
Incorrect example:
...
!CONDS
0 VAREQVAL V0 0
1 NOT C0
...
...
!CONDS
0 NOT C1
1 VAREQVAL V0 0
...
The file should end with an empty line or a comment. The file should not have extra spaces, including at the end
of lines. The file can contain comment lines that begin with
“#”,
and are ignored when reading the file.
Correct example:
Incorrect example:
...
# This is a comment
!VARS
# number of seconds per minute
0 VAL 60
1 VAL 1
...
...
# This is a comment
!VARS
0 VAL 60 # number of sec. in min
1 VAL 1
...
Table C.1
– Sections assignment
МЕТА
General information and the file run settings
DEVICES
MODBUS devices capabilities
PARAMS
Parameters, registers and bits of MODBUS devices, and type conversion
VARS
Variables, transformation of parameters and calculations
PHONES
Phone numbers to which SMS are sent
STRS
Texts of messages to send to SMS
CONDS
Comparison of variables, the conditions for performing actions
ACTS
Actions that can be performed
REACTS
Reactions that determine under what conditions the actions will be fulfilled