Summary of Contents for SystemBase SerialGate 2000 Series
Page 1
SerialGate 2000 Series User Guide Version: 2.3 Jan 26 2016...
Page 2
Update serial options and SNMP Aug. 27. 2015 2.2f Modbus Master Mode Added. Jan. 26. 2016 Correcting errors in manual Copyright 2015 SystemBase Co., Ltd. All rights reserved. Websites http://www.sysbas.com/ http://www.solvline.com/ Phone +82-2-855-0501 +82-2-855-0580 16F Daerung Post Tower-1, 288, Digital-ro, Guro-gu, Seoul, Republic of Korea For any inquiries or comments, please visit our technical support website at http://www.solvline.com/...
SerialGate User Guide Contents Introduction ..................6 Chapter 1. About this document Who should read this document? Manual Contents SerialGate Documents Technical Support Getting Started ................10 Chapter 2. Overview Features Package Component ...
Page 4
SerialGate User Guide SG-2160 Series LED / RESET Exterior of SG-2161 Series SG-2161 Series LED / RESET Pin Specification (RJ-45) Pin Specification (DB-9 male / DE-09P) How to Connect ................35 Chapter 4. Connection Guide ...
Page 5
SerialGate User Guide Configuration via LCD ..............67 Chapter 7. LCD and Key Operation Main Menu STATUS SETTINGS UPDATE INFO REBOOT Application ..................72 Chapter 8. RFC-2217(Serial IP Redirector) TCP_Server (TCP/IP connection from PC to SerialGate) ...
SerialGate User Guide Introduction Chapter 1. This chapter is an introduction to device servers by SystemBase, 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.
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.
The following table summarizes documents included in the SerialGate document set. Document Name Description Integration, configuration, and management tasks are User Guide explained for the administrator Guide for SystemBase device server management PortView User Manual application PortView Guide for SystemBase device server configuration SGConfig User Manual application SGConfig...
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’...
SerialGate User Guide Getting Started Chapter 2. 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, with auto-sensing 100baseTX Fast Ethernet and 10baseT Ethernet connection.
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 Ethernet Cable: 1 piece Power adapter: 1 unit CD (Manual and utilities): 1 piece Class A Device...
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.
Page 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...
SerialGate User Guide Hardware Description Chapter 3. This chapter provides hardware information including block diagram, layout, pin specification, dimensions and other hardware-related issues. Exterior of SG-2011 Series SG- 2011DIL/ALL, 232 Top SG-2011RIL/ALL, 232 Top SG-2011DIL/ALL, 232 Front SG-2011RIL/ALL, 232 Front SG-2011DIL/ALL, 232 Rear SG-2011RIL/ALL, 232 Rear...
Page 15
SerialGate User Guide Serial Port: DB-9 male (DE-09P) or RJ-45 socket for serial ports DC-Jack power connector: for connection of 12~48VDC adapter cable When the power is supplied from the both terminal block and DC adapter connector at the same time, it may cause irreparable damage to the product.
SerialGate User Guide SG-2011 Series LED / RESET Status Meaning Blink Normal operation System Booting (Green) System Error Green Blink Serial data transmitted Serial Tx/Rx Orange Blink Serial data received Network connected LAN Port Network disconnected (Right Orange) Blink LAN data being transmitted 100baseT connection detected and data transferred LAN Port (Left Green)
SerialGate User Guide Exterior of SG-2021 Series SG-2021DIL/ALL, 232 Top SG-2021RIL/ALL, 232 Top SG-2021DIL/ALL, 232 Front SG-2021RIL/ALL, 232 Front SG-2021DIL/ALL, 232 Rear SG-2021RIL/ALL, 232 Rear Serial Port: DB-9 male (DE-09P) or J-45 socket for serial ports DC-Jack power connector: for connection of 12~48VDC adapter cable ...
SerialGate User Guide SG-2021 Series LED / RESET Status Meaning Blink Normal operation System Booting (Green) System Error Green Blink Serial data transmitted Serial Tx/Rx Orange Blink Serial data received Network connected LAN Port Network disconnected (Right Orange) Blink LAN data being transmitted 100baseT connection detected and data transferred LAN Port (Left Green)
SerialGate User Guide Exterior of SG-2040 Series SG-2040DCL/ALL, 232 Top SG-2040RCL/ALL, 232 top SG-2040DCL/ALL, 232 Front SG-2040RCL/ALL, 232 Front SG-2040DCL/ALL, 232 Rear SG-2040RCL/ALL, 232 Rear Serial: DB-9 male (DE-09P) or RJ-45 socket for serial ports DC-Jack power connector: for connection of 12~48VDC adapter cable ...
Page 20
SerialGate User Guide WAN: Main network port used when connecting SerialGate to networking devices such as Ethernet card, hub, and router. 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.
SerialGate User Guide SG-2040 Series LED / RESET <LED Feature> Status Meaning Blink Normal operation System Booting (Green) System Error Deactivate main network (Green) Activate main network Deactivate sub network (Green) Activate sub network Blink Serial data transmitted Serial Tx/Rx (Green/Orange) Blink Serial data received...
SerialGate User Guide Exterior of SG-2041 Series SG-2041DIL/ALL, 232 Top SG-2041RIL/ALL, 232 top SG-2041DIL/ALL, 232 Front SG-2041RIL/ALL, 232 Front SG-2041DIL/ALL, 232 Rear SG-2041RIL/ALL, 232 Rear Serial: DB-9 male (DE-09P) or RJ-45 socket for serial ports DC-Jack power connector: for connection of 12~48VDC adapter cable ...
SerialGate User Guide WAN: Main network port used when connecting SerialGate to networking devices such as Ethernet card, hub, and router. 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.
SerialGate User Guide Exterior of SG-2080 Series SG-2080DCL/ALL, 232 Top SG-2080RCL/ALL, 232 top SG-2080DCL/ALL, 232 Front SG-2080RCL/ALL, 232 Front SG-2040DCL/ALL, 232 Rear SG-2040RCL/ALL, 232 Rear Serial: DB-9 male (DE-09P) or RJ-45 socket for serial ports DC-Jack power connector: for connection of 12~48VDC adapter cable ...
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. (SD memory is ...
SerialGate User Guide Exterior of SG-2081 Series SG-2081DIL/ALL, 232 Top SG-2081RIL/ALL, 232 top SG-2081DIL/ALL, 232 Front SG-2081RIL/ALL, 232 Front SG-2041DIL/ALL, 232 Rear SG-2041RIL/ALL, 232 Rear Serial: DB-9 male (DE-09P) or RJ-45 socket for serial ports DC-Jack power connector: for connection of 12~48VDC adapter cable ...
SerialGate User Guide WAN: Main network port used when connecting SerialGate to networking devices such as Ethernet card, hub, and router. 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.
SerialGate User Guide Exterior of SG-2160 Series SG-2160RCL/ALL, 232 Top SG-2160RCL/ALL, 232 Front SG-2160RCL/ALL, 232 Rear Serial: RJ-45 socket for serial ports DC-Jack power connector: for connection of 12~48VDC adapter cable When the power is supplied from the both terminal block and DC adapter connector at the same time, it may cause irreparable damage to the product.
SerialGate User Guide WAN: Main network port used when connecting SerialGate to networking devices such as Ethernet card, hub, and router. 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.
SerialGate User Guide Exterior of SG-2161 Series SG-2161RIL/ALL, 232 Top SG-2161RIL/ALL, 232 Front SG-2161RIL/ALL, 232 Rear Serial: RJ-45 socket for serial ports DC-Jack power connector: for connection of 12~48VDC adapter cable When the power is supplied from the both terminal block and DC adapter connector at the same time, it may cause irreparable damage to the product.
SerialGate User Guide WAN: Main network port used when connecting SerialGate to networking devices such as Ethernet card, hub, and router. 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.
Page 32
SerialGate User Guide < Reset button features > Operation Result Pressed for less than 3 seconds Restart SerialGate Restore factory default settings of SerialGate, and th Pressed for 3 seconds or more e device will automatically reboot.
SerialGate User Guide How to Connect Chapter 4. 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 RJ-45 Ethernet port. It supports both 10Mbps and 100Mbps Ethernet connection (auto-sensing).
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.
Page 37
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.
SerialGate User Guide Configuration from Web Browser Chapter 5. Connection Open 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.
SerialGate User Guide Setup Menu 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.
Page 40
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 connection and telnet Update Firmware...
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. For SG-201x / 202x...
Page 42
SerialGate User Guide SG-204x / 208x / 216x...
Page 43
SerialGate User Guide The followings are main features of WAN Configuration. Menu Default Description SerialGate Name of the current device Device Name Line Type Static IP How IP is obtained when network is connected. Current IP address SerialGate is assigned to. (When line type is Static IP, manually enter an appropriate IP IP Address 192.168.0.223...
Page 44
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 PortView is installed. For more information about PortView, 0.0.0.0 / 4000 IP / Port please refer to the PortView User Manual.
SerialGate User Guide Serial Settings A user can set the communication and operation environment for the serial port. After changing values, you need to click Apply button. If you don’t want to change, you need to click Cancel button.
Page 46
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. RFC-2217 Allows a use of telnet protocol similar to COM Redirector. To use Serial/IP software in a PC, this protocol must be selected.
Page 47
SerialGate User Guide Menu Default Descriptions 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.
Page 48
A user can run own customized program. In order to run it, a user needs to ask for application development environment to SystemBase. In RS232 model, default is set to RS-232. In ALL model, it is selectable between RS-232, RS-422, RS-485(No- Echo) and RS-485(Echo).
Page 49
SerialGate User Guide Menu Default Descriptions Set parity bit check scheme. Parity None (Options: None, Odd, Even) Flow Set the flow control scheme. None Control (Options: None, Xon/Xoff, RTS/CTS) Set the signal line checking method for the device to be connected to the given serial port.
Page 50
SerialGate User Guide Menu Default Descriptions When operating with TCP Multiplex mode, the SerialGate sends a Maximum data to the device and waits given amount of time. When there are Response no reply within the given time, it will send the next data to the device. Time If the value is set to zero, it will not wait for the reply but send the next available data right away when received.
Page 51
SerialGate User Guide Menu Default Descriptions When operation mode is set to ‘Terminal’, this option appears. CR or End of line CR LF can be set here. Set the number of Modbus TCP Slave connected to the serial port. In SerialGate it supports up to 32 Modbus TCP Slave connections Number of and supports up to 16 Modbus TCP Slave connections per one serial TCP Slave...
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.
Page 53
SerialGate User Guide Menu Default Descriptions SNMP v1/v2/v3 Enable or disable Simple Network Management Protocol Disable Agent (SNMP) support. (Options : Disable/Enable) SNMP V1/2 Attributes can read and write by SNMP Agent. In order to read attributes only, change the feature to V1/2 Attribution ReadOnly "ReadOnly".
SerialGate User Guide Change Password Change username and password for an access to Web 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.
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 Update. After the transmission is complete, SerialGate will be automatically restarted to operate with the new firmware.
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-2011, 2021: Default LAN IP Address 192.168.0.223 SG-204x, 208x, 216x: Default WAN IP Address 192.168.0.223, Default LAN IP Address 10.10.1.1...
Page 57
SerialGate User Guide If Factory Default is completed, it shows the initialized IP address, username and password as below, and restarts the device.
SerialGate User Guide Reboot This menu provides the reboot function when connected by a web browser. After reboot, your browser is reloaded on the login page.
SerialGate User Guide System Log This feature is about system log information. It records the time of the system startup and shutdown, ending time of each port connection, configuration and others. This feature is only available in SG-1160 with Secure Digital (SD) card or Multi Media card (MMC) slot in it or SG-204x/208x/216x models where there is a microSD card slot in the device.
SerialGate User Guide Configuration via Telnet Chapter 6. Connection Open your telnet client program and enter the IP address of SerialGate to connect. You need to enter appropriate username and password to login. Please note that this username and password is used as authentication method for Web as well.
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...
Page 62
SerialGate User Guide Gateway address is shown def dns 168.126.63.1 Set IP address of Domain Name Service <IP Address> Configures IP of PC which PortView is installed def portviewip If IP is set to 0.0.0.0, PortView feature is disabled. 0.0.0.0 <IP address>...
SerialGate User Guide "ReadWrite.” (Options : ReadOnly/ ReadWrite) def v3username serialgate Configure the Username to use SNMP V3. [string] def v3password none Configure the password to use SNMP V3. [string] def trapip Configure the server IP address which transmits the TRAP 0.0.0.0 [address] information.
Page 64
SerialGate User Guide Commands Default Description user] Configure interface of serial port. def port x interface It is not available for RS232 model. [rs232, Combo model can choose from RS-422, RS-485-No-Echo rs422, RS232, and RS-485-Echo. rs485ne, SG-1160/ALL can choose from RS-232, RS-422 and RS- rs485e] 485.
SerialGate User Guide Commands Default Description def port x keepalive When set to ‘1’, network status is check with given time <0 ~ 65535> period after socket connection is established. def port x latency This needs to be set when consecutive data from the given <msec>...
SerialGate User Guide def username Set username to use in the web manager, Telnet, or FTP. serialgate <username> 16 characters at maximum. def password Set password to use in the web manager, Telnet, or FTP. 99999999 <password> 16 characters at maximum. System Commands Commands Descriptions...
SerialGate User Guide Configuration via LCD Chapter 7. This feature is for SG-2xx0 model only. Through the LCD on the front panel, a user is able to test operation of each interface 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.
SerialGate User Guide Main Menu Default screen of the LCD displays the status of each port. Press ESC to go back to the main menu screen. Main menu items are as follows. STATUS : Check the status of the SerialGate. SETTINGS : Change the network of the SerialGate.
SerialGate User Guide STATUS Check the status of the device server. To go to the top menu, use the button on the device server. Sub menu Function Key Usage Displays the network connection status of each ports. When the ports are CONNECTIONS connected, the color of the port number will be reversed and shown in black.
Page 70
SerialGate User Guide Menu: WAN Entries Option Default Key Usage CONNECTION STATIC, STATIC Use or to browser the menu TYPE DHCP IP ADDRESS 192.168.0.223 Use or to move the cursor. SUBNET MASK 255.255.255.0 Use or to increase or decrease the number where the cursor is located.
SerialGate User Guide UPDATE Update the firmware of the SerialGate. From this menu, the users can use a USB memory stick or micro SD memory card to update the firmware. When a correct firmware file is detected at the root of a micro SD or USB memory stick, the SerialGate will alert the users with a beep sound.
SerialGate User Guide Application Chapter 8. SerialGate can be used in many practical applications in various fields. RFC-2217(Serial IP Redirector) With Serial IP Redirector, a user can use a serial port connected to SerialGate on the network as if it is a serial port in the PC. Maximum speed: 460.8Kbps Install Serial IP Redirector (RFC-2217) and set as the following.
Page 73
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.
SerialGate User Guide TCP_Server (TCP/IP connection from PC to SerialGate) From the socket program in the PC, connect the first serial port of SerialGate with a socket. Since socket number for the first port of SerialGate is 4001 by default, try to connect to SerialGate IP address and 4001 socket number when connecting from a PC.
SerialGate User Guide TCP_Client (TCP/IP Connection: SerialGate to PC) Since it is a connection from SerialGate to a PC, change the operation mode to TCP_Client and register IP address and socket number of the PC that you want to connect. Check the communication speed of the serial device connected to the serial port in the SerialGate, and set it in the “Com Options”.
SerialGate User Guide Pairing (Serial Line to Serial Line) This is mainly used when the cable length between the PC and a 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.
Page 77
SerialGate User Guide Setting for SerialGate 2 In order to wait for master connection, set the operation mode to Pari_Slave and register the socket number to be connected in local socket port.
SerialGate User Guide Appendix Chapter 9. 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/DE-09 ...
Page 79
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 configuration 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).
SerialGate User Guide Firmware Update using FTP A user can upload 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.
Page 81
SerialGate User Guide 8) Use ‘upgrade’ command to write this file into the flash memory in SerialGate. The upgrade application automatically detects whether the given firmware is a kernel or a file system. 9) Usage: Upgrade <firmware name> (Filename is case-sensitive.) 10) Make sure ‘Flash Write OK’...
SerialGate User Guide Product Specification Communication ( Ethernet ) SG-2011R Series SG-2011D Series 1 port of 10/100Mbps RJ-45 SG-2021R Series SG-2021D Series LAN Port SG-204xR Series SG-204xD Series SG-208xR Series 2 ports of 10/100Mbps RJ-45 SG-208xD Series SG-216xR Series Network Connection Static IP, Dynamic IP Communication ( Serial ) SG-2011R Series...
Page 83
SerialGate User Guide Hardware ( Electrical ) SG-2011 Series 12 ~ 48VDC Adapter or Terminal Block Power Consumption: 2W 12 ~ 48VDC Adapter or Terminal Block Power Consumption: SG-2021 Series 2.8W 12 ~ 48VDC Adapter or Terminal Block Power Consumption: SG-2040 Series 3.6W 12 ~ 48VDC Adapter or Terminal Block Power Consumption:...
Need help?
Do you have a question about the SerialGate 2000 Series and is the answer not in the manual?
Questions and answers