Copyright 2014 SystemBase Co., Ltd. All rights reserved.
Websites http://www.sysbas.com/http://www.solvline.com/
Tel +82-2-855-0501
Fax +82-2-855-0580
16F Daerung Post Tower-1, 288, Digital-ro, Guro-gu, Seoul, Republic of Korea
For any inquiries or comments, contact us at www.solvline.com.
Serial IP Redirector 56
TCP_Server (TCP/IP connection from PC to SerialGate) 58
TCP_Client (TCP/IP Connection: SerialGate to PC) 59
Pairing (Serial Line to Serial Line) 60
Firmware Update using FTP 64
Product Specification 66
6
SerialGate User Guide
Chapter 1. Introduction
This chapter is an introduction to SystemBase device server, the SerialGate series.
About this document
This guide is designed for users of SerialGate, for setting configurations, status monitoring,
firmware update, and other administration work related to the SerialGate.
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 to 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.
7
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 from Web Browser (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 using 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.
8
Document Name
Description
User Guide
Integration, configuration, and management tasks are
explained for the administrator
PortView User Manual
Guide for SystemBase device server management
application PortView
Serial IP Redirector User
Manual
Guide for Serial IP Redirector
TestView User Manual
User Manual for testing Com port Redirector , TCP
Server/Client , UDP Server/Client
Document Name
Description
SerialGate Spec Sheet
Specifications for SerialGate products
SerialGate White Paper
An easy reading for anyone new to device server.
Deals with background and technology Past, present,
and future of device servers along with the overview of
market environment
SerialGate User Guide
SerialGate Documents
The following table summarizes documents included in the SerialGate document set.
If you need brief information on SerialGate or device servers in general, please visit our company
websites at http://www.sysbas.com/ or http://www.solvline.com/. You can view or download
documents, the latest software and firmware updates related to SerialGate from Solvline.com.
Available resources are as follows:
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.
9
SerialGate User Guide
Technical Support
The customers can get a technical support from SystemBase by following methods:
Please visit our website http://www.solvline.com/and go to ‘Technical Products Info.’ menu. There
you can read FAQs and the customers can post an inquiries from the ‘Technical Support’ menu.
Lastly, you can call us at the customer center for immediate support. Our technical support team
will kindly help you get over with the problem.
The number is +82-2-855-0501 (Extension number 1). Do not forget to dial the extension number
after getting a welcome message.
The office hour is from 09:00 AM to 06:00 PM KST, Monday to Friday. We are closed on Saturday,
Sunday and national holidays.
10
SerialGate User Guide
Chapter 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 RS-232, RS-422, and RS-485 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.
- Maximum 921.6Kbps serial communication speed
- RS-232/422/485
- 10/100Mbps Ethernet port
- Serial IP Redirector for better adaptability
- Extensive configuration and monitoring with PortView
- Firmware update via Web Browser and FTP
- Configuration using Web, Telnet, SNMP, and PortView
- SDK package which enables customizing program development
11
Class A Device
The distributor and the user must be aware that SerialGate series are a Class A device
registered only for commercial or business environment. The SerialGate series are not a
Class B device for residential or home use.
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 product, accessories and a CD with utilities and
documents.
SerialGate device, 1 unit
Direct LAN Cable, 1 piece
Power Cable, 1 piece
CD (Manual and utilities)
12
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.
13
SerialGate User Guide
COM Port Redirection
With Serial IP Redirector, users can use serial port to connect to the SerialGate on the network
as if there are serial ports in the PC. (Maximum Speed: 460.8 Kbps)
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 hardware information including pin specification, dimensions and other
hardware-related information.
Exterior of SG-1160/ALL
Serial: RJ-45 socket for serial ports (RS-232/422/485). A user can select protocol from the
web manager using a web browser.
Power connector: Use 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 SerialGate. Next page describes the functions of each LED
display status.
WAN: Main network port used when connecting SerialGate to networking devices such as
Ethernet card, hub, and router.
15
LED
Status
Meaning
PWR
(WHITE)
On
Power supplied to the device
Off
No power supplied to the device
Serial Tx
Green Blink
Serial data transmitted
Serial Rx
Orange Blink
Serial data received
WAN/LAN
Front LED
(Green)
On
Connected to network (Rear LED: Orange)
Off
Disconnected to network (Rear LED: Orange)
Blink
LAN data being transmitted (Rear LED: Orange)
WAN/LAN
Front LED
(Orange)
On
100baseT connection detected and LAN data transferre
d
(Rear LED: Green)
Off
10baseT connection detected and LAN data transferred
(Rear LED: Green)
Operation
Result
Pressed for less than 3 seconds
Restart SerialGate
Pressed for more than 3 seconds
Restore factory default settings and reboot automatically
SerialGate User Guide
LAN: This is a secondary network port operating in NAT mode. It allows connection to sub-
network connected to SerialGate or in bridge mode, operates as a switch port.
SD / MMC: SD memory card works for system log. Available up to 32 GB. (A SD memory
card is not included in the package)
LCD: Text LCD (16 characters x 2 lines); Configuration and monitoring purpose.
LCD Button: Composed of 4 keys to control LCD. (Esc, Enter, Left, Right)
LED / RESET
<LED feature>
< Reset button features >
16
Pin No.
RS-232
RS-422
RS-485
1
DCD - -
2
RxD
Tx-
TRxD-
3
TxD
Rx+
- 4 DTR
Rx-
- 5 GND
GND
GND
6
DSR - - 7 RTS
Tx+
TRxD+
8
CTS - -
SerialGate User Guide
Pin Specification
17
SerialGate User Guide
Chapter 4. How to Connect
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 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.
Powering On for the First Time
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 Description.
An IP address is required to access web interface in SerialGate 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.
18
SerialGate User Guide
Connecting to SerialGate
In order to view current 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 SerialGate.
If WAN port in SerialGate 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.
1. A user can connect to the default LAN port with IP address: 10.10.1.1
2. A user can search IP address pre-set to SerialGate using “Detector” application enclosed in Utility and
Documents CD and connect to SerialGate.
WAN Default IP address: 192.168.0.223
The default IP address of SerialGate 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 to the right side, and note that values do
not necessarily have to be identical to the example below.
LAN Default IP address: 10.10.1.1
The default IP address in SerialGate is 10.10.1.1. In order to connect
to this address, the users need to configure network settings so that
their PC can connect to the IP 10.10.1.1. Please refer to an example
to the right side, and note that values don’t necessarily have to be
identical to the example.
19
SerialGate User Guide
Serial Console Port
The SG-1160 supports console port. Connect
to the console port from the PC with a serial
cable. Run a utility such as HyperTerminal,
with following settings: 115200 bps, None
Parity, 8 Data bits, 1 Stop Bit. This will allow
the users to connect to a device.
Connection using the PortView
By running the PortView program in the Utility
and 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 and 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 using this program.
Now, you are ready to connect to SerialGate! There are three options to configure SerialGate.
1) Configuration via Web Browser
The users can easily configure SerialGate with web interface, accessible from most web browser. For
more information, please refer to Chapter 5. Configuration from Web Browser.
2) Configuration via Telnet
The users 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
The users 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.
20
SerialGate User Guide
4) Configuration with SGConfig
The users can use SGConfig to modify settings for the SerialGate. For more information, please refer to
the SGConfig manual.
21
SerialGate User Guide
Chapter 5. Configuration from Web Browser
Connection
Open a web browser and enter the IP address of SerialGate to access the web manager. 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.