Com Port Redirector Mode 25
TCP_Server Mode (Connect from PC to SerialGate using TCP/IP) 27
TCP_Client Mode (Connect from SerialGate to PC using TCP/IP) 28
This chapter covers related documents for the SG-3011PCL.
About this manual
This manual describes how to connect and configure settings for the SG-3011PCL.
To readers
This manual is written for SG-3011PCL users and administrators. It is recommended to read
this manual thoroughly before using SG-3011PCL. This will provide users more understanding
when connecting SG-3011PCL with other devices.
Page 6
6
SerialGate User Manual
Organization of the manual
Chapter 1. General information and introduction.
Chapter 2. Features of SG-3011PCL
Chapter 3. Hardware Configuration, product images and specification.
Chapter 4. How to setup the device in the network and configuring and checking the status for
the first time use.
Chapter 5. Menus in the web managers and their usage.
Chapter 6. Examples of various applied fields and the correct usage.
Chapter 7. Detailed specifications for the product and ordering information.
Page 7
7
Documents
Description
SG-3011PCLSpecification Sheet
Specification of SG-3011PCL
SG-3011PCLWhite Paper
An overview of a SerialGate device server.
Documents
Description
User Manual
SG-3011PCL configuration, management, and usage
COM Port Redirector
User Manual
COM Port Redirector usage and description
TestView User Manual
COM Port/TCP/UDP test program usage and description
SGconfig Quick Manual
SerialGate device configuration utility usage and description
SerialGate User Manual
SG-3011PCL related documents
To get more information about SG-3011PCL, please visit http://www.solvline.com/. The most
recent SerialGate related documents, drivers, utilities and firmware will be available for
download as well as FAQs to troubleshoot problems. Additionally, any inquiries or comments
can be posted.
All documents in the technical support website is up to date. The contents of the documents
may be modified and updated without prior notice.
Page 8
8
SerialGate User Manual
Technical Support
There are three ways to receive technical support from SystemBase.
The customers can also leave feedback about the products.
1. Visit our technical support website at http://www.solvline.com/.
2. Contact us by email at tech@sysbas.com.
3. The customers can reach us directly by phone during our office hours.
Phone: +82-2-855-0501
Office hours: Monday to Friday, 09:00 ~ 18:00 KST (Closed on national holidays in South
Korea)
Page 9
9
SerialGate User Manual
Chapter 2. Getting Started
This chapter describes the features of the SG-3011PCL.
Overview
The SG-3011PCL can connect to various types of device to the network whether it is a security
equipment, communication peripheral, modem, data output device, industrial test or measuring
equipment. The SG-3011PCL supports RS-232/422/485 or UART standard serial
communication and provides programmable GPIOs along with 10/100 based TX fast Ethernet
port to connect to the network.
Function
Basic Function
- Max. 230.4Kbps (for RS-232/422/485/UART TTL)
- RS-232 (Full Signal)
- RS-422/485
- Supports UART TTL
- Flow Control (RTS/CTS, DTR. DSR, Xon/Xoff)
- 6 Programmable GPIOs
- 1 x 10/100 Mbps(Auto MDIX) Ethernet port
- Supports COM Port Redirector
- Configure with web browser
Package Content
The package only comes with one unit of SG-3011PCL.
Page 10
10
SerialGate User Manual
Chapter 3. Hardware
In this chapter, the users can find the information regarding the pin specification, port, pin
headers, LEDs and the reset button.
Product Images
Page 11
11
LED Name
State
Operation
1
RDY
Blink
When the device is powered, it will stay on for a while then
start blinking when booting process is completed.
2
SRL
(Red)
1
Blink
Transmitting/Receiving data
1. RS-422/485
2. RS-232
3. TTL
2
3
3
LAN Port
(Green on Left)
On
100 Base Tx Standard network enabled
Off
10 Base Tx Standard network enabled
4
LAN Port
(Yellow on Right)
On
Connected to the network
Off
Network disconnected
Blink
Transmitting/Receiving LAN data
Pressed for
Description
1
Less than 3 seconds
Restarts the SG-3011PCL
2
3 seconds or more
Reverts all settings to the factory default values.
SerialGate User Manual
Serial/Power/GPIO Connector: 2.54mm pin header
Reset Button: Restarts SG-3011PCL or load the factory default depending on the time it is
pressed. (More information in the can be found below.)
LED: Shows the status of the SG-3011PCL.
(More information can be found below.)
LAN (Ethernet) Port: This port, 8-pin RJ-45, is used to connect the SG-3011PCL with the
LAN/Ethernet port in the PC, hub, router, or other wired network device.
LEDs
Reset Switch
Page 12
12
1
6
6
1
1
6
J6
J8
J5
J7
J3
J4
SerialGate User Manual
Pin out
Page 13
13
Name
Function
Level
1
VCC
DC 5V Power Supply
5VDC ±5%
2
RXD
Receive Data
RS-232
3
TXD
Transmit Data
RS-232
4
GND
Ground
- 5 RTS
Request to Send
RS-232
6
CTS
Clear to Send
RS-232
Name
Function
Level
1
VCC
DC 5V Power Supply
5VDC ±5%
2
DTR
Data Terminal Ready
RS-232
3
DSR
Data Set Ready
RS-232
4
GND
Ground
- 5 DCD
Data Carrier Detect
RS-232
6
RI
Ring Indicator
RS-232
SerialGate User Manual
The SG-3011PCL supports RS-232/422/485 speeds from 300bps to 230.4Kbps. For RS-232, it
supports the full signal (TxD, RxD, RTS, CTS, DSR, DTR, DCD, RI). The 4 wires are supported
for RS-422/485 and 2 wires for RS-485 only.
The users can use the UART TTL in the SG-3011PCL. It provides six programmable GPIOs to
control external devices, for monitoring or communicating purposes. The only on port of UART
TTL or RS-232/422/485 can be used.
①. RS-232
For RS-232, J6 and J8 are used. The pin out information is show below.
J8
J6
Page 14
14
Name
Function
Level
1
VCC
DC 5V Power Supply
5VDC ±5%
2
TX+/TRXD+
RS-422: Transmit Data +
RS-422
RS-485: Data +
RS-485
3
TX-/TRXD-
RS-422: Transmit Data -
RS-422
RS-485: Data -
RS-485
4
GND
Ground
- 5 RX+
RS-422: Receive Data +
RS-422
6
RX-
RS-422: Receive Data 1
RS-422
Name
Function
Level
1
VCC
DC 5V Power Supply
5VDC ±5%
2
RXD
Receive Data
3.3V TTL
3
TXD
Transmit Data
3.3V TTL
4
GND
Ground
- 5 RTS
Request to Send
3.3V TTL
6
CTS
Clear to Send
3.3V TTL
Name
Function
Level
1
PB5
GPIO
VIL: Vss - 0.3V (Min.)
VIH: 2.0 ~ VCC+0.3V
VOL: Max.0.4V
VOH: Min.2.4V
2
PB6
GPIO
3
PB7
GPIO
4
PB8
GPIO
5
PB9
GPIO
PB14
GPIO
SerialGate User Manual
②. RS-422/485
For RS-422/485, J5 and J7 are used. The pin out information is show below.
J5, J7
③. UART TTL
SG-3011PCL provides UART TTL pins. The pin out information is show below.
J4
④. GPIO
SG-3011PCL provides GPIO pins. The pin out information is show below.
J3
Page 15
15
SerialGate User Manual
Chapter 4. Setup
This chapter deals with connecting SG-3011PCL with other devise using the Ethernet and RS-
232/422/485 connection.
Before connecting to the network
The SG-3011PCL supports 10/100Mbps LAN/Ethernet and auto MDIX feature so that the users can
use either cross or direct cable.
Running the SG-3011PCL for the First Time
First, check the input voltage to the SG-3011PCL. It is recommended to use 5 VDC. The device can
handle up to 9 VDC. When the device boots, its RDY LED will stay on then starts blinking when
booting process is completed.
After the LEDs from the LAN port are blinking, the users can connect to the SG-3011PCL using any
web browser.
Network Access
In order to enter the web manager, the users require the default IP address to connect to the SG-
3011PCL which is 192.168.0.223. This initial static IP address can be changed from the web manager
to be a different static IP or a dynamic IP. It is recommended to use a static IP.
When the IP addressing of the SG-3011PCL is set to the dynamic IP or the users forgot the static IP to
connect to the web manager, the SGConfig utility can be used to retrieve the IP address of the SG-
3011PCL as shown in the next page.
Page 16
16
SerialGate User Manual
If the SG-3011PCL cannot be found with the “Search” button or uses the different group of IP address,
try the instructions below to connect.
Default IP Address: 192.168.0.223
The IP address of the SG-3011PCL is set to 192.168.0.223 by default. Before the SerialGate is
installed in the place where it would operate, the users should first configure the settings that suits its
operating environment. However, if the PC have a different IP group, it may not be able to connect to
the SerialGate even if the users entered the default IP address. In this case, please establish a connect
to the SerialGate with the PC directly using the Ethernet cable and set the IP address of the PC to the
same group that the SerialGate is set to. It is recommended to set the IP address of the PC as shown
below when directly connected to the SerialGate.
Page 17
17
SerialGate User Manual
Chapter 5. Configure by Web Browser
This chapter will go over with configuring the SG-3011PCL using the web manager.
Setting with the SGConfig utility will be dealt from a separate quick manual.
Connecting with Web Browser
Open a web browser and type the IP address of the SG-3011PCL. A login window, shown below, will
appear. The initial ID and password are “serialgate” and “99999999” without quotes. The ID and
password can be modified once logged in.
Page 18
18
Menu
Default
Description
Device Name
SerialGate
Displays the device name
MAC Address
(different among
each devices)
Displays the MAC address
(cannot be modified)
Connection
Type
Static IP
Can be selected between DHCP (Dynamic IP) or Static IP
IP Address
192.168.0.223
The IP address of the current device.
(If the ‘Connection Type’is set to ‘Static IP’, enter the
value manually, but if it is set to ‘DHCP’ IP address cannot
be changed manually.)
SerialGate User Manual
Network Setting
After logged in, the ‘Network Setting’ page will be displayed. Every values in here except the MAC
address can be modified. The page is shown as below.
The ‘Network Setting’ display the operating environment for currently connected network. The ‘Submit’
button must be clicked in order to save the changes. To apply changed settings, the device must be
rebooted. If the submit button is not clicked to save the changed settings, when the device boot next
time, the changed value will not be applied.
The ‘Cancel’ button can be used to revert the settings back to the original state.
Information displayed in the ‘Network Setting’ page is show below.
Page 19
19
Subnet Mask
255.255.255.0
Configure current subnet mask.
(If the ‘Connection Type’ is ‘Static IP’, enter the subnet
mask manually. The dynamic IP does not require
masking, thus, the value cannot be entered.)
Gateway
192.168.0.254
Configure current gateway address.
(If the ‘Connection Type’ is ‘Static IP’, enter the gateway
address manually. Dynamic IP does not require masking,
thus, the value cannot be entered.)
DNS
168.126.63.1
Enter the address of the authoritative name server for
DNS (Domain Name Service).
SerialGate User Manual
Page 20
20
Menu
Default
Description
Operation
Mode
COM
Redirector
Select the operation protocol that will be applied in the serial port.
COM Redirector
Use the serial port of SerialGate as a virtual COM port in Windows
2000/XP/2003/Vista.
SerialGate User Manual
Serial Setting
The ‘Serial Setting’ display the operating environment for the RS-232/422/485 port. The ‘Submit’ button
must be clicked in order to save the changes. To apply changed settings, the device must be rebooted.
If the submit button is not clicked to save the changed settings, when the device boot next time, the
changed value will not be applied.
The ‘Cancel’ button can be used to revert the settings back to the original state.
Information displayed in the ‘Serial Setting’ pages are show below.
Page 21
21
Menu
Default
Description
TCP Server
SerialGate works as a socket server, waiting for the client
connection on the network. Socket number for awaiting connections
can be set in ‘Local 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 connection on the network.
All data between the socket and the serial port is transferred
untouched after the socket connection is established.
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 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.
Interface
RS-232
RS-422
RS-485
Select the serial port interface.
Local Port
4001
Set the socket number for the port. TCP server and UDP server
operation mode makes use of this port for awaiting network socket
connections.
Target IP
192.168.0.224
Set the IP address of the target device used for TCP Client, UDP
Client mode.
Target
Port
4001
Set the port number of the target device used for TCP Client, UDP
Client mode.
SerialGate User Manual
Page 22
22
Menu
Default
Description
Latency
Time
0
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 0 for the latency time. Although it provides immediate sending
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.