Novatek-electro RS-485 Operating Manual page 31

Interface controller
Table of Contents

Advertisement

Example:
!META
* PROTOCOLVERSION 8
* UPDATE 5
* PARAMRETRIES 2
2.2. DEVICES Section
It contains the capabilities of MODBUS devices, the settings of not specified here devices will be treated the
same as for the device with maximum features and functions. The lines in this section do not have numbering,
instead of an index is "*". Each line has the following format:
* <MODBUS ID of device> <record type> <argument 1> [argument 2]
MODBUS device ID: a number from 1 to 247. "0" – is the broadcast, it can be used to configure recording
simultaneously to all devices that support the broadcasting (the argument 1 in this case is defined, but not used). "*"
instead of the MODBUS ID means a device by default for this folder (EM-481, if the file is placed directly in the
program folder, or device with the MODBUS ID of the name of the subfolder, if the file is placed in the subfolder
named "1" to "247").
Lines with different types or arguments, but with the same MODBUS ID are not permitted. These lines being in
different files in the folder of programs are also considered to be incorrect.
Arguments type: <uchar> – 8-bit unsigned integer.
Table C.3 – Types of records
WRHANY <uchar>
<uchar>
WRHMULTIPLE
<uchar> <uchar>
WRHSINGLE <uchar> Device can write only using function 6 in the single storage register. The argument
WRHDENIED <uchar> Device can't write to the storage registers. The argument specifies how many
Example:
!DEVICES
* * WRHANY 50 50
* 3 WRHSINGLE 4
2.3. PARAMS Section
It contains parameters, their addressing, and conversion between types (how they are used by the device).
When reading the settings are always converted from the specified type to the default type for the program EM-481
(INT32 – 32-bit signed integer). When recording the inverse transform is performed. The lines in this section are in
ascending order, starting from zero. Each line has the following format:
<index> <MODBUS ID of device> <data type> <register table> <address>
Index: the sequential number of the line.
MODBUS ID of device: a number from 1 to 247. "0" – is the broadcast, it can be used for writing only. "*" instead
of the MODBUS ID means a device by default for this folder (EM-481, if the file is placed directly in the program
folder, or device with the MODBUS ID of the name of the subfolder, if the file is placed in the subfolder named "1" to
"247").
Tables of registers:
H - storage registers (most frequently used registers)
I - input registers;
D - digital inputs;
С – tabs.
Address: a number from 0 to 65535.
NOVATEK-ELECTRO
Device can write both as a function of 6 and function of 16 in the storage
registers. The first argument specifies how many registers can be read in one query;
the second one determines how many you can record in a single query.
Device can write only using function 16 in the storage registers. The first argument
specifies how many registers can be read in one query; the second one determines how
many you can record in a single query.
specifies how many registers can be read in one query.
registers can be read in one query.
31
-
-
EM-481

Advertisement

Table of Contents
loading

This manual is also suitable for:

Em-481

Table of Contents