EMG Ethernet Modbus Gateway
User Manual
Rev 2.2
07/2010
CONTENTS
1. Introduction
1.1. General Features
1.2 Installing the Drivers
2. Configuration
2.1 Main Device Parameters
2.1.1 RS485 Serial Communication Parameters
2.1.1.1 Baud Rate
2.1.1.2 Data Bit
2.1.1.3 Stop Bit
2.1.1.4 Parity Bit
2.1.1.5 Time-Out
2.1.1.6 Delay
2.1.2 Network Parameters
2.1.2.1 Connection Settings
2.1.2.2 DHCP
2.1.2.3 WEB Access
2.1.2.4 WEB Port
2.1.2.5 Log-in Timeout
2.1.2.6 Server IP
2.1.2.7 IP Address
2.1.2.8 Subnet Mask
2.1.2.9 Default Gateway
2.1.2.10 MODBUS/TCP Port
2.1.2.11 Link
2.1.3 Operating Modes (MODBUS/TCP /Tunnel Mode)
2.1.3.1 MODBUS/TCP Packet Structure
2.1.3.2 Tunnel Mode Packet Structure
2.1.4 Configuration example for communicating over ADSL modem
2.1 Reading/Changing the Configuration using the USB interface
2.2 Security settings
2.3 Reading/Changing the Configuration using the WEB interface
3. Firmware Updates
4. Appendices
Appendix A Differences between EMG model devices
Appendix B Query Interval and TCP Time-Out
1.Introduction
1.1 General Features
ENTES EMG family series MODBUS Gateway is a MODBUS/TCP protocol converter
that lets the users control their devices remotely through serial connection via the RS-485
protocol using TCP/IP protocol over the existing internet/intranet infrastructure. While it
is possible to monitor from one place with EMG-10, it is possible to monitor from 4
different places with EMG-02 and EMG-12.
Technical Data :
Table 1. EMG Series Technical Data
Category Description
Network Protocols TCP/IP, ARP, ICMP, HTTP, ModbusTCP
Serial Ports RS485 for Communication, USB Port for Configuration
Operating Modes ModbusTCP/RTU and Modbus Tunnel
Network Interface 10/100 Mbps auto-negotiation
Serial Communication
Formats
Serial Interface 300-115200 bps
Power Supply 9-24V AC - 9-30V DC or from USB port(~75 mA)
Insulation and Protection
Data Bits : 5-6-7-8 data bit
Stop Bit: 1-1.5-2 characters
Parity: Even-Odd-None
RS485 port: 500V
Ethernet port: 1500V
15KV ESD protection on USB port
10/1000 us (600W) transient pulse protection on RS485 port
1.2 Installing the drivers
Since the EMG series devices communicate through the computer USB port, the drivers
which come with the bundled CD must be installed to the computer before using the
device.
To install the drivers;
1. Connect the EMG series device to the computers through the USB port of
computer. The POWER LED on the device should turn on and the computer will
recognize the device automatically.
2. To locate the driver files manually, select “Install from a list or specific location”
option and click on “Next”.
3. On the next window, specify the location of the drivers and click on “Next”.
4. Click on “Continue” on the next window
5. The system will copy the necessary files to the computer.
6. Copying progress is finished and the EMG Series device is now ready to use.
7. After the installation is completed, the device can be seen using these steps:
My Computer → Control Panel → System → Device Manager → Universal
Serial Bus Controller
2. Configuration
2.1 Main Device Parameters
In order for the device to function properly, both the RS-485 serial communication parameters
and the network parameters have to be configured correctly. Incorrect or incomplete
configuration of these parameters can degrade the system performance and even disrupt the
existing network infrastructure.
Network Settings Serial Port Settings
Connection
Setting
Server Baud Rate 9600
DHCP Off Data Bit 8
WEB Access Off Stop Bit 1
Log-in Timeout 120000 ms Parity None
Link Auto Timeout 2000 ms
IP Address 192.168.2 240 Delay 50 ms
Gateway Address 192.168.2.1
Subnet Mask 255.255.255.0
Port 502
Operating Mode
MODBUS/TC
P
Table 2. EMG Factory Default Values