background image

-

 9

 - 

NOVATEK-ELECTRO                                                                                                                                  EM-481

                                                                                                                                                             

 

exchange with the server. The data exchange with server is made using one of two protocols: MODBUS TCP and 
modified

 

MODBUS TCP. 

 

5.2.2.2.

 Monitoring of devices connected via RS-485 

The device inquires the MODBUS registers of devices connected via RS-485, upon queries from the server. 
The  MODBUS  EM-481  registers  can  be  specified  in  the  server  queries  to  read  the  current  time,  the  EM-481 

supply voltage, etc. 

 

5.2.2.3.

 Access to MODBUS network using MODBUS TCP 

EM-481 performs the function of Modbus gateway and waits for network connection via Modbus TCP protocol to 

port 502. The Modbus TCP connection port can be changed by the user. Connection to PC can be made by any 
programs - Modbus TCP clients. The client version for Windows software is available for download at the web-site 
of NOVATEK-ELECTRO Ltd (http://novatek-electro.com/en/software.html). 

At  inquiry  for  client  connection  to  Modbus  TCP  port,  EM-481

 

checks  a  list  of  available  connections.  If  all 

connections  are  already  engaged,  the  connection  is  cancelled  otherwise  the  unit  adds  it  into  its  internal  list  of 
service clients (no more than specified number of clients). 

When  connection  with  a  client  is  set  EM-481

 

waits  for  Modbus-inquiry  from  the  client.  In  RS-485  slave  mode, 

RS-485 requests from the MODBUS master are also accepted. 

After  receiving  the  query  from  the  client,  the  device  analyses  the  query  and,  depending  on  code  of  inquired 

function and actual rights of the client, processes or blocks it. In case of blocking the query EM-481 can generate 
and  send  to  the  client  the  specified  by  the  user  code  of  MODBUS  exception  (by  default  - 

code  1).  The  client’s 

authority level is determined by the passwords entered

 

after connection. 

If the query is address to EM-481, the device does not re-direct it, but processes it and send the reply to the client

.

 

In  RS-485  master  mode,  queries  to  other  devices  are  redirected  to  the  MODBUS  network,  and  a  response  is 

expected from the device in the MODBUS network, while the 

"RS-485"

 indicator lights up. If the data is received or 

the waiting time has expired, the 

"RS-485"

 indicator goes out. 

In  redirection mode  to  a  remote  server,  if  communication  with  remote  MODBUS  TCP  server  is  set  in  Ethernet 

network

 

or GSM/UMTS, queries to other devices are also sent to this server, and a response is expected from it. 

 

N o t e : The respond is received from the first responding  addressee; therefore, in the MODBUS network and 

among  the  addressees  accessible  via  the  remote  MODBUS  TCP  server,  there  should  not  be  devices  with  the 
same MODBUS addresses (identifiers). 

 

If  the  query  could  not  be  redirected  (for  example,  in  the  RS-485  slave  mode,  if  the  connection  to  the  remote 

MODBUS TCP  server  was  terminated),  the  EM-481  can  generate  and  send  the  MODBUS user-defined  exclusion 
code to the client (default code is 10). 

If  there  is  no  reply,  EM-486  can  generate  and  send  to  the  client  the  specified  by  the  user  code  of  Modbus 

exception (by default - code 11). 

If there is a respond received on the query, EM-486 sends it to the client who had sent this query. 

 

5.2.2.4.

 Access to MODBUS network using SMS 

If there is GSM-connection set, EM-481 receives incoming SMS. All incoming SMS begin with a password. If the 

password does not match the one specified in settings, SMS is not processed and the reply SMS is not being sent 
back. After the password through the space the command is indicated. 

The command consists of the following: 

  the access symbol ("R" for reading, "W" for writing); 

  the address (identifier) of the device in the MODBUS network; 

  the resource symbol ("H" for the most frequently used MODBUS registers for storing values, while using the 

MODBUS  functions  No.3  for  reading  or  No.6  for  writing,  or  "I"  for  the  input  registers,  using  MODBUS 
function No.4 for reading); 

  the address of the resource (register). 

For the writing function, additionally after the space, the value to be placed at the address is indicated. For example: 

 SMS  message  "abc  r1h100"  will  send  a  query  to  read  register  100  of  device  1  (if  the  password  for 

reading using SMS is specified as "abc" in the settings); 

 The SMS message "stanc12 w2h174 5000" is used to write the value 5000 to the register 174 of device 2 

(if the password for writing using SMS is specified as "stanc12" in the settings). 

If  the  command  format  is  correct,  the  device  generates  a  MODBUS  query,  which  is  further  processed  in  the 

same way as requests from other clients (see 5.2.2.3). 

For the correct respond to the query, the EM-481 generates a response SMS. Each SMS starts with a command 

accepted earlier from the user. After the command, the value of the register used in the command (both for reading and 
writing) is indicated after a space. The presence of the value of the register in the SMS confirms the successful execution 
of the command. For example, SMS "r1h100 2200" means that the read command from device 1 has read the value 
2200 of register 100. 

If the response to the query is MODBUS exception code, the EM-481 generates SMS with exception message. 

SMS  begins  with  the  command  received  earlier  from  the  user

.  After  the  command,  the  exclusion  warning  is 

indicated  after  a  space.  The  warning  consists  of  "EXC."  line  and  the  exception  number.  After  the  warning,  text 
description of the exception with this number can be indicated after a space (standard exceptions to MODBUS are 

Содержание EM-481

Страница 1: ...development and production complies with the requirements of ISO 9001 2015 Dear Customer NOVATEK ELECTRO Ltd Company thanks you for purchasing our products You will be able to use properly the device...

Страница 2: ...d via RS 485 9 5 2 2 3 Access to MODBUS network using MODBUS TCP 9 5 2 2 4 Access to MODBUS network using SMS 9 5 2 2 5 Data collection and event tracking 10 5 3 Configuration 10 5 3 1 General 10 5 3...

Страница 3: ...THE HOUSING IT IS NOT ALLOWED WATER PENETRATION ON TERMINALS AND INTERNAL ELEMENTS OF THE DEVICE During operation and maintenance the regulatory document requirements must be met namely Regulations fo...

Страница 4: ...ing and transferring data IP protocol is routable protocol for transferring data by Ethernet It is a part of TCP IP and used for Internet IP address is a node address which is unique within a single n...

Страница 5: ...showing of warnings about detected faults 4 GSM LED is blinking every 3 sec when there is connection via GSM network or UMTS it is blinking 3 times per second while data exchanging via GPRS or HSPA 5...

Страница 6: ...ort circuit output voltage of driver RS 485 maximum mA 250 Resistance of in built terminator Ohm 1000 The recommended number of connected devices in Modbus network when the input current of receivers...

Страница 7: ...vice operation Check the device for damage after transportation in case of such damages detection contact the supplier or the manufacturer Carefully study the Operating Manual pay special attention to...

Страница 8: ...in the SIM slot and connect the GSM antenna to the ANT connector SMA F connector 5 2 Using the device 5 2 1 General After power is turned on all indicators except LAN and GSM light up and EM 481 perf...

Страница 9: ...addresses identifiers If the query could not be redirected for example in the RS 485 slave mode if the connection to the remote MODBUS TCP server was terminated the EM 481 can generate and send the MO...

Страница 10: ...ters of address in Ethernet network if Ethernet is used and server address to which EM 481 is connected automatically The adjustable parameters are described in items 5 3 2 The parameters remain saved...

Страница 11: ...ess MAC 48 from left to right 6 Table 5 5 Parameters describing the device Parameter Description Address Device type The code that defines the MODBUS product by the manufacturer 23 EM 481 0 Firmware v...

Страница 12: ...d access tabs 0 no permission 1 there is permission Bit 6 It is always as 1 Bit 7 Permission for the connected client to configure EM 481 the same as register 121 0 no permission 1 there is permission...

Страница 13: ...on to remote server Modbus TCP 0 connection to the remote server is set 1 connecting to the remote server 2 65534 the number of seconds before reconnecting 65535 Connection to the Modbus TCP server is...

Страница 14: ...parameters Parameter Range of values Factory setting Description Address Ethernet network Static IP address IP address 192 168 0 111 If the dynamic addressing is switched off or not available IP addre...

Страница 15: ...vice provider up to 24 characters 392 415 APN address of host Character string Provided by the GSM service provider up to 34 characters there cannot be spaces in a string 416 449 MODBUS TCP clients Co...

Страница 16: ...tart bit 7 data bits 2 stop bits or parity bit and stop bit total is 10 bits The non standard byte formats register 461 values 4 and 5 are not available in this case format 3 2 stop bits is used inste...

Страница 17: ...ssword This string should not have any spaces 540 549 The specified password for recording per mission via MODBUS TCP in devices using RS 485 Character string It is used to access devices connected to...

Страница 18: ...Gateway Path Unavailable response is not returned to the client 1 255 if there is no connection to the query addressee this exception code is returned to the client 636 Enable RS 485 slave mode 0 1 0...

Страница 19: ...aylight saving time 1 10 10 It is used if you selected the automatic transition to daylight saving time on the specified days Week of the month when the clock will be set one hour ahead 1 5 week of th...

Страница 20: ...f clock for synchroniza tion s 1 180 2 It is used if you have enabled synchronization of clocks with the server clock The synchronization is performed after receiving the server time if the difference...

Страница 21: ...ears once again 5 3 4 EM 481 configuring via MODBUS interface Setting via Modbus interface shall be provided if the device is connected using the Modbus client which is supporting the Modbus TCP proto...

Страница 22: ...return and transfer it to the warranty post warranty service please indicate detailed reason for the return in the field of the claims data 8 TRANSPORTATION AND STORAGE The device in the original pack...

Страница 23: ...in the GSM network is displayed alternately with the IP address in the local Ethernet network The operation speed with remote Modbus TCP server is improved The speed of GSM operation is increased 30...

Страница 24: ...481 Parameter Value Addressing using DHCP Yes IP address 192 168 0 111 Subnet mask 255 255 255 0 Gateway 192 168 0 1 With the factory settings of the EM 481 two ways are possible for communicating wi...

Страница 25: ...ter closing the windows answer yes 3 Connection to Internet via Ethernet ATTENTION THE USER IS STRONGLY RECOMMENDED TO CONNECT THE UNIT TO INTERNET UNDER THE SUPERVISION OF THE LAN SYSTEM ADMINISTRATO...

Страница 26: ...om the client over the long period the access returns to locked mode ATTENTION DURING ANY CONNECTIONS EXCEPT FOR TRANSMITTING VIA GSM AND COMMUNICATION WITH SERVER VIA SPECIAL PROTOCOL EM 481 THE PASS...

Страница 27: ...age in order to delete the device from Overvis system That guarantees that the EM 481 device will be used only by the authorized users Using the instruction on the site of Overvis system connect to EM...

Страница 28: ...again the internal memory to re read the program Files can have arbitrary names and extensions and placed in subfolders of the folder TASKS Files placed directly in the folder TASKS allow you to use...

Страница 29: ...s 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 i...

Страница 30: ...eters in the task file which are accessed through RS 485 and GSM interfaces By default if no modifier is specified it is 0 PARAMACTUAL ushort Frequency of reading the parameters in seconds It allows o...

Страница 31: ...in a single query WRHMULTIPLE uchar uchar 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 deter...

Страница 32: ...point 100 F32BLEEP3R 32 bit with reverse order of bytes and floating point 1000 F32WLEEP0R 32 bit with reverse order of words and floating point F32WLEEP1R 32 bit with reverse order of words and floa...

Страница 33: ...all variables in the specified range VARSMINIDX var ref var ref The number of the minimum variable in the specified range VARSMAX var ref var ref Maximum of all variables in the specified range VARSMA...

Страница 34: ...ref Copy of the condition CONDIS int 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 NOT cond ref...

Страница 35: ...has the following format index action type argument 1 argument 2 Index the sequential number of the line The types of the arguments int 32 bit signed integer alarm reason is the number of reason of t...

Страница 36: ...n the text 3 MODBUS ID of the device is OM 310 240 is the register address which is monitored for the fault enabling relay 1 depending on bit 0 of register 240 of device 3 META 8th version of Protocol...

Страница 37: ...hieving the temperature respectively the lower or upper limits These registers are read only To change them you should be in configuration mode see it 5 3 4 then write the desired values to addresses...

Страница 38: ...VARGEVAR V2 V1 in other cases do not change the hysteresis current value 2 CONDIS 1 VARS the desired hysteresis is selected from V3 V5 according to the conditions of C0 C2 6 VARSSELBYC V3 C0 CONDS is...

Страница 39: ...ting select the file of updating The procedure for file selection is given in Table D 2 To cancel the updating cut off the power supply of EM 481 or wait until automatic completion of updating mode Ta...

Страница 40: ...Similar to No 2 but the file with an error has less priority The error is automatically corrected with available files of updating 4 The files of updating are not available Escape from the mode of upd...

Отзывы: