Settings - Novatek-electro EM-486 Operating Manual

Protocol converter modbus rs-485 via mobile communication
Hide thumbs Also See for EM-486:
Table of Contents

Advertisement

The command consists of an access symbol: ("R" for reading, "W" for writing), an address (identification) of the
device in Modbus network, a symbol of resource ("H" for most often used Modbus registers for values saving,
thereat the functions of Modbus №3 will be used for reading or №6 for writing or "I" thereat the functions of Modbus
№1 will be used for reading) and addresses of resource (register). For the writing function additionally after the
space there is the value for locating by address. For example:
 SMS message «abc r1h100» will cause sending the requiry for reading the register 100 of device 1 (in case
when the password for reading via SMS is specified as "abc" in the settings);
 SMS message «stanc12 w2h174 5000» is for writing the value 5000 in register 174 of device 2 (in case when
the password for writing via SMS is specified as "stanc12" in the settings).
It the command format is correct , the controller forms the Modbus inquiry.
In the inquiry is addressed to EM-486, the device does not redirect the inquiry but processes it and sends the
reply to the client. Inquiries for other devices are redirected in Modbus network and there is waiting for the reply
from a device in Modbus net work – thereat the indicator RS-485 lights up. If the data is received of the time is out,
the indicator RS-485 lights down.
If the correct reply is received on inquiry, EM-486 forms the reply SMS. Every SMS begins with a command prior
received from the user. After the command and space there should be the value of register specified in the
command (both at reading and writing). The presence of register value in SMS is as confirmation of successful
fulfillment of command. For example, SMS «r1h100 2200» means that the value 2200 of register 100 by command
for reading from the device 1 has been read.
If as a reply on inquiry there is a Modbus exception code, EM-486 forms SMS with a reply about exception. SMS
begins with a command previously received from the user. After command and space there should be a
warning about exception. The warning consists of a line «EXC.» and a number of exception. After the warning and
space there can be the text description of exception with this number (the standard Modbus exceptions are resulted
in the table 5.2). For example, the message «r3h873 EXC.2 ILLEGAL DATA ADDRESS» means that for the device
3, a register with address 873 is not executable for reading (or is not available).
When there is no reply via RS-485, EM-486 can generate a specified by user exception code and send it in SMS
(by default – code 11).
Table 5.2 – The standard Modbus exception codes
Code
Exception
1
Illegal function
2
Illegal data address
3
Illegal data value
4
Device failure
5
Acknowledge
6
Device busy
8
Memory parity error
10
Gateway paths not
available
11
Target device failed to
response to gateway
5.2.2.5. Data collection and event tracking
When the operational logic program is loaded into the internal memory, the product with the specified interval,
reads the specified registers (of connected devices or EM-486), and then performs the specified transformations
and the evaluation of the received data. The results can be: sending SMS, turning on/off of the relay, the entry in
the specified register (of connected device or EM-486). The program downloading to the internal memory is
performed from the memory card. The procedure for preparing and loading the program into the product is
described in Appendix C.

5.3 SETTINGS

5.3.1 General information
The connection settings of EM-486 is made via HTTP protocol or via Modbus TCP protocol and serves for
specifying the main parameters needed for the unit operation: types of connected sensors, exchange parameters
via RS-485, parameters of address in Ethernet network (if Ethernet is used) and server address to which EM-486 is
connected automatically.
The adjustable parameters are described in items 5.3.2. The parameters remain saved after the power cut off.
The unit setting can be made by two methods:
Via WEB-interface, as provided in item 5.3.3;
Via Modbus-interface as descibed in item 5.3.4.
EM-486
~ 12 ~
The received code can not be processed
The data address specified in the inquiry is not available
The value in the inquiry is not acceptable
Non-recoverable failure happened when addressee tried to execute the inquired
action
The addressee has received the inquiry and is processing it but this action takes a
lot of time.
The addressee is processing the command. The client can resend the message later.
The parity error was detected when addressee was trying to read the extended
memory
The gateway can not redirect the inquiry because there is no path (connection) to
the addressee
The gateway has not received a reply on redirected inquiry because the
addressee had not replied on time
Description
NOVATEK-ELECTRO

Advertisement

Table of Contents
loading

Table of Contents