User Manual ETG
User Manual ETG
l / Seria
Gateway
ETG-485
Ethernet / Serial
Gateway
1
ETG-485 Ethernet
l / Seria
Gateway
TABLE OF CONTENTS
SECTION 2 INSTALLATION...............................................................................9
2.1 Definitions on ETG-485.............................................................................................. 9
2.2 Configuring ETG-485 ...............................................................................................10
2.3 Required Installations for Configuration Software........................................11
2.3.1 Installation of ETG-485 USB Driver......................................................................12
2
ETG-485 Ethernet
l / Seria
Gateway
FIGURES
3
ETG-485 Ethernet
l / Seria
Gateway
TABLES
4
ETG-485 Ethernet
l / Seria
Gateway
ETG-485
Ethernet/Serial Gateway
1. GENERAL INFORMATION
5
ETG-485 Ethernet
l / Seria
Gateway
ETG-485 converts between MODBUS and Ethernet protocols and allow user to:
Control and monitor serial devices in the plant over the Internet or local area network
with server mode.
Control and monitor devices, that support Ethernet-based protocols, over the serial
interface with client mode.
Server Mode:
While operating in the server mode, ETG-485 converts MODBUS RTU Over TCP, TCP
and MODBUS ASCII Over TCP queries that had received from the Internet or local area
network to MODBUS RTU and MODBUS ASCII queries and forwards them to serial
devices. It converts the response it had received from the devices to query protocol and
sends it to the querying device (master).
Serial Device -1
ETHERNET
ETHERNET
6
ETG-485 Ethernet
l / Seria
Gateway
Client Mode:
While operating in the client mode, ETG-485 converts MODBUS RTU and MODBUS ASCII
queries that had received from the serial port to MODBUS RTU Over TCP, TCP and
MODBUS ASCII Over TCP queries and forwards them to remote devices connected to the
Internet or local area network. It converts the response it had received from the devices
to query protocol and sends it to the querying device (master).
ETHERNET
ETHERNET
RS485
ETHERNET
ETG-485
Modem Modem
USB-RS485 / RS232-R5485
converter
(TCP/IP)
7
ETG-485
Ethernet/Serial Gateway
2. INSTALLATION
8
ETG-485 Ethernet
l / Seria
Gateway
SECTION 2 INSTALLATION
2.1 Definitions on ETG-485
Power Input
Reset Button
ON LED
Ethernet Port
RX/TX LED
USB Port
RS485 Port
U1-U2 Input:
ETG-485 is powered on from U1-U2 input. 18 … 50V AC/DC must be applied.
RST Button:
Device is restarted when it is pressed.
ON LED:
When the LED color is orange, that means device is powered on from only U1-U2 input.
When the LED color is orange, that means micro-usb cable is connected to ETG-485.
RX/TX LED:
When the LED color is orange, that means device is being responded to RX query.
When the LED color is blue, that means device is being responded to TX query.
If RX/TX queries come to ETG-485 rapidly, RX/TX LED color can be seem as white.
9
ETG-485 Ethernet
l / Seria
Gateway
Ethernet Port:
Ethernet cable must be inserted.
USB Port:
Micro-USB cable must be inserted to this port. Device can power on with USB port as well. If
operator wants to use Gateway Master must be connected to PC over micro-usb cable.
RS485 Port:
It provides to communicate with the devices that support Modbus Protocol.
1) Using Gateway Master software over USB port. (will be explained in “Section 3”)
10
ETG-485 Ethernet
l / Seria
Gateway
2) Writing ETG-485’s IP address to the Gateway Master. (will be explained in “Section 4”)
2) Writing ETG-485’s IP address to the Web browser. (will be explained in “Section 4”)
NOTE: In order to access ETG-485’s web interface; operator should change ETG-485’s default
IP and other related settings with using Gateway Master software.
In order to configure ETG-485 over USB port, required installations will be explained in
this section.
Operator can find necessary files in the CD that is in product box.
11
ETG-485 Ethernet
l / Seria
Gateway
Run GatewayMaster.exe which resides in the CD that comes with the product.
After selecting the desired target where software will be setup, click on the “Next” button
and continue with the next step.
Figure 2-5
12
ETG-485 Ethernet
l / Seria
Gateway
Setup wizard will show a list summarizing the content to be installed. Click the “Next”
button again and start setup. When setup is completed, finish the setup by the word
“Finish”.
13
ETG-485 Ethernet
l / Seria
Gateway
After click “Finish” button, USB Driver setup screen shown. An example of
installation of ETG-485 was explained below..
14
ETG-485
Ethernet/Serial Gateway
3. CONFIGURATION SOFTWARE
15
ETG-485 Ethernet
l / Seria
Gateway
If ETG-485 is connected to the PC via USB cable, virtual COM port to which ETG-485
connects will be listed in the software as in Figure 3-2. If the correct port doesn’t appear
on the list, the list can be updated by clicking the “Refresh” button.
NOTE: If the virtual serial port to which ETG-485 connects is not known, it can be selected
as shown in Figure 3-2. After the correct port is selected, software connection to ETG-485 is
ensured by pressing “Connect” button.
16
ETG-485 Ethernet
l / Seria
Gateway
NOTE: After the connection, “Device Information”, “Serial Configuration”, “Network Settings”,
“Gateway Configuration”, “About”, “Disconnect”, “Read” and “Write” tabs will be enabled and
they will be visible on the tabs concerning up-to-date configuration settings of the connected
ETG-485. ETG-485 must not be disconnected from the USB without clicking the “Disconnect”
button. ”Security Configuration” will be enabled when connected via ethernet.
In this tab, settings for the network to which ETG-485 connects are made. Meanings of
the terms used in this tab are briefly as follows:
17
ETG-485 Ethernet
l / Seria
Gateway
MAC Address:
Represents the physical address of every device that can be connected to the network.
It is assigned to the devices during production by the producing company and cannot
be changed by the user. Even if they have the same brand and model, MAC address has
to be different for every device. MAC address is a 48 bit data. They are shown in the order
of hexadecimal numbers as follows:
Example:
C4 : 29 : 1D : 00 : 00 : 00
IP Address:
It is the address taken within a network, by a device connected to the network. It is a
form of logical addressing but not physical addressing. With the provision that they are
in different networks, there can be many devices with the same IP address . IP addresses
can be changed by the user. In IPv4 standard, IP addresses are represented by 4 bytes.
They are shown in the order of decimal numbers as follows:
Example:
192.168.35.15
Gateway Address:
Gateway is a network hardware connected to the local area network (LAN) and wide
area network (WAN) at the same time. There are different IP addresses in the local area
network and wide area network. Gateway address is the IP address of the gateway in
the local area network. Data packages forwarded to this IP address are handled in the
gateway and transferred to the wide area network.
LAN 1 LAN 2
WAN
Gateway1 Gateway 2
18
ETG-485 Ethernet
l / Seria
Gateway
Subnet Mask:
It is used in determining whether two IP addresses are in the same network or not.
Ping:
Ping command is a general command that queries the existence of a device in a particular
IP address in a network. By this command, it is also possible to check whether ETG-485
is connected to the network properly. If this option is enabled, ETG-485 responds to the
ping query, if it is not, ETG-485 does not respond to the ping query.
19
ETG-485 Ethernet
l / Seria
Gateway
In this tab, serial communication settings of ETG-485 are made. Values in this tab should
be selected in accordance with the devices with serial interfaces in the MODBUS network.
If these values are not set in accordance with the MODBUS network, a healthy serial
communication will not be performed. Default serial communication settings for
ETG-485 are as follows:
Baud Rate:
ETG-485 supports 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600 and 115200
baud rates.
Stop Bit:
ETG-485 supports 1 and 2 stop bit.
Parity:
ETG-485 supports single parity and double parity modes and modes without parity.
20
ETG-485 Ethernet
l / Seria
Gateway
21
ETG-485 Ethernet
l / Seria
Gateway
Physical Port:
In the server mode, notification areas in MODBUS Request Side (interface in which
information will be requested from ETG-485) pane and settings that can be performed
are as follows:
Protocol:
Types of MODBUS queries coming to ETG-485 over the Ethernet connection is identified
by the help of this area. Either MODBUS RTU Over MODBUS TCP, TCP or MODBUS ASCII
Over TCP is selected.
Port:
Port to which ETG-485 will listen.
Timeout:
In the server mode, if a new query does not come to ETG-485 until the end of timeout
period at the query side, ETG-485 shuts down the TCP connection to the machine
sending query and allocates resources for the new TCP connections. If the time between
the two queries is greater than the timeout period, a new TCP connection should be
made before the query is sent.
Physical Port:
It is for notification purposes. While running in the server mode, MODBUS responses
have to come to ETG-485 over serial connection.
Protocol:
Types of MODBUS responses coming to ETG-485 over serial connection is identified by
the help of this field. Either MODBUS RTU protocol or MODBUS ASCII protocol is selected.
Timeout:
It is the wait time for response from each device on ETG-485’ s MODBUS network. If no
response is received from the device to which the query is sent, switching to the next
remote connection query is performed.
22
ETG-485 Ethernet
l / Seria
Gateway
QUERY
MODBUS TCP MODBUS TCP MODBUS RTU
1 2 3
NETWORK ETG-485
6 5 4
MODBUS TCP MODBUS TCP MODBUS RTU
RESPONSE
Figure 3-8 Server Mode Data Communication Scenario
Serial communication parameters of the serial device in slave status are as follows:
23
ETG-485 Ethernet
l / Seria
Gateway
1. MODBUS TCP query created by the software in the computer is sent to the network
via Ethernet port.
2. Being connected to the same network, ETG-485 takes MODBUS TCP from the Ethernet
port and converts it to MODBUS RTU query.
3. ETG-485 forwards the converted query to the serial device via serial port and waits
for response until timeout period expires (1 second is assumed to be enough for this
scenario).
4. Serial device forwards the data that comes from ETG-485 and that correspond to
MODBUS RTU query to ETG-485 in the form of MODBUS RTU response from its serial
port. ETG-485 receives the response from its serial port and converts it to MODBUS TCP
response.
5. ETG-485 sends the converted MODBUS TCP response to the network via Ethernet port.
6. Software in the computer notifies the user by using MODBBUS TCP response it had
received from the network.
Taking this into account, serial communication and gateway settings of ETG-485 should
be configured as follows:
24
ETG-485 Ethernet
l / Seria
Gateway
Physical Port:
It is for notification purposes. While running in the client mode, MODBUS responses
have to come to ETG-485 over the serial connection.
Protocol:
Types of MODBUS responses coming to ETG-485 over serial connection is identified
by the help of this field. Either “MODBUS RTU” protocol or “MODBUS ASCII” protocol is
selected.
Physical Port:
It is for notification purposes. While running in the client mode, MODBUS queries have
to come to ETG-485 over the Ethernet connection.
Protocol:
Types of MODBUS responses coming to ETG-485 through Ethernet connection is
identified by the help of this field. Either MODBUS RTU Over TCP, TCP or MODBUS ASCII
Over TCP is selected.
Port:
Port to which ETG-485 will listen.
Target IP Address:
Port to which ETG-485 will connect.
Timeout:
Throughout this period, ETG-485 waits response for the last query it had sent to the
slave devices. If it does not receive any response over this period, it waits for a new query
from the serial interface.
25
ETG-485 Ethernet
l / Seria
Gateway
1. MODBUS ASCII query created by the software in the computer is sent to ETG-485 via
serial port.
2. ETG-485 receives MODBUS ASCII query from its Ethernet port and converts it to
MODBUS TCP query.
3. ETG-485 forwards the converted query to slave device via the Ethernet port and waits
for the response until timeout period expires (1 second is assumed to be enough for this
scenario).
4. Slave device forwards the data that correspond to MODBUS TCP query and come
from ETG-485 to ETG-485 in the form of MODBUS TCP response from its Ethernet port.
ETG-485 receives the MODBUS TCP response from the Ethernet port and converts it to
MODBUS ASCII response.
5. ETG-485 sends the converted MODBUS ASCII response to the computer via the serial
port.
6. Software in the computer notifies the user by using MODBBUS ASCII response it
receives from the network.
26
ETG-485 Ethernet
l / Seria
Gateway
QUERY
MODBUS ASCII MODBUS TCP MODBUS TCP
1 2 3
ETG-485 NETWORK
6 5 4
MODBUS ASCII MODBUS TCP MODBUS TCP
RESPONSE
Serial communication parameters of the serial device in master status are as follows:
Taking this into account, serial communication and gateway settings of ETG-485 should
be configured as follows:
27
ETG-485 Ethernet
l / Seria
Gateway
When the “Write” button is pressed, changes made will be saved and ETG-485 will start
from the beginning.
28
ETG-485
Ethernet/Serial Gateway
4. WEB INTERFACE /
CONNECTION VIA ETHERNET
29
ETG-485 Ethernet
l / Seria
Gateway
Home page of the Web interface can be accessed by writing ETG-485’ s default IP
address 192.168.35.15 on the address line of the Web browser or by writing the assigned
IP address using configuration software. Default password is “Pass”. For the reason that
ETG-485 is a device that can be accessed from the Internet, it is important to change
the default password for security. Steps for changing the password will be explained in
detail below.
If the password is entered correctly, configuration tabs will appear on the screen.
30
ETG-485 Ethernet
l / Seria
Gateway
Except security settings, Web interface is very similar to the configuration software
from the design point of view. Therefore tabs except the “Security Settings” tab are not
covered in detail here.
After the desired configurations are made, settings can be saved by pressing the “Apply”
button.
31
ETG-485 Ethernet
l / Seria
Gateway
After the desired configurations are made, settings can be saved by pressing the “Write”
button.
32
ETG-485
Ethernet/Serial Gateway
5. TECHNICAL SPECIFICATIONS
33
ETG-485 Ethernet
l / Seria
Gateway
Operating Temperature
-10…60 °C
Isolation
1.5kV RMS
Ethernet
10/100 Base-TX
Network Feature
6 Remote Connection
Ability to Configure by the Web Interface
DHCP (Automatic IP Receive)
ARP
Ping blocking
Serial Communication
Supports up to 64 Devices
Baudrate: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200
Stop Bit and Parity Bit Adjustment
USB
Ability to Configure over USB
Micro USB Connection Interface
Supported Protocols
MODBUS TCP
MODBUS RTU Over TCP
MODBUS ASCII Over TCP
MODBUS RTU
MODBUS ASCII
34
ETG-485 Ethernet
l / Seria
Gateway
Dimensions
35
ETG-485 Ethernet
l / Seria
Gateway
36 2 02016
126