Connection
Setup Menu
Network Settings
Serial Settings
Wireless Settings
SNMP Settings
Change Password
Update Firmware
Factory Default
Save & Reboot
System Log
Ch.6 Configuration via Telnet
Connection
View Commands
Network Commands
Serial Commands
Username/Password Commands
System Commands
Ch.7 Configuration via LCD
LCD & Key Control
Main Menu
Network Setup
Port Setup
Status
System
Verification
Ch.8 Application
Com Port Redirector
TCP Server
TCP Client
4
SerialGate User Guide
Pair
Ch.9 Appendix
Troubleshooting
Firmware Update using FTP
Product Specification
5
SerialGate User Guide
Ch. 1 Introduction
This chapter is an introduction to SystemBase device server SerialGate series.
About this document
This guide is designed for users of SerialGate, for setting SerialGate’s configurations, status
monitoring, firmware update, and other administration work.
Who should read this document?
This guide is designed for SerialGate users and administrators. It is strongly recommended that
anyone trying to apply, use, and maintain SerialGate read this document. This guide deals with
the hardware-level integration issues and software-level configuration tips. It will be a great
starting point for any administrators who want to easily monitor and control SerialGate and its
connected devices.
6
SerialGate User Guide
Manual Contents
Introduction (Chapter 1) is a preface with general information and introductory notices.
Getting Started (Chapter 2) gives a brief introduction of SerialGate series, including features
and applications.
Hardware Descriptions (Chapter 3) explains the layout and pin specifications with block
diagram and drawings.
Installation (Chapter 4) helps you to connect SerialGate to serial and network environment. It
ends up with first time boot-up and status check.
Configuration via Web (Chapter 5) provides menu-by-menu guide for setting up the operation
environment for SerialGate via web browser.
Configuration via Telnet (Chapter 6) provides a list of commands for setting up the operation
environment for SerialGate via Telnet.
Configuration via LCD (Chapter 7) explains how to monitor status and working environment of
device server.
Application (Chapter 8) provides a variety of application examples widely used in industries.
Appendix (Chapter 9) provides firmware update guides and technical specifications for detailed
information.
7
SerialGate User Guide
SerialGate Documents
The following table summarizes documents included in the SerialGate document set.
Document Name Description
User Guide
Portview User Manual
COM Port Redirector User
Manual
TestView User Manual
If you need brief information on SerialGate or device servers in general, please visit our
company website at http://www.sy sbas.com/
to SerialGate as well as latest software and firmware updates. Available resources are as
follows:
Integration, configuration, and management tasks are
explained for the administrator
Guide for SystemBase device server management
application Portview
Guide for SystemBase COM Port Redirector
User Manual for testing Com port Redirector , TCP
Server/Client , UDP Server/Client
. You can view and/or download documents related
Document Name Description
SerialGate Spec Sheet Specifications for SerialGate products
An easy reading for anyone new to device server.
Deals with background and technology Past, present,
SerialGate White Paper
All documents are updated promptly, so check for the recent document update. The contents in
these documents are subject to change without any notice in advance.
and future of device servers along with the overview
of market environment
8
SerialGate User Guide
Technical Support
There are three ways you can get a technical support from SystemBase.
First, visit our website http://www.sysbas.com/
can read FAQ and a sk your own question as well.
Second, you can e-mail our technical support team. The mail address is tech@sysbas.com
kind of inquiries, requests, and comments are welcome.
Lastly, you can call us at the customer center for immediate s upp ort. Ou r te ch nical support team
will kindly help you get over with the problem. The number to call is 82-2-855-0501 (Extension
number 113). Do not forget to dial the extension number after getting a welcome message.
and go to ‘Technical Support’ menu. There you
. Any
9
SerialGate User Guide
Ch.2 Getting Started
This chapter includes SerialGate overview, main and distinctive features, package contents for
each product, and application fields.
Overview
SerialGate provides network connectivity to various serial devices (security devices,
communication peripherals, modems, data printing devices, industrial metering devices, etc.).
SerialGate supports RS232, RS422, and RS485 serial communication standards under various
communication speed, meanwhile auto-sensing 100baseTX Fast Ethernet and 10baseT
Ethernet connection.
Features
Various features of SerialGate make it a universal yet distinctive device server solution. Here we
present main features of SerialGate. Others will explicitly appear throughout this guide.
- Max 921.6Kbps serial speed
- RS-232, Combo(RS-422/RS-485) or All version (RS232/422/485)
- 10/100Mbps Ethernet port
- COM Port Redirector for better adaptability
- Extensive configuration and monitoring with Portview
- Firmware update via Web and FTP
- Configuration using Web, Telnet, SNMP, and Portview
- SDK package which enables customizing program development provided
10
SerialGate User Guide
Package Component
SerialGate package is composed of the following components. Make sure every component is
included in your package. All packages include a module and a CD with utilities and documents.
SerialGate device 1pc (RS232 model or Combo(RS422/ RS485) model)
Direct LAN Cable 1pc
Power adapter 1pc (for SerialGate-1010/1020/1010 ALL/1020 ALL)
Power Cable 1pc (for SerialGate-1040/1080/1160)
CD (Manual and utilities)
A-Class Device
This device is registered only for office use, and both the seller and the user must be
aware of this. If not correctly sold or purchased, please exchange with home use
device.
11
SerialGate User Guide
Application
SerialGate can be used in many practical applications in various fields. Here we present some
of them.
Network Serial Communication
PC and SerialGate are connected to the network, and a user gets an access to a device
connected to SerialGate on PC.
Serial Communication Tunneling
SerialGate enables a connection not restricted to distance between PC and serial device. To
enable this feature, a user should change its setting to TCP Server – TCP Client mode or UDP
Server – UDP Client mode referring to Chapter 5 of this manual. In this case, only data can be
transmitted while both data and control signal can be transmitted in Pair_Master and Pair_Slave
mode.
12
SerialGate User Guide
COM Port Redirection
With COM Port Redirection, a user can use serial port connected to SerialGate on the network
as if it is a serial port on PC.
Factory / Industrial Automation
PLC, Robot arms, Human-Machine Interface, Warehouse rails
Medical instruments, Inspection equipment controllers
Alarming units
Home Appliances / Electronic Devices
Power controller, Gaming machines
Scales, Gas detection units, Water & pollution metering devices
Data collection and distribution units
This chapter provides SerialGate's hardware information including block diagram, layout, pin
specification, dimensions and other hardware-related issues.
SerialGate-1010(W)/ALL Exterior
SerialGate-1010/ALL(Top)
SerialGate-
1010/ALL(Bottom)
SerialGate-1010/ALL
SerialGate-
1010W/ALL(Top)
SerialGate-
1010W/ALL(Bottom)
SerialGate-1010W/ALL
14
SerialGate User Guide
LED: Operation status of SerialGate. Next section describes the meaning of each
LED display status.
LAN port: 8-pin RJ45 jack which is used when connecting SerialGate to networking
devices such as Ethernet card, hub, and router.
Terminal block power connector: for connection of terminal block power cable
Power connector: for connection of DC 12V adapter cable
Serial: DB9 for RS232 and 5P Terminal Block for RS422/RS485
Termination Resistor S witch: Selection switch for termination resistor of RS422/485
Reset: SerialGate reboots if this button is pressed for less than 3 seconds. If pressed
for longer than 3 seconds, SerialGate will restore factory default settings.
Reset Button
SerialGate-1010(W)/ALL (Left Side)
15
SerialGate User Guide
SerialGate-1010(W)/ALL LED / RESET
LED Status Meaning
RDY
(G
REEN)
SRL
(Red)
WIFI(Green)
LAN
(Right Orange)
LAN
(Left Green)
Blink
On
Off
Blink
On
Off
On
Off
On
Off
Blink
Normal Operation
Power supplied to the device
No power supplied to the device
Serial data being transmitted
WIFI Link up
WIFI Link down
100baseT connection detected & LAN data transf
erred
10baseT connection detected & LAN data transfe
rred
Network connected
Network disconnected
LAN data being transmitted
< Reset button features >
Operation Result
Pressed for less than 3 seconds Restart SerialGate
Pressed for more than 3 secondsRestore factory default settings of SerialGate,
LED: Operation status of SerialGate. Next section describes the meaning of each
LED display status.
LAN port: 8-pin RJ45 jack which is used when connecting SerialGate to networking
devices such as Ethernet card, hub, and router.
Terminal block power connector: for connection of terminal block power cable
Power connector: for connection of DC 12V adapter cable
Serial: DB9 for RS232 and 5P Terminal Block for RS422/RS485
18
SerialGate User Guide
Termination Resistor S witch: Selection switch for termination resistor of RS422/485
Reset: SerialGate reboots if this button is pressed for less than 3 seconds. If pressed
for longer than 3 seconds, SerialGate will restore factory default settings.
Reset Button
SerialGate-1020(W)/ALL(Left Side)
SerialGate-1020(W)/ALL LED / RESET
LED Status Meaning
Normal Operation
Power supplied to the device
No power supplied to the device
Serial #1 data being transmitted
Serial #2 data being transmitted
WIFI Link up
WIFI Link down
100baseT connection detected & LAN data tran
sferred
10baseT connection detected & LAN data trans
ferred
RDY
(G
REEN)
SRL1
(Red)
SRL2
(Red)
WIFI(Green)
LAN
(Right Orange)
Blink
On
Off
Blink
Blink
On
Off
On
Off
On
LAN
Off
(Left Green)
Blink
Network connected
Network disconnected
LAN data being transmitted
19
SerialGate User Guide
< Reset button features >
Operation Result
Pressed for less than 3 seconds Restart SerialGate
Pressed for more than 3 secondsRestore factory default settings of SerialGate,
and the device will automatically reboot.
<RS-422/RS-485 Termination Resistor Setting>
Termination SW1 Termination SW2
SerialGate-1020(W)/ALL(Bottom)
SW Meaning
SW1 Resistor for Serial Port #1
SW2 Resistor for Serial Port #2
Power connector: for connection of DC9~30V adapter cable
Terminal block power connector: for connection of terminal block power cable
Reset button: SerialGate reboots if this button is pressed for less than 3 seconds. If
pressed for longer than 3 seconds, SerialGate will restore its factory default settings.
LED: Operation status of SerialGate. Next section describes the meaning of each LED
display status.
LAN port: 8-pin RJ45 jack connects SerialGate to networking devices such as Ethernet
card, hub, and router.
Serial: RJ-45 socket for serial ports (RS-232, or Combo(RS-422/RS-485))
23
SerialGate User Guide
SerialGate-1010/1020 LED / RESET
LED Status Meaning
PWR
(Red)
LAN
(Green)
RDY
(Red)
RS422 On
RS485 On
Serial Tx/Rx
LAN Port
On
Off
Off
On
Blink
On
Off
Green Blink
Orange Blink
On
Power supplied to the device
No power supplied to the device
No active network connection
Network activated
Normal operation
System Booting
System Error
Serial port set to RS422 mode (Combo model)
Serial port set to RS485 mode (Combo model)
Serial data transmitted
Serial data received
100baseT connection detected & LAN data tran
sferred
(Left Green)
Off
On
LAN Port
Off
(Right Orange)
Blink
< Reset button features >
10baseT connection detected & LAN data trans
ferred
Network connected
Network disconnected
LAN data being transmitted
Operation Result
Pressed for less than 3 seconds Restart SerialGate
Pressed for more than 3 seconds Restore factory default settings of SerialGat
e, and the device will automatically reboot.
24
SerialGate User Guide
SerialGate-1040/1080 Exterior
SerialGate-1040/1080 (Front)
SerialGate-1040 (RS232/Combo Version)
AC Version
DC Version
SerialGate-1080 (RS232/Combo Version)
AC Version
DC Version
Serial: RJ-45 socket for serial ports (RS-232, or Combo(RS-422/RS-485))
Power connector
AC Version : for connection of AC100~245V cable
25
SerialGate User Guide
DC Version : for connection of DC12V adapter cable
and for connection of terminal block power cable
Reset: SerialGate reboots if this button is pressed for less than 3 seconds. If pressed for
longer than 3 seconds, SerialGate will restore factory default settings.
LED: Operation status of SerialG ate. Ne xt section de scribes the meaning of each LED
display status.
WAN: Main network port used when connecting SerialGate to networking devices such
as Ethernet card, hub, and router.
LAN: Sub-network port used as DHCP Server. Assigns IP address to a device connected to
sub-network.
SD / MMC: SD memory card works fo r system log. Available up to 32 Gbytes. (SD memory
not included in the package)
SerialGate-1040/1080 LED / RESET
<LED Feature>
LED Status Meaning
PWR
(R
ED)
RDY
(Green)
WAN
(Green)
LAN
On
Off
Blink
On
Off
Off
On
Off
Power supplied to the device
No power supplied to the device
Normal operation
System Booting
System Error
Deactivate main network
Activate main network
Deactivate sub network
(Green)
Serial Tx/Rx
(Green/Orange)
WAN/LAN On
On
Blink
Blink
Activate sub network
Serial data transmitted
Serial data received
100baseT connection detected & LAN data transf
erred
26
SerialGate User Guide
(Left Green)
Off
10baseT connection detected & LAN data transfe
rred
On
WAN/LAN
Off
(Right Orange)
Blink
< Reset button features >
Connected to network
Disconnected to network
LAN data being transmitted
Operation Result
Pressed for less than 3 seconds Restart SerialGate
Pressed for more than 3 secondsRestore factory default settings of SerialGate,
and the device will automatically reboot.
27
SerialGate User Guide
SerialGate-1160 Exterior
Serial: RJ-45 socket for serial ports (RS232, 422,485). A user can select protocol in web
browser.
Power connector: for connection of 100 ~ 245 VAC cable
Reset: SerialGate reboots if this button is pressed for less than 3 seconds. If pressed for
longer than 3 seconds, SerialGate will restore factory default settings.
LED: Operation status of SerialG ate. Ne xt section de scribes the meaning of each LED
display status.
WAN: Main network port used when connecting SerialGate to networking devices such
as Ethernet card, hub, and router.
LAN: Sub-network port used as DHCP Server. Assigns IP address to a device connected to
sub-network.
28
SerialGate User Guide
SD / MMC: SD memory card works fo r system log. Available up to 32 Gbytes. (SD memory
not included in the package)
LCD: CLCD (16 * 2 line). Configuration and monitoring SerialGate via LCD.
LCD Button: Composed of 4 keys to control LCD. (Esc, Enter, Left, Right)
SerialGate-1160 LED / RESET
<LED feature>
LED Status Meaning
PWR
(W
HITE)
WAN/LAN
(Green)
WAN/LAN
(Orange)
Serial Tx
(Green)
Serial Rx
(Orange)
On
Off
On
Off
Blink
On
Off
Blink
Blink
Power supplied to the device
No power supplied to the device
Connected to network
Disconnected to network
LAN data being transmitted
100baseT connection detected & LAN data tran
sferred
10baseT connection detected & LAN data trans
ferred
Serial data transmitted
Serial data received
< Reset button features >
Operation Result
Pressed for less than 3 seconds Restart SerialGate
Pressed for more than 3 secondsRestore factory default settings of SerialGate,
Data Carrier Detection (Input)
Receive Data (Input)
Transmit Data (Output)
Data Terminal Ready (Output)
Ground
Data Set Ready (input)
Request to Send (Output)
Clear to Send (Input)
Ring Indicator (Input)
Transmit differential data positive
(Output)
Transmit differential data negative
(Output)
Receive differential data positive
(Input)
Receive differential data negativ e
(input)
1TRXD+
2TRXD-
3GND Ground
Transmit/Receive differential data
positive
Transmit/Receive differential data
negative
This chapter explains how to install SerialGate. It deals with LAN and serial connection guides
for SerialGate to operate together with the target serial device.
Connection Guide
In order to connect SerialGate to network, you need to use RJ45 Ethernet port. It supports both
10Mbps and 100Mbps Ethernet connection (auto-sensing). Since SerialGate’s WAN/LAN port
supports MDIX, it automatically detects any kind of cable. (Cross or direct LAN cable) Plug one
end of a LAN cable to SerialGate and the other end to a hub, switch, or any other network
device.
First-Time Bootup
First of all, please make sure that the power input you supply to the module is corresponding with the
SerialGate model that you have. If an appropriate power input has been successfully supplied,
SerialGate will power on and start booting.
Although there is no power LED to check the status, you can check by LEDs on the RJ45 Ethernet port.
LED status operation is described in Chapter 3. Hardware De scription.
An IP address is required to access SerialGate’s web interface or telnet command-line configuration
tool. By factory default, a static IP address is assigned to SerialGate. After the initial connection, you
can either manually assign a different IP address or set SerialGate to automatically get an IP address
from a DHCP server. While this depends on your network environment and policy, it is strongly
recommended that a user assigns SerialGate with a unique static IP.
Connecting to SerialGate
In order to view current SerialGate’s settings or modify them, you need to make a Web or Telnet
connection to SerialGate. IP address is required information to make a connection.
There are two ways you can know the current IP address of Eddy.
33
SerialGate User Guide
If SerialGate’s WAN port uses assigned IP address from DHCP server or is set to a fixed IP address,
SerialGate supports the following options in case that a user does not know IP address.
For SerialGate-1010/1020, SerialGate-1010(W)/ALL, SerialGate-1020(W)/All
1. A user can connect to SerialGate LAN port’s virtual IP address; “10.10.1.1”
2. A user can search IP address pre-set to SerialGate using “Detector” application enclosed in Utility &
Documents CD and connect to SerialGate.
For SerialGate-1040/1080/1 160
1. A user can connect to SerialGate LAN port’s default IP address; “10.10.1.1”.
2. Connecting a serial console port to a PC’s serial port, a user can set 115,200bps and connect to a
SerialGate.
3. A user can search IP address pre-set to SerialGate using “Detector” application enclosed in Utility &
Documents CD and connect to SerialGate.
WAN Default IP address: 192.168.0.223
SerialGate’s default IP address is set to 192.168.0.223. In order to
connect with this address, you need to change network configurations
so that your PC can connect to the IP 192.168.0.223. Please refer to
an example below, and note that values don’t necessarily have to be
identical to the example below.
LAN Sub IP address: 10.10.1.1
For SerialGate-1010/1020, LAN port’s virtual IP address is 10.10.1.1
while LAN port’s default IP address fo r SeroalGate-1040/1080/1160 is
10.10.1.1. In order to connect with this address, you need to change
network configurations so that your PC can connect to the IP
10.10.1.1. Please refer to an example below, and note that values
don’t necessarily have to be identical to the example below .
34
SerialGate User Guide
Serial Console Port
SerialGate-1040/1080/1160 supports console
port. If a user connects console port and a
PC’s serial port with a serial cable, and run
communication program such as
hyperterminal, a user can make a
configuration as 115200 bps, None Parity, 8
Data bits, 1 S top Bit and connect to a device.
Connection via portview
By running the portview program in the
Utility & Documents CD included in the
SerialGate package, you can dynamically
search all SerialGates on the network and
connect to any of them. (For more
information on portview, please refer to the
Portview manual in the Utility & Documents
CD included in the SerialGate package)
After running portview, click Search button.
You can view the list that is running in your network. Select the module that you would make a
connection to, and click Telnet or Web to connect to the device via Telnet or Web, respectively .
you can modify and apply the IP address of serialgate via this program.
Now, you are ready to con nect to SerialGate! There are three optio ns to configure SerialGate.
1) Configuration via Web
A user can easily configu re SerialGate with web interfac e, accessible from any web bro wser. For more
information, please refer to Chapter 5. Configuration via Web.
2) Configuration via Telnet
A user can configure SerialGate with commands after accessing SerialGate through Telnet. For more
information, please refer to Chapter 6. Configuration via Telnet.
3) Configuration via Portview
A user can use a Windows-based utility Portview from SystemBase to monitor SerialGate. For more
information on using the utility for your administration purpose, please refer to Portview User Guide.
35
SerialGate User Guide
Ch. 5 Configuration via Web
Connection
Open web browser and enter the IP address of SerialGate to access SerialGate’ s web man ager.
Once you are successfully connected, the following page will show up. You need to enter
appropriate username and password to login. Please note that this username and password are
used as authentication method for Telnet as well. This means if username or/and password has
been modified from the web interface, modified values have to be entered to connect to Telnet,
and vice versa.
If login process is successful, you will see a web manager’s main page, showing summary of
your device. On the left, you will see a setup menu, and you can navigate through these options.
37
SerialGate User Guide
The followings are main features of Setup Menu.
Menu Description
Summary Confirm basic information about SerialGate
Network Settings Configure network connection settings.
Serial Settings Configure detailed operation environment for serial communication
SNMP Settings Configure detailed operation environment for SNMP
Change Password Change ID and password for both Web and Telnet interface
Update Firmware Update SerialGate’s firmware
Factory Default Restore all the factory default settings.
Save & Reboot Save the configurations and reboot SerialGate
System Log View system log of SerialGate (SerialGate-1040/1080/1160)
38
SerialGate User Guide
Network Settings
In Network Settings, a user can configure general network environment and network
management.
After changing values, you need to click ‘Apply’ button. If you don’t want to change, you need to
click ‘Cancel’ button. If you change the IP address, you must reconnect via changed IP address.
SerialGate-1010/1020/1010(W) ALL/1020(W) ALL
39
SerialGate User Guide
SerialGate-1040/1080/1160
40
SerialGate User Guide
The followings are main features of WAN Config uration.
Menu Default Description
Device
Name
Line Type St atic IP IP obtaining method for SerialGate’s network connection.
IP Address
Subnet
Mask
Gateway
DNS 168.126.63.1 Domain Name Service IP address
SerialGate Name of the current device
Current IP address SerialGate is assigned to.
192.168.0.22
3
255.255.255.
0
192.168.0.25
4
(When line type is Static IP, manually enter an appropriate IP
address. When line type is DHCP, current IP is displayed, but it
is not editable.)
Current subnet mask SerialGate is assigned to.
(When line type is Static IP, manually enter an appropriate
subnet mask. When line type is DHCP, current subnet mask is
displayed, but it is not editable.)
Current default gateway SerialGate is assigned to
(When line type is Static IP, manually enter an appropriate
default gateway. When line type is DHCP, current default
gateway is displayed, but it is not editable.)..
For SerialGate-1040/1080/1 1 60, the main features of LAN Configuration are as follows.
Menu Default Description
DHCP Server Enable Enable or disable DHCP server.
IP Address 10.10.1.1 Set the current IP address
Subnet Mask
Lease Start
Address
Lease End
Address
Lease Time 180 IP address lease time
255.255.255.
Set Subnet Mask address
0
If DHCP server is enabled, start address of the DHCP scope
10.10.1.2
for leasing.
If DHCP server is enabled, end address of the DHCP scope
10.10.1.30
for leasing.
41
SerialGate User Guide
Main features for Network Service Configuration are as follows.
Menu Default Descriptions
Set the IP address and the socket number of the PC where
PortView
IP / Port
Telnet
Service
FTP
Service
WEB
Service
SSH
Service
0.0.0.0 / 4000
Portview is installed. For more information about Portview,
please refer to the Portview User Manual.
If IP is set to 0.0.0.0, this feature is disabled
Enable or disable Telnet service.
Enable
If disabled, you cannot connect to SerialGate via Telnet.
Enable or disable FTP service.
Enable
If disabled, you cannot connect to SerialGate via FTP.
Enable or disable Web service.
Enable
If disabled, you cannot connect to SerialGate via Web.
Disable Enable or disable Secure Shell service.
42
SerialGate User Guide
Serial Settings
A user can set the communication and operation environment for the se rial port.
After changing values, you need to click ‘Apply’ button. If you don’t want to change, you need to
click ‘Cancel’ button.
43
SerialGate User Guide
Serial settings for SerialGate are as follows.
Menu Default Descriptions
Select the operation protocol that will be applied in the serial port.
Disable
Disable the serial port.
COM Redirector
Use the serial port of SerialGate as a virtual COM port in Windows
2000/XP/2003/Vista.
TCP Server
SerialGate works as a socket server , waiting for the client connection
on the network. Socket number for awaiting connections can be set
Operation
Mode
in ‘Local socket port’ field. After socket connection, data between
socket and serial port will be transmitted.
TCP Client
SerialGate acts as a socket client in this mode. It tries to connect to
the server IP address and the socket number assigned when a
certain server waits for connectio n on the network.
COM
All data between the socket and the serial port is transferred
untouched after the socket connection is established.
TCP Broadcast
SerialGate works as a server, accepting up to 5 simultaneous
connections from socket clients. Data transmitted from SerialGate is
broadcast to each socket client.
TCP Multiplex
SerialGate works as a server, accepting up to 5 simultaneous
connections from socket clients. The difference between TCP
Broadcast and TCP Multiplex is that Multiplex allows each socket to
communicate exclusively. That is, serial data in response are only
transferred to the sender socket.
UDP Server
SerialGate works as a UDP server, waiting for UDP connection from
the client on the network.
Socket number for awaiting connections can be set in ‘Local socket
44
SerialGate User Guide
Menu Default Descriptions
port’ field.
Once a UDP packet is received to the socket that waits for the
connection, the data is transmitted to the serial port. The data input
from the serial port is put into UDP packets, which eventually are
sent to the client.
UDP Client
When the data is input to the serial port, UDP packets are sent using
the preset IP address and the socket number of the server.
Pair_Master/ Pair_Slave
It extends a serial cable between DTE and DCE to network, and
enables communication not limited to distance. Two devices are
required for this feature and set one to Pair_master and another to
Interface
Pair_Slave. It can be used for serial communication tunneling.
MODBUS ASCII
Connect MODBUS/ASCII SLAVE using serial port and make user of
MODBUS/TCP MASTER feature using LAN port in PC. This featur e
enables MODBUS media converter function. (Available for
SerialGate-1010/ALL).
User Application
A user can run own customized program. In order to run it, a user
needs to ask for application development environment to
SystemBase.
RS232 model is set to RS232.
Combo model is selectable between RS422, RS485(No-Echo) and
RS485(Echo). Default value is RS422.
RS232,
All model is selectable between RS232, RS422, RS485(No-Echo)
RS422
and RS485(Echo). Default value is RS232.
RS485
SerialGate-1160 model is selectable between RS232, RS422,
RS485(No-Echo) and RS485(Echo). Default value is RS232. and
termination can be configured.
Local
Socket
Port
Port Alias Port1 Name each port for convenience. 16 Characters at maximum.
4001
Set the socket number for the port. TCP server and UDP server
operation mode makes use of this port for awaiting network socket
Set the signal line checking method for the device to be connected to
the given serial port.
If the mode is set to Data Only, only TxD, RxD, and GND signal lines
are used in inter-device communication.
If the mode is set to Modem Signals, all modem signals except
Remote
IP
Address /
Port
0.0.0.0 /
4000
RI(Ring Indicator) are asserted, tested, and used in communication.
(Options: Data Only, Modem Signals)
If the Operation Mode is in TCP Client or UDP Client or Pair_Master
mode, set the IP address and the socket number to connect to.
46
SerialGate User Guide
Menu Default Descriptions
After a certain amount of time passes without any communication
after the socket connection between the given serial port and the
server is established, automatically disconnect the socket
connection. Valid from 0 to 32767 sec.
For example, if the operation mode is set to TCP Server and Alive
Check Time is configured to 10, TCP Server will listen for the client’s
connection and eventually establish a connection. Since the check
time is 10 seconds, the server will wait for 10 seconds until the client
Keepalive
Check
Time
connected to it sends any packet. If there is no data for 10 seconds,
server will quit the connection and return to the listening state. This
0
option is helpful in preventing communication obstacles that occur
when either SerialGate or the client quits unexpectedly (i.e. Sudden
black out, reboot, LAN cable cut, etc.). In these cases, the other part
of communication might not recognize the failure of its partner. Such
misunderstanding can cause communication errors.
If the value is set to 0, this function is disabled. Once connected
socket will be retained until explicitly disconnected.
(Only applies to TCP Client, TCP Server, TCP Broadcast, and TCP
Multiplex operation modes.)
This needs to be set when consecutive data from the given serial
port needs to be transmitted to socket at once.
For example, if 100 bytes of character string are to be transmitted
from the serial device to a server through SerialGate, bypass is set to
Latency
0
Time
0 for the latency time. Although it provides immediate sen ding
through SerialGate, the server could be received a lot parts of
divided packets.
If the latency time is not 0, SerialGate will wait for the time and check
new data. If there is new data, SerialGate repeatedly wait for the
time. Otherwise, SerialGate will transfer the buffered data, but it
could not run in real time.
47
SerialGate User Guide
Menu Default Descriptions
When the Operation Mode is set to TCP Server, ask for the
Port Login Disable
Passive
serialgate
Username
Passive
99999999
Password
username and password when the client tries to connect
(Options: Enable, Disable)
When the Operation Mode is set to TCP Server, set the username to
ask for. 16 Characters at maximum.
When the Operation Mode is set as TCP Server, set the password to
ask for. 16 Characters at maximum.
48
SerialGate User Guide
Wireless Settings
Only for SerialGate-1010w/ALL & Serial Gate-1020w/ALL
A user ca n set the wireless network parameters.
After changing values, you need to click ‘Apply’ button. If you don’t want to change, you need to
click ‘Cancel’ button.
If you use the same network between LAN and WIFI, This environment is not working normally.
And so when you use the WiFi, you only use the LAN for configuration.
49
SerialGate User Guide
Menu Default Description
When enabled, WiFi is available.
Wireless Network Disable
Wireless Mode
Wireless Network
Name
(SSID)
Infrastructure
none
•Disable: WiFi is not available.
•Enable: WiFi is available.
Set the wireless LAN mode.
(Option: Infrastructure, Ad-Hoc)
•Infrastructure : Use WiFi under the Infrastructure
mode. This mode is used for connecting to the wireless
AP (Access Point) as a client to connect to other
network.
•Ad-Hoc : Use WiFi under the Ad-hoc mode. This mode
is used for 1:1 communication with another Ad-hoc
client.
Sets the identification (SSID) of a wireless network to be
connected.
(Case sensitive & Up to 32 bytes using alphabets and
numbers) SSID should be same for all devices on the
same wireless network.
Selects a frequency channel for wireless connection.
Channel
Bitrate
(Option: Auto, 1 ~ 13)
•Auto: Connect a channel specified in AP automatically.
Auto
In most cases, this setting is used.
•Value Specification: Specify a channel to be connected
manually.
Sets the speed for wireless connection.
(Option: Auto, 1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36, 48,
54Mbps)
Auto setting adjusts the speed depending on signal
sensitivity and noise. In most cases, this setting is used.
Auto
If Wireless Network mode is set to 802.11b/g Mixed, all
options can be selected.
802.11b only allows setting as 1, 2, 5.5 and 11Mbps.
802.11g only allows setting as 6, 9, 12, 18, 24, 36, 48
and 54Mbps.
50
SerialGate User Guide
If the setting is in low communication speed, it provides
more stable communication in an environment with a lot
of noise. Contrary to this, high communication speed
setting has higher risk of data loss in an environment
with a lot of noise.
Sets the maximum packet size to send a packet after
dividing into small pieces. (Range: 256 ~ 2346 bytes)
Communication overhead is increased but
Fragment
Threshold
2346
communication error can be reduced in serious
interference or noise environment.
In most cases, this setting is not used.
This feature will be disabled if 2346 is configured.
(Option: AUTO, OPEN, SHARED, WPAPSK, WPA2PS
K)
Authentication
Mode
AUTO
An authentication mode defines the procedure that th
e 802.11 device uses when it associates with an acc
ess point.
•AUTO : Specifies IEEE 802.11 Auto System authenti
cation.
•OPEN : Specifies IEEE 802.11 Open System authen
tication.
•SHARED : Specifies IEEE 802.11 Shared Key authe
ntication that uses a preshared WEP key.
•WPA-PSK : Specifies WPA security. Authentication i
s performed between the supplicant and authenticator
over IEEE 802.1X. Encryption keys are dynamic an
d are derived through the preshared key used by the
supplicant and authenticator.
•WPA2-PSK : Specifies WPA2 security. Authenticatio
n is performed between the supplicant and authentic
ator over IEEE 802 1X. Encryption keys are dynamic
and are derived through the preshared key used by t
he supplicant and authenticator.
(Option: NONE, WEP, TKIP, AES)
Encryption Type
NONE
Encryption modes define the set of cipher suites that can
be enabled on the 802.11 device.
•NONE : Encryption not used.
51
SerialGate User Guide
•WEP : Wired Equivalent Privacy (WEP) is the RC4based algorithm specified in the IEEE 802.11
specification.
•TKIP : Temporal Key Integrity Protocol (TKIP) is the
RC4-based cipher suite based on the algorithms defined
in the WPA and IEEE 802.11i specifications.
•AES : The Advanced Encryption Standard (AES)
defines an encryption algorithm in FIPS PUB 197.
Network Key none
Connection T ype DHCP
IP Address 192.168.1.72
Subnet Mask
255.255.255.
0
Type in Key value by Encryption Type.
Sets an IP address type in a wireless network.
(Option: DHCP, Static IP)
•DHCP : Assign a dynamic IP address through a DHCP
server.
•Static IP : Specify an IP address manually.
Sets an IP address of a wireless network.
If the line Type is Static IP, a user can enter an IP
address directly. If line type is DHCP, the current IP
address is displayed. In DHCP type, the address cannot
be changed.
Sets Subnet Mask of a wireless network.
If the line Type is Static IP, a user can enter a subnet
mask address directly. If line type is DHCP, the current
subnet mask address is displayed. In DHCP type, the
address cannot be changed.
Sets a gateway address of a wireless network.
If the line Type is Static IP, a user can enter a gateway
Gateway 192.168.1.1
DNS 168.126.63.1
address directly. If line type is DHCP, the current
gateway address is displayed. In DHCP type, the
address cannot be changed.
Sets a DNS server address of a wireless network.
If the line Type is Static IP, a user can enter a DNS
server address directly. If line type is DHCP, the current
DNS server address is displayed. In DHCP type, the
address cannot be changed.
52
SerialGate User Guide
SNMP Settings
A user can set the communication and operation environment for the SNMP Agent.
After changing values, you need to click ‘Apply’ button. If you don’t want to change, you need to
click ‘Cancel’ button.
SNMP V1/2 Attributes can read and write by SNMP Agent.
In order to read attributes only, change the feature to "ReadOnly".
In order to read and write attributes, change the feature to
"ReadWrite". (Options : ReadOnly/ ReadWrite)
SNMP V3 Attributes can read and write by SNMP Agent.
In order to read attributes only, change the feature to "ReadOnly".
In order to read and write attributes, change the feature to
"ReadWrite". (Options : ReadOnly/ ReadWrite)
53
SerialGate User Guide
V3 Username/
Password
serialgate
Configure the Username and the password when use SNMP V3.
/administr
The Password is at least 8 character string
ator
TRAP IP/ Port
System reset
notification
Port connect
notification
Port
disconnect
notification
0.0.0.0/162 Configure the server IP address and Port which receiv e the TRAP
information.
If Enable is selected, notify the “System reset info.”
Enable
(Option : Enable, Disable)
If Enable is selected, notify the “Serial Port opened info.”
Disable
(Option : Enable, Disable)
If Enable is selected, notify the “Serial Port Closed info.”
Disable
(Option : Enable, Disable)
54
SerialGate User Guide
Change Password
Change username and password for an access to W eb and Telnet.
After changing values, you need to click ‘Apply’ button. If you don’t want to change, you need to
click ‘Cancel’ button.
In case that a user forgot password, press Reset button for less than 3 seconds to restore the settings
back to factory default. However, please be aware that all other settings will be initialized and back to
factory default.
◆ Default us er id : serialgate
◆ Default p ass word : 99999999
55
SerialGate User Guide
Update Firmware
Firmware is an application embedded in Flash memory of SerialGate. Set the location of the firmware
file to update, using the ‘Browse…‘ button. The selected firmware will be transferred to SerialGate
when you click ‘St art Update’.
After the transmission is complete, SerialGate will be automatically restarted to operate with the new
firmware. Then your browser is reloaded on the login p age.
56
SerialGate User Guide
Factory Default
Restore all the configuration parameters to the factory default values. Clicking on ‘Restore Factory
Defaults’ button will delete all current settings and restore settings to the initial status, and SerialGate
will automatically reboot.
SG-1010, 1020, 1010(W)/ALL, 1020(W)/ALL : LAN Default IP Address 1 92.168.0.223, 10.10.1.1
SG-1040, 1080, 1 160 : W AN Default IP Address 192.168.0.223, LAN Default IP Address 1 0.10.1.1
If Factory Default is complete, it shows the initialized IP address, username and password as below,
and restarts the device.
57
SerialGate User Guide
Reboot
This menu provides the reboot function via web.
After reboot, your browser is reloaded on the login page.
58
SerialGate User Guide
System Log
This feature confirms SerialGate’s system log information. (Only available for SerialGate-
1040/1080/1160) It records system startup and shutdown time, ending time of each port connection,
configuration and so on.
C:\>telnet 192.168.0.223
SerialGate Login : serialgate
Password :99999999
#test_rtc –-s 2010 7 8 15 00 00 Set Current time (Year, Month, Date,
Hour, minute, second)
#test_rtc –-g setting time
Get ioctl RTC Time = 2010-7-8, 15:00:05 Shows time elapsed
#reboot
59
SerialGate User Guide
Ch. 6 Configuration via Telnet
Connection
Open your telnet client program and enter SerialGate’s IP address to connect. You need to enter
appropriate username and password to login. Please note that this username and p assword is u sed as
authentication method for Web as well. This means if username or/and password has been modified
from the telnet interface, modified values have to be entered to connect to web, and vice versa.
◆ Factory default username : serialgate
◆ Factory default password : 99999999
[def] commands - you can configure SerialGate’s setting s.
[def help] commands - you can view current SerialGate’s settings.
After changing values, you can see modified values with ‘set view’ commands. But, be careful
because these values are not in effect unless you issue a ‘def save’ command. Changes will be
discarded if you do not save current settings.
60
SerialGate User Guide
View Commands
Commands related to View are as follows.
Command Description
def view Show all information about SerialGate
def view wan Show WAN network settings
def view management Show managing items settings
def view serial Show serial port settings
def help Show command list and help
Network Commands
Commands related to configuration of general network environment and network management are as
follows.
Command Default Description
def mac
<Mac Address>
def line
[ip/dhcp]
def ip
<IP Address>
def mask
<Subnet mask>
00:05:f4:00:20:57Register SerialGate’s MAC address
Static IP IP obtaining method for SerialGate’s network connection
Display the current IP address
If line type is Static IP, manually enter an appropriate IP
192.168.0.223
255.255.255.0
address.
If line type is DHCP, it is not editable. Instead, current IP
address is shown.
Display the current subnet mask address
If line type is Static IP, manually enter an appropriate
subnet mask address.
If line type is DHCP, it is not editable. Instead, current
subnet mask address is shown
def gateway
<Gateway
address>
192.168.0.1
Display the current Gateway address
If line type is Static IP, manually enter an appropriate
Gateway address.
61
SerialGate User Guide
If line type is DHCP, it is not editable. Instead, current
Gateway address is shown
def dns
<IP Address>
def portviewip
<IP address>
def portviewport
<Port number>
def ftp
[enable/ disable]
def telnet
[enable/ disable]
def web
[enable/ disable]
def ssh
[enable/ disable]
168.126.63.1 Set IP address of Domain Name Service
Configures IP of PC which Portview is installed
If IP is set to 0.0.0.0, Portview feature is disabled.
0.0.0.0
(Please refer to Portview User Manual in SerialGate
Utility & Documents CD for detailed information.)
4000 Set the socket number of a PC which Portview is installed.
Enable or disable FTP service.
Enable
If disabled, you cannot connect to SerialGate via FTP.
Enable or disable Telnet service.
Enable
If disabled, you cannot connect to SerialGate via Telnet.
Enable or disable Web service.
Enable
If disabled, you cannot connect to SerialGate via Web.
Enable or disable SSH service.
Disable
If enabled, you can connect to SerialGate via SSH.
def ddns
[IP Address]
def ddnsuser
[username]
def ddnspass
[password]
def name
[SerialGate
name]
def snmp
[enable/ disable]
def v1readwrite
[enable, disable]
203.32.117.1
serialgate Set username to access DDNS server.
99999999 Set password to access DDNS server.
Product Name Set the name of SerialGate. (Max 32 bytes)
Disable
Disable
If you set DDNS server IP, DDNS service will be enable.
But if you set “0.0.0.0”, this service will be disabled.
Enable or disable SNMP(Simple Network Management
Protocol)
Configure interface of serial port.
def port x interface
[rs422,
ts485ne,
rs485e]
def port x socket
<port number>
def port x name
<name>
def port x speed
[150/300/600/1200/2
400/4800/9600/1920
0/38400/57600/1152
00/230400/460800/9
21600]
It is not available for RS232 model.
RS232,
RS422
4001
Port 1
9600bps Set communication speed.
Combo model can choose from RS422, RS485-No-Echo
and RS485-Echo.
SerialGate-1160 can choose from RS232, RS422 and
RS485.
Set the socket number for the port. Com_redirect, TCP
Server, TCP Multiplex, TCP Broadcast, UDP Server,
Pair_Slave modes make use of this port for awaiting
network socket connections.
Name each port for convenience. 16 Characters at
maximum
def port x data
[5 / 6 / 7 / 8]
def port x stop
[1 / 2]
def port x parity
[none/odd/even]
def port x flow
[none/xon/rts]
8 Set the number of bits in each character size.
1 Set the number of stop bits.
none Set parity bit check scheme.
none Set the flow control scheme.
64
SerialGate User Guide
Commands Default Description
def port x signal
[data/modem]
def port x remote
<IP address>
def port 1
remoteport
<socket number>
def port x keepalive
<0 ~ 65535>
def port x latency
<msec>
def port x txtrigger
[ auto, 1, 2, 4, 8, 16,
32, 64, 96, 128]
data
0.0.0.0
4000
0
0
Set txtrigger of each port.
Set the signal line checking method for the device to be
connected to the given serial port.
Set IP address of the server to be connected in TCP Client,
UDP Client, Pair_Master mode.
Set the socket number to connect to when the Operation
Mode is set to TCP Client or UDP Clie nt or Pair_Master
mode.
After a certain amount of time passes without any
communication after the socket connection between the
given serial port and the server is established, automatically
disconnect the socket connection.
This needs to be set when consecutive data from the given
serial port needs to be transmitted to socket at once.
def port x rxtrigger
[ auto, 1, 2, 4, 8, 16,
32, 64, 96, 128]
def port x fifosize
<1 ~ 128>
def port x login
<Enable/Disable>
def port x loginname
<username>
def port x loginpass
<password>
def port x
termination
<Enable/Disable>
Set rxtrigger of each port.
Set fifosize of each port.
When the Operation Mode is set to TCP Server, ask for the
Disable
username and password when the client tries to connect.
When the Operation Mode is set to TCP Server, set the
None
username to ask for(Max 8 bytes)
When the Operation Mode is set as TCP Server, set the
None
password to ask for( Max 8 bytes)
Disable Set termination for each port.
Username/Password Commands
Configure username and password for Web /Telnet/FTP.
65
SerialGate User Guide
Commands Default Descriptions
def username
serialgate
<username>
def password
99999999
<password>
Set username to use in Web, Telnet, or FTP.
16 Characters at maximum.
Set password to use in Web, Telnet, or FTP.
16 Characters at maximum.
System Commands
Commands Descriptions
def default
def apply Save and apply changed configuration settings.
Reboot Reboot Serialgate.
Restore all settings to factory default. Requires reboot for changes to
take effect.
66
SerialGate User Guide
Ch. 7 Configuration via LCD
This feature is only for SerialGate-1160 model. A user of SerialGate-1010/1020/1040/1080 does not
need to read this chapter.
Through the LCD on the front panel, a user is able to test operation of each inte rface and configuration.
By default, the LCD displays communication status of each port, and by operating the keys next to the
LCD, the interface can be tested.
LCD and Key Operation
Port Status
---------------
ESC Enter
Graphic LCD is 16 Character * 2 Line, and four keys are to configure the operating environment.
The function of each key is as follows.
Key Function 1 Function 2
ESC
Enter
Go to the top menu.
Select the current value, and then go to the next menu
Previous menu/item
Next menu/item
If the variable is numeric, it increases the value
Ex.) 192.168.0.111 192.168.1.111
If the variable is numeric, move to the next space
Ex.) 192.168.0.111 192.168.0.111
Main Menu
Default screen of graphic LCD displays the status of each port.
Press ESC to go back to the main menu screen.
Main menu items are as follows.
Network Setup : Change the network configuration of device server .
Port Setup : Change the operating environment setting for each port.
67
SerialGate User Guide
Status: Check the connection status of the port and device server’s version information.
System : Perform firmware upgrade or reset, and initialization.
Verification : Verify each interface HW of device server.
Network Setup
Change the network configuration of device server .
In order to select Network Setup, press ‘ESC’ on the panel until ‘Main Menu’ comes up, and if ‘Main Manu’ is displayed, press ‘<<’ or ‘>>’ until you see ‘Network Setup’. Then, press ‘Enter’ to change the
details.
At anytime ‘ESC’ is selected, it moves to the top menu and asks if a user wants to save the change in
Flash memory in case of a change made.
For more details about each menu, please refer to Chapter 5 “Configuration via Web” and Chapter 6
“Configuration via Telnet.”
Menu and selectable options are as follows.
Menu Option Default Description
Network line
IP Address 192.168.0.223
Subnet Mask 255.255.255.0
Gateway 192.168.0.254
FTP Service Enable, Disable Enable
Telnet Service Enable, Disable Enable
SSH Service Enable, Disable Disable
WEB Service Enable, Disable Enable
Static IP, DCHP
Static IP
Client
<<, >> : Select option
Enter : Save the current option, and go to
the next menu.
<<: Increase the value of the cursor
position.
>>: Move cursor to the next space.
Enter : Save the current option, and go to
the next menu.
<<, >> : Select option
Enter : Save the current option, and go to
the next menu.
<<: Increase the value of the cursor
position.
PortView Address 0.0.0.0
>>: Move cursor to the next space.
Enter : Save the current option, and go to
the next menu.
68
SerialGate User Guide
Port Setup
Change the operating environment setting for each port.
In order to select Port Setup, press ‘ESC’ on the panel until ‘Main Menu’ comes up, and if ‘Main Manu’ is displayed, press ‘<<’ or ‘>>’ until you see ‘Port Setup’. Then, press ‘Enter’ to change the
details.
At anytime ‘ESC’ is selected, it moves to the top menu and asks if a user wants to save the change in
Flash memory in case of a change made.
For more details about each menu, please refer to Chapter 5 “Configuration via Web” and Chapter 6
“Configuration via Telnet.”
Menu and selectable options are as follows.
<<: Increase the value of the cursor
position.
>>: Move cursor to the next space.
Enter: Save the current option, and go to
the next menu.
<<, >> : Select option
Enter: Save the current option, and go to
the next menu.
Status
Check the connection status of the port and device server’s version information
In order to select Status, press ‘ESC’ on the panel until ‘Main Menu’ comes up, and if ‘Main Manu’ is
displayed, press ‘<<’ or ‘>>’ until you see ‘ St atus’. Then, press ‘Enter’ to change the details.
At anytime ‘ESC’ is selected, it moves to the top menu.
Menu Display Description
B : Boot_loader Version
Version L10b, K10a, F10a
Port St atus - - - - - - - - - - - - - - - -
O : OS Version
F : Firmware V ersion
If serial port is in communication, the port
number is displayed on the corresponding
space. Since it only shows one digit, it will
only display the second digit for 10~16
port.
System
Update device server firmware, initialize the system or command port reset.
In order to select System, press ‘ESC’ on the panel until ‘Main Menu’ comes up, and if ‘Main Manu’ is
displayed, press ‘<<’ or ‘>>’ until you see ‘ System’. Then, press ‘Enter’ to change the details.
At anytime ‘ESC’ is selected, it moves to the top menu.
70
SerialGate User Guide
Menu Option Default Description
Port Reset
Factory Default
Cancel Yes Cancel
Reboot System
Firmware Update
Port Reset
If ‘yes’ is selected in Port Reset, LCD displays the port number from 1 to 16 as below, and the cursor is
at the first one.
P o r t R e s e t
1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6
Move the cursor to the port to be reset using ‘<<’, ‘>>’ keys and press ‘Enter’. Then, the corresponding
port will be reset.
Factory Default
<<, >> : Select option.
Enter : If Cancel is selected, it moves to the
next menu. If Yes is selected, that action is
performed.
Cancel and Yes are selectable with ‘<<’, ‘>>’ keys. If a user selects ‘Yes’ and ‘Enter’ in turn,
configuration resets to the factory default.
Reboot System
Cancel and Yes are selectable with ‘<<’, ‘>>’ keys. If a user selects ‘Yes’ and ‘Enter’ in turn, it prints out
‘Now Rebooting’ message and rebo ots the device serve r .
Firmware update
Update device server’s firmware. (OS, Filesystem)
In order to perform this feature, TFTP server and firm ware image files should be prep ared in PC.
Cancel and Yes are selectable with ‘<<’, ‘>>’ keys. If a user selects ‘Yes’ and ‘Enter’ in turn, it starts
device server firmware update.
First, register the name of firmware to be updated in PC. Firmware name by default is the filesystem
firmware name showing on the display.
71
SerialGate User Guide
F i r m w a r e N a m e
s g 1 1 6 1 – f s – 1 0 a . b i n
Using ‘>>’ key, move the cursor to the string that a user would like to modify and change the value with
‘<<’ key.
After registration of firmware name is complete, press ‘Enter’. Then, a user can input the IP address of
a PC that has TFTP server.
T F T P I P A d d r e s s
1 9 2 . 1 6 8 . 0 0 0 . 0 3 9
Default IP address is 192.168.0.39, and using ‘>>’ key, a user can move the cursor to the IP address
value to be changed. Using ‘<<’ key , a u ser can change the value.
After changing the IP address, if a user selects ‘Enter’, device server connects to the TFTP address,
downloads the firmware file, and starts updating. If the update fails, it prints out ‘Download Failed’
message. In this case, a user has to make sure if the registered firmware image’s name and TFTP
server’s IP address are correct. Also, check if TFTP server is runni ng and there is a firmware in PC.
If the update is successfully complete, reset the device server power and operate it in a new firmware.
Verification
It verifies each interface HW of a device server.
In order to select System, press ‘ESC’ on the panel until ‘Main Menu’ comes up, and if ‘Main Manu’ is
displayed, press ‘<<’ or ‘>>’ until you see ‘ V erification’. Then, press ‘Enter’ to change the details.
At anytime ‘ESC’ is selected, it moves to the top menu.
(*) When a user performs this test, all the program running in a device server stops. So, a user must
restart the device server after the test.
RS232(Signal)
RS422(Loopback)
RS485(Loopback)
Testing WAN Port
Testing LAN Port
Testing MMC
Testing Reset
Testing Console
Testing RTC
RS232 (Loopback)
Enter : If Cancel selected, go to the next menu.
If Yes selected, that action is performed.
Change all the serial ports of a device server to RS232, and conduct a Loopba ck test.
RS232 Loopback connector must be connected to all the serial port s for the test.
If a user selects ‘yes’ optio n, it start s Loopback test and print s out the result on LCD.
T e s t I n g ( R S 2 3 2 )
O O O O O O O O O O O O O O O O
If there is nothing wrong, it displays ‘O’ or ‘X’ otherwi se.
RS232 (Seinal)
Change all the serial ports of a device server to RS232, and conduct a serial signal test.
RS232 Loopback connector must be connected to all the serial port s for the test.
If a user selects ‘yes’ optio n, it start s serial signal test and print s out the result on LCD.
T e s t I n g ( S I g n a l )
O O O O O O O O O O O O O O O O
If there is nothing wrong, it displays ‘O’ or ‘X’ otherwi se.
RS422 (Loopback)
Change all the serial ports of a device server to RS422, and conduct a Loopba ck test.
RS422 Loopback connector must be connected to all the serial port s for the test.
73
SerialGate User Guide
If a user selects ‘yes’ optio n, it start s Loopback test and print s out the result on LCD.
T e s t I n g ( R S 4 2 2 )
O O O O O O O O O O O O O O O O
If there is nothing wrong, it displays ‘O’ or ‘X’ otherwi se.
RS485 (Loopback)
Change all the serial ports of a device server to RS485, and conduct a Loopba ck test.
No additional loopback connector is required for RS485 since RS485 supports self Loopback.
If a user selects ‘yes’ optio n, it start s Loopback test and print s out the result on LCD.
T e s t I n g ( R S 4 8 5 )
O O O O O O O O O O O O O O O O
If there is nothing wrong, it displays ‘O’ or ‘X’ otherwi se.
T esting W A N Port
Test WAN port of a device server.
For the test, WAN port must be connected to network, and there should be a PC with the IP address,
‘192.168.0.1’ for the Ping test on network.
If a user selects ‘yes’ optio n, it tries Ping to ‘192.168.0.1’, and prints out the result on L CD.
T e s t I n g W A N P o r t
OK !
If there is nothing wrong, it shows OK !’ or ‘Failed !’ otherwise.
T esting LAN Port
Test LAN port of a device server.
For the test, LAN port must be connected to network, and there should be a PC with the IP address,
‘192.168.0.1’ for the Ping test on network.
If a user selects ‘yes’ optio n, it tries Ping to ‘192.168.0.1’, and prints out the result on L CD.
T e s t I n g L A N P o r t
OK !
74
SerialGate User Guide
If there is nothing wrong, it shows OK !’ or ‘Failed !’ otherwise.
T esting MMC
It tests whether memory card of a device server can read and write.
For the test, SD card must be inserted to the device server.
If a user selects ‘yes’ optio n, it reads and writes the data on SD ca rd, and prints out the result on L CD.
T e s t I n g M M C
OK !
If there is nothing wrong, it shows OK !’ or ‘Failed !’ otherwise.
T esting Reset
It tests whether ‘Reset’ button of a device server works.
If a user selects ‘yes’ option, it wait s for ‘Reset’ key to be pressed for app roximately 6 seconds.
If ‘Reset’ is pressed or 6 seconds passed, it shows the result on LCD.
T e s t I n g R e s e t
OK !
If there is nothing wrong, it shows OK !’ or ‘Failed !’ otherwise.
T esting Console
It tests whether console port of a device server works.
For the test, DB9 Loopback connector should be conned to all the console ports.
If a user selects ‘yes’ optio n, it start s Loopback test, and prints out the result on LCD.
T e s t I n g C o n s o l e
OK !
If there is nothing wrong, it shows OK !’ or ‘Failed !’ otherwise.
Testing RTC
It tests RTC interface working as a clock for the device.
75
SerialGate User Guide
If a user selects ‘yes’ optio n, it sets time up on RT C and prints out the result on L CD.
After the test, a user should reset the time and date.
T e s t I n g R T C
O K !
If there is nothing wrong, it shows OK !’ or ‘Failed !’ otherwise.
76
SerialGate User Guide
Ch. 8 Application
SerialGate can be used in many practical applications in various fields. Here we present some
of them.
Com Port Redirector
With COM Port Redirection, a user can use serial port connected to SerialGate on the network
as if it is a serial port on PC.
Install Com Port Redirector and set the following steps. (For installation, please refer to Com Port
Redirector manual enclosed in CD.
In the picture below, IP address of SerialG ate is 192.168.0.247, and the first serial port is being u sed. A
user can open Com 21 and use serial device connected to SerialGate.
77
SerialGate User Guide
In order to correspond to the Redirector setting of PC, change the setting in the first serial port of
SerialGate as follows.
TCP_Server (TCP/IP connection from PC to SerialGate)
In PC’s socket program, connect the first serial port of SerialGate.
Since socket number for the first port of SerialGate is default 4001, try to connect to SerialGate’s IP
address and socket number 4001 when connecting from a PC to SerialGate.
As shown below, change the Operation Mode to TCP_Server and confirm the socket number waiting
for connection. .
Check the communication speed of a serial device to be connected to serial port, and set it to Com
Specification.
78
SerialGate User Guide
TCP_Client (TCP/IP Connection: SerialGate PC)
Since it is a connection from SerialGate to a PC, change the Operation Mode to TCP_Client and
register PC’s IP addres s and socket number to be connected.
Check the communication speed of a serial device to be connected to serial port, and set it to Com
Specification.
79
SerialGate User Guide
Pair (Serial Line To Serial Line)
This structure is mainly used when the cable length between PC and serial device is short so a user
needs to extend the communication distance. This approach consists of two SerialGates connected in
Pair.
Setting for SerialGate 1
In order to perform Master features, change Operation Mode to Pari_Master. Check the
communication speed of a PC and set it in Com Specification, and also register Slave SerialGate’s IP
address and port number in Remort IP/Port.
80
SerialGate User Guide
Setting for SerialGate 2
register the socket number to be connected in Local Socket Port.
In order to wait for Master connection, set Operation Mode to Pari_Slave and
81
SerialGate User Guide
Ch. 9 Appendix
Troubleshooting
This section describes procedures for troubleshooting problems you may encounter with
SerialGate.
Troubleshooting Installation Problems
If you cannot access the connected serial device via SerialGate, first check the network
connection and cabling.
Check the physical cabling to ensure all cables are plugged in (Ethernet and DB-9 se
rial cable)
If the appropriate LEDs are not illuminated, then there is probably a bad 10baseT or
100baseTX cable, or the hub port is bad. If possible, try a different cable and hub p
ort, or try connecting a different device to the cable.
Verify that you are using the correct values for both IP Address and Port Number.
If you are using a hub, verify that the hub port is operating correctly by trying Serial
Gate on a different port.
Troubleshooting Network Configuration Problems
If you are using TCP/IP, make sure that your computer and SerialGate are on the sa
me IP segment or can reach each other with a PING command from the host. The I
P address you assign to SerialGate must be on the same logical network as your ho
st computers (e.g., if your computer has an IP address of 192.189.207.3 and the sub
net mask of 255.255.255.0, SerialGate should have an IP address of 192.189.207.x,
where x is an integer between 1 and 254), or you must properly configure your route
r address to work with SerialGate.
If your Device Server is set to Auto or DHCP for obtaining an IP Address, it is possi
ble that SerialGate’s IP address can change. Either configure your DHCP server to
give SerialGate a permanent lease, or configure SerialGate to be on a STATIC IP ad
dress outside the scope of the DHCP addresses.
82
SerialGate User Guide
The problem may be the result of mismatched or duplicate IP addresses. Verify that
the IP address is correctly loaded into SerialGate (via the displayed or printed configu
ration information or through the remote console), and make sure that no other nodes
on the network have this address (duplicate addresses are the biggest cause of TCP/
IP connectivity problems). If the IP address is not correct, then check whether the lo
ading procedure was properly executed.
Also verify that the host computer and SerialGate are using the same subnet masks(f
or example, if SerialGate has a subnet mask of 255.255.255.0, the host must have th
e same subnet mask) or that the router is properly configured to pass data between
the two devices.
If the wrong IP address is loaded, check your network for DHCP server, and make s
ure that the server is not set up to load wrong IP addresses into SerialGate.
Troubleshooting Windows Problems
If you are having trouble accessing the connected serial device through Windows, ens
ure you can ping SerialGate using the command PING x.x.x.x, where x.x.x.x is the IP
address of SerialGate. If you cannot ping SerialGate, you will not be able to access
the serial device.
If you are running COM port redirector and the software reports an error, verify that t
he correct virtual COM port is being used when the application runs. Verify that your
application’s COM port settings have been changed to use the virtual COM ports.
Firmware Update using FTP
A user can upl oad firmware using web browser, FTP , and etc.
1) Connect to SerialGate with FTP, using correct username and password. (Default: serialgate,
99999999)
2) Issue a command ‘bi’ for binary file transfer mode. Optionally use ‘hash’ to see the data
transfer mark.
3) Issue ‘put’ command to upload the firmware file.
4) After getting a ‘Transfer complete’ message, issue a command ‘bye’ to disconnect. Now we
are ready to update the firmware.
83
SerialGate User Guide
5) Connect to SerialGate via Telnet, using correct username and password. (Default: eddy,
99999999)
6) After the login, you are already at the default directory where the firmware resides. Update
can start right away.
7) Issue a command ‘ls’ to make sure firmware files are both successfully uploaded.
8) Use ‘upgrade’ command to write this file into SerialGate’s Flash memory. Upgrade application
automatically detects whether the given firmware is kernel or file system.
9) Usage: Upgrade <firmware name> (Filename is case-se nsitive.)
10) Make sure ‘Flash Write OK’ and ‘Flash V erif y OK’ messages are displayed.
11) Enter ‘reboot’ to restart SerialGate. Now SerialGate will run with the new firmware.
Feature Action Result
Warm Booting Press for less than 3 sec. SerialGate reboots
Factory Default Press for more than 3 sec. Restores the default setting
SerialGate-1010 (RS232)1 x Serial Port (RS232 only)
SerialGate-1010 (Combo) 1 x Serial Port (RS422/RS485 selectable)
SerialGate-1010/ALL 1 x Serial Port (RS232/RS422/RS485 selectable)
SerialGate-1010w/ALL 1 x Serial Port (RS232/RS422/RS485 selectable)
SerialGate-1020 (RS232) 2 x Serial Port (RS232 only)
SerialGate-1020 (Combo) 2 x Serial Port (RS422/RS485 selectable)
SerialGate-1020/ALL 2 x Serial Port (RS232/RS422/RS485 selectable)
SerialGate-1020w/ALL 2 x Serial Port (RS232/RS422/RS485 selectable)
SerialGate-1040 (RS232) 4 x Serial Port (RS232 only)
SerialGate-1040 (Combo) 4 x Serial Port (RS422/RS485 selectable)
SerialGate-1080 (RS232) 8 x Serial Port (RS232 only)
SerialGate-1080 (Combo) 8 x Serial Port (RS422/RS485 selectable)
SerialGate-1160 (All) 16 x Se rial Port (RS232/RS422/RS485 selectable)
89
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.