SerialGate User Guide Version: 2.1b 2013.03.
SerialGate User Guide Revision History Document Revision Date Version Pages Description Apr. 10. 2012 2.0 All Initial release Jun. 26. 2012 2.1 All New Firmware release Sep. 10. 2012 2.1a All Mar. 25. 2013 2.1b ALL New Case of SG-1020(W)/ALL release SG-1010W/ALL Revision Copyright 2009-2011 SystemBase Co., Ltd. All rights reserved. Website http://www.sysbas.
SerialGate User Guide Contents Ch1 Introduction .......................................................................................... 6 About this document 6 Who should read this document? 6 Manual Contents 7 SerialGate Documents 8 Technical Support 9 Ch2 Getting Started ................................................................................... 10 Overview 10 Features 10 Package Component 11 Application 12 Ch3 Hardware Description ............
SerialGate User Guide Ch4 Pin Specification (SG-1160/ALL) 35 Hardware Description ........................................................................ 36 Connection Guide 36 First-Time Power On 36 Connecting to SerialGate 37 Ch5 Configuration via Web .......................................................................
SerialGate User Guide Serial Commands 82 Username/Password Commands 85 System Commands 85 Ch7 Configuration via LCD ....................................................................... 86 LCD and Key Operation 86 Main Menu 87 Network Setup 88 Port Setup 89 Status 90 System 91 Verification 93 Ch8 Application..........................................................................................
SerialGate User Guide Ch1 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.
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.
SerialGate User Guide SerialGate Documents The following table summarizes documents included in the SerialGate document set.
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/ or http://www.solvlinr.com/ and go to ‘Technical Support’ menu. There you can read FAQ and ask your own question as well. Second, you can e-mail our technical support team. The mail address is tech@sysbas.com. Any kind of inquiries, requests, and comments are welcome. Lastly, you can call us at the customer center for immediate support.
SerialGate User Guide Ch2 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 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 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.
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.
SerialGate User Guide Ch3 Hardware Description This chapter provides SerialGate's hardware information including block diagram, layout, pin specification, dimensions and other hardware-related issues.
SerialGate User Guide Serial Port: RJ-45 socket for serial ports (RS-232 or Combo(RS-422/485)) Power connector: for connection of DC9~30V adapter cable Terminal Block and DC Adapter Jack connect different power at the sa me time power is applied at the same time as it may cause irreparabl e damage to the product, if you do not! 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.
SerialGate User Guide LAN Port On 100baseT connection detected & LAN data transferred (Left Green) Off 10baseT connection detected & LAN data transferred < Reset button features > Operation Pressed for less than 3 seconds Result Restart SerialGate Restore factory default settings of SerialGate, Pressed for more than 3 seconds and the device will automatically reboot.
SerialGate User Guide SG-1010/ALL Exterior SG-1010/ALL (Rear) SG-1010/ALL (Front) SG-1010/ALL 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.
SerialGate User Guide SG-1010/ALL LED / RESET LED Status Blink(1s) Meaning Normal Operation RDY Blink(0.
SerialGate User Guide Termination Resistor SW SG-1010/ALL (Rear) SW Status Meaning On Activate TX / TRXD Resistor Off Deactivate TX / TRXD Resistor On Activate RX Resistor (RS-422 Only) Off Deactivate RX Resistor (RS-422 Only) 1 2 19
SerialGate User Guide SG-1010W/ALL Exterior SG-1010W/ALL (Rear) SG-1010W/ALL (Front) SG-1010W/ALL 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.
SerialGate User Guide SG-1010W/ALL LED / RESET LED Status Blink(1s) Meaning Normal Operation RDY Blink(0.
SerialGate User Guide Termination Resistor SW SG-1010W/ALL (Rear) SW No.
SerialGate User Guide SG-1020/232, Combo Exterior SG-1020/232, Combo SG-1020/232 SG-1020/Combo Serial Port: RJ-45 socket for serial ports (RS-232 or Combo(RS-422/485)) Power connector: for connection of DC9~30V adapter cable Terminal Block and DC Adapter Jack connect different power at the sa me time power is applied at the same time as it may cause irreparabl e damage to the product, if you do not! Terminal block power connector: for connection of terminal block power cable Reset button:
SerialGate User Guide LAN port: 8-pin RJ45 jack connects SerialGate to networking devices such as Ethernet card, hub, and router.
SerialGate User Guide SG-1020/ALL & SG-1020W/ALL Exterior SG-1020/ALL(Top) SG-1020/ALL(Bottom) SG-1020/ALL SG-1020W/ALL(Top) SG-1020W/ALL(Bottom) SG-1020W/ALL 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.
SerialGate User Guide Serial: DB9 for RS-232 and 5P Terminal Block for RS-422/485 Termination Resistor Switch: Selection switch for termination resistor of RS-422/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 SG-1020/ALL & SG-1020W/ALL (Left Side) SG-1020/ALL & SG-1020W/ALL LED / RESET LED Status Blink(1s) Meaning Normal Operation RDY Blink(0.
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 more than 3 seconds e device will automatically reboot. Termination SW2 Termination SW1 SG-1020/ALL & SG-1020W/ALL (Bottom) SW SW No.
SerialGate User Guide SG-1040/1080 Exterior SG-1040/1080 (Front) SG-1040 (RS232 or Combo Version) AC Version DC Version SG-1080 (RS232 or Combo Version) AC Version DC Version 28
SerialGate User Guide Serial: RJ-45 socket for serial ports (RS-232, or Combo(RS-422/485)) Power connector AC Version: for connection of AC100~245V cable DC Version: for connection of DC12V adapter cable and terminal block power cable Terminal Block and DC Adapter Jack connect different power at the s ame time power is applied at the same time as it may cause irrepara ble damage to the product, if you do not! Reset: SerialGate reboots if this button is pressed for less than 3 seconds.
SerialGate User Guide SG-1040/1080 LED / RESET LED Status PWR On Power supplied to the device (RED) Off No power supplied to the device Blink Meaning Normal operation RDY On System Booting Off System Error WAN Off Deactivate main network (Green) On Activate main network LAN Off Deactivate sub network (Green) On Activate sub network Serial Tx/Rx Blink Serial data transmitted (Green/Orange) Blink Serial data received On Connected to network Off Disconnected
SerialGate User Guide SG-1160/ALL Exterior Serial: RJ-45 socket for serial ports (RS-232/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 SerialGate. Next section describes the meaning of each LED display status.
SerialGate User Guide SG-1160/ALL LED / RESET LED Status PWR On Power supplied to the device (W HITE) 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) Meaning On Connected to network (Rear LED: Orange) Off Disconnected to network (Rear LED: Orange) Blink LAN data being transmitted (Rear LED: Orange) 100baseT connection detected & LAN data transferred WAN/LAN On (Rear
SerialGate User Guide Pin Specification (SG-1010/1020/1040/1080 Series) (Note) SG-1020 Series is the second port support TX, RX, RTS, CTS only. RS232 RS422 RS485 8 1 RTS 8 1 7 2 DTR 7 2 GND 6 3 RxD GND 6 3 RxD+ TxD 5 4 DSR TxD+ 5 4 RxD- CTS DCD 8 1 7 2 GND 6 3 TRxD+ 5 4 TxD- Pin No.
SerialGate User Guide Pin Specification (SG-1010(W)/ALL, SG-020(W)/ALL) (Note) SG-1020 Series is the second port support TX, RX, RTS, CTS only. RS-232 Pin No. Signal 1 DCD Data Carrier Detection (Input) 2 RXD Receive Data (Input) 3 TXD Transmit Data (Output) 4 DTR Data Terminal Ready (Output) 5 GND Ground 6 DSR Data Set Ready (input) 7 RTS Request to Send (Output) 8 CTS Clear to Send (Input) 9 RI Ring Indicator (Input) Description RS-422 Full Duplex Pin No.
SerialGate User Guide Pin Specification (SG-1160/ALL) RS232 RS422 CTS RTS 8 1 DCD 7 2 RxD DSR 6 3 TxD GND 5 4 DTR TxD+ GND RS485 8 1 7 2 TxD- 6 3 RxD+ 5 4 RxD- TRxD+ GND Pin No.
SerialGate User Guide Ch4 Hardware Description 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.
SerialGate User Guide 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 SerialGate. 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 SG-1040/1080/1160 1.
SerialGate User Guide Serial Console Port SG-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 hyperterminal, program a user such can make as a configuration as 115200 bps, None Parity, 8 Data bits, 1 Stop Bit and connect to a device.
SerialGate User Guide Ch5 Configuration via Web Connection (210MHz Model Only) Open web browser and enter the IP address of SerialGate to access SerialGate’s 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.
SerialGate User Guide Setup Menu (210MHz Model Only) 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. The followings are main features of Setup Menu. Menu Description Summary Confirm basic information about SerialGate Network Settings Configure network connection settings.
SerialGate User Guide Network Settings (210MHz Model Only) In Network Settings, a user can configure general network environment and network management. After changing values, you need to click ‘Submit’ button. Then you will see the same page with modified values. Please note that you have to ‘Save & Reboot’ in order to see these changes in effect. Changes will be discarded if you do not save current settings.
SerialGate User Guide The followings are main features of WAN Configuration. Menu Device Name Line Type Default Description SerialGate Name of the current device Static IP IP obtaining method for SerialGate’s network connection. Current IP address SerialGate is assigned to. IP Address 192.168.0.223 (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.
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 PortView IP / Port 0.0.0.0 / 4000 where 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 Register DDNS server’s IP address for DDNS service. DDNS service used in SerialGate is supported by DDNS (Username/ http://ddns.nu 203.32.117.
SerialGate User Guide Serial Settings (210MHz Model Only) A user can set the communication and operation environment for the serial port. After changing values, a user needs to click ‘Submit’ button. Then a user will see the modified values. Please note that you have to ‘Save & Reboot’ in order to see these changes in effect. Changes will be discarded if you do not save current settings.
SerialGate User Guide SG-1020/232, Combo For SG-1020, two serial ports are separately selectable at the bottom of the page.
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 in ‘Local socket port’ field.
SerialGate User Guide Menu Default Descriptions 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.
SerialGate User Guide Menu Default Stop Bits 1 Parity None Flow Control None Descriptions Set the number of stop bits.. (Options: 1, 2) Set parity bit check scheme.. (Options: None, Odd, Even) Set the flow control scheme. (Options: None, Xon/Xoff, RTS/CTS) Set the signal line checking method for the device to be connected to the given serial port. Device Type If the mode is set to Data Only, only TxD, RxD, and GND signal lines Data Only are used in inter-device communication.
SerialGate User Guide Menu Default Descriptions (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 Time 0 for the latency time.
SerialGate User Guide SNMP Settings (210MHz Model Only) A user can set the communication and operation environment for the SNMP Agent. After changing values, you need to click ‘Submit’ button. Then you will see the same page with modified values. Please note that you have to ‘Save & Reboot’ in order to see these changes in effect. Changes will be discarded if you do not save current settings. In order to use the SNMP Agent, enable SNMP v1/v2/v3 and click the [Submit] button.
SerialGate User Guide V3 Username/ Password TRAP IP/ Port System reset notification Port connect notification serialgate /administr ator notification The Password is at least 8 character string 0.0.0.0/16 Configure the server IP address and Port which receive the TRAP 2 information. Enable Disable Port disconnect Configure the Username and the password when use SNMP V3. Disable If Enable is selected, notify the “System reset info.
SerialGate User Guide Change Password (210MHz Model Only) Change username and password for an access to Web and Telnet. After changing values, you need to click ‘Submit’ button. Then you will see the same page with modified values. Please note that you have to ‘Save & Reboot’ in order to see these changes in effect. Changes will be discarded if you do not save current settings. 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 (210MHz Model Only) 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 ‘Start Update’. After the transmission is complete, SerialGate will be automatically restarted to operate with the new firmware.
SerialGate User Guide Factory Default (210MHz Model Only) 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. LAN Default IP Address 192.168.0.223 If Factory Default is complete, it shows the initialized IP address, username and password as below, and restarts the device.
SerialGate User Guide Save & Reboot (210MHz Model Only) This option saves changes to the Flash memory and restarts the system to let the changes to take place in the operation. Main features for Save & Reboot are as follows Menu Save and Reboot Reboot Only Descriptions Reboots SerialGate after saving changes to Flash memory. Reboots SerialGate without saving changes. This option can be used to rollback the changes you have mistakenly made.
SerialGate User Guide Connection (400MHz Model) Open web browser and enter the IP address of SerialGate to access SerialGate’s 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.
SerialGate User Guide Setup Menu (400MHz Model) 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.
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.
SerialGate User Guide Network Settings (400MHz Model) 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 User Guide SG-1040/1080/1160 60
SerialGate User Guide The followings are main features of WAN Configuration. Menu Device Name Line Type Default Description SerialGate Name of the current device Static IP IP obtaining method for SerialGate’s network connection. Current IP address SerialGate is assigned to. IP Address 192.168.0.223 (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.
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 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 Telnet Service FTP Service WEB Service SSH Service Enable Enable Enable Disable Enable or disable Telnet service.
SerialGate User Guide Serial Settings (400MHz Model) 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.
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 in ‘Local socket port’ field.
SerialGate User Guide Menu Default Descriptions 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.
SerialGate User Guide Menu Default Descriptions Set communication speed. Baud Rate 9600 bps (Options: 150, 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600 bps) Data Bits 8 Stop Bits 1 Parity None Flow Control None Set the number of bits in each character size. (Options: 5, 6, 7, 8) Set the number of stop bits.. (Options: 1, 2) Set parity bit check scheme.. (Options: None, Odd, Even) Set the flow control scheme.
SerialGate User Guide Menu Default Descriptions 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.
SerialGate User Guide Wireless Settings (400MHz Model) Only for SG-1010w/ALL & SG-1020w/ALL A user can 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.
SerialGate User Guide Menu Default Description When enabled, WiFi is available. Wireless Network Disable •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 Wireless Mode Infrastructure AP (Access Point) as a client to connect to other network. •Ad-Hoc: Use WiFi under the Ad-hoc mode.
SerialGate User Guide 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 Fragment Threshold 2346 overhead communication error can is increased but be reduced in serious interference or noise environment. In most cases, this setting is not used.
SerialGate User Guide based 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 Type in Key value by Encryption Type. Sets an IP address type in a wireless network.
SerialGate User Guide SNMP Settings (400MHz Model) 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.
SerialGate User Guide Menu Default SNMP v1/v2/v3 Disable Agent Descriptions Enable or disable Simple Network Management Protocol (SNMP) support. (Options : Disable/Enable) SNMP V1/2 Attributes can read and write by SNMP Agent. V1/2 Attribution ReadOnly 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.
SerialGate User Guide Change Password (400MHz Model) 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. However, please be aware that all other settings will be initialized and back to factory default.
SerialGate User Guide Update Firmware (400MHz Model) 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 ‘Start 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 page.
SerialGate User Guide Factory Default (400MHz Model) 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 192.168.0.223, 10.10.1.1 SG-1040, 1080, 1160 : WAN Default IP Address 192.168.0.223, LAN Default IP Address 10.10.1.
SerialGate User Guide Reboot (400MHz Model) This menu provides the reboot function via web. After reboot, your browser is reloaded on the login page.
SerialGate User Guide System Log (400MHz Model) This feature confirms SerialGate’s system log information. (Only available for SG-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.
SerialGate User Guide Ch6 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 password is used 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.
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.
SerialGate User Guide Gateway address is shown def dns 168.126.63.1 Set IP address of Domain Name Service Configures IP of PC which Portview is installed def portviewip 0.0.0.0 If IP is set to 0.0.0.0, Portview feature is disabled. (Please refer to Portview User Manual in SerialGate Utility & Documents CD for detailed information.
SerialGate User Guide (Options : ReadOnly/ ReadWrite) def v3username [string] def v3password [string] def trapip [address] def trapoprt [Socket No.] def trap_reset [enable, disable] def trap_connect [enable, disable] serialgate Configure the Username to use SNMP V3. none Configure the password to use SNMP V3. 0.0.0.0 162 Configure the server IP address which transmits the TRAP information. Configure the server Port which transmits the TRAP information.
SerialGate User Guide Commands Default Configure interface of serial port. def port x interface [rs232, rs422, rs485ne, Description It is not available for RS232 model. RS232, Combo model can choose from RS-422, RS-485-No-Echo RS422 and RS-485-Echo. SG-1160/ALL can choose from RS-232, RS-422 and RS- rs485e] 485. Set the socket number for the port.
SerialGate User Guide Commands Default Description After a certain amount of time passes without any def port x keepalive <0 ~ 65535> 0 communication after the socket connection between the given serial port and the server is established, automatically disconnect the socket connection.
SerialGate User Guide Username/Password Commands Configure username and password for Web/Telnet/FTP. Commands def username def password Default serialgate 99999999 Descriptions 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 def default Descriptions Restore all settings to factory default. Requires reboot for changes to take effect.
SerialGate User Guide Ch7 Configuration via LCD This feature is only for SG-1160/ALL model. A user of SG-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 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 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. Status : Check the connection status of the port and device server’s version information. System : Perform firmware upgrade or reset, and initialization.
SerialGate User Guide 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.
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.
SerialGate User Guide Stop Bits 1, 2 1 Latency_time 0 ~ 65535 0 Keepalive 0 ~ 65535 0 <<: Increase the value of the cursor position. >>: Move cursor to the next space. Remote IP 0.0.0.0 Remote Port 4000 Enter: Save the current option, and go to the next menu. <<, >> : Select option Termination Enable, Disable Disable Enter: Save the current option, and go to the next menu.
SerialGate User Guide 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 any time ‘ESC’ is selected, it moves to the top menu. Menu Option Default Description Port Reset <<, >> : Select option.
SerialGate User Guide 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. 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.
SerialGate User Guide 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 ‘Verification’. 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.
SerialGate User Guide RS232 (Seinal) Change all the serial ports of a device server to RS-232, and conduct a serial signal test. RS-232 Loopback connector must be connected to all the serial ports for the test. If a user selects ‘yes’ option, it starts serial signal test and prints 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’ otherwise.
SerialGate User Guide Testing WAN 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’ option, it tries Ping to ‘192.168.0.1’, and prints out the result on LCD. 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. Testing LAN Port Test LAN port of a device server.
SerialGate User Guide Testing Reset It tests whether ‘Reset’ button of a device server works. If a user selects ‘yes’ option, it waits for ‘Reset’ key to be pressed for approximately 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. Testing Console It tests whether console port of a device server works.
SerialGate User Guide Ch8 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 SerialGate is 192.168.0.
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) 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. .
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 address 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.
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.
SerialGate User Guide Setting for SerialGate 2 In order to wait for Master connection, set Operation Mode to Pari_Slave and register the socket number to be connected in Local Socket Port.
SerialGate User Guide Ch9 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.
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.
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. 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.
SerialGate User Guide 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 (Filename is case-sensitive.) 10) Make sure ‘Flash Write OK’ and ‘Flash Verify OK’ messages are displayed. 11) Enter ‘reboot’ to restart SerialGate. Now SerialGate will run with the new firmware. 12) Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.
SerialGate User Guide Product Specification Communication SG-1010 Series SG-1010/ALL SG-1010W/ALL 10/100Mbps RJ-45 Port * 1EA SG-1020 Series LAN Port SG-1020/ALL SG-1020W/ALL SG-1040 Series SG-1080 Series 10/100Mbps RJ-45 Port * 2EA SG-1160/ALL Network Static IP, DHCP IP SG-1010 Series 1 Port ( RS-232 or COMBO(RS-422/485) ) SG-1010/ALL 1 Port ( RS-232/RS-422/485 ) SG-1010w/ALL 1 Port ( RS-232/RS-422/485 ) SG-1020 Series 2 Ports ( RS-232 or COMBO(RS-422/485) ) SG-1020/ALL 2 Ports ( RS-232/RS-4
SerialGate User Guide Hardware SG-Series Process 400Mhz SG-1010 Series 210Mhz SG-1020 Series only Flash Memory 8MByte (SG-1010 Series: 4MByte) SDRAM 32MByte Power SG-1010 Series DC 9 ~ 30V Range SG-1020 Series DC 12V Adapter(or Terminal Block) SG-1010/ALL Power Consumption: 2W SG-1010W/ALL DC 9 ~ 48V Range SG-1020/ALL DC 12V Adapter(or Terminal Block) SG-1020W/ALL Power Consumption: 2.
SerialGate User Guide SG-1040-DC Series 1,180 g SG-1040 Series SG-1080-DC Series 1,215 g SG-1080 Series SG-1160/ALL 2,480 g SG-1010 Series SG-1020 Series SG-1010/ALL -40℃ ~ 85℃ SG-1020/ALL SG-1010W/ALL Operation SG-1020W/ALL -10℃ ~ 70℃ Temperature SG-1040-DC Series SG-1040 Series SG-1080-DC Series 0℃ ~ 50℃ SG-1080 Series SG-1160/ALL SG-1010 Series TX, RX, DTR, DSR, CTS, RTS, DCD Port 1: TX, RX, DTR, DSR, RTS, CTS, SG-1020 Series DCD Port 2: TX, RX, RTS, CTS SG-1010/ALL TX, RX, DTR, DSR, CTS, RTS
SerialGate User Guide SG-1040 Series SG-1080-DC Series SG-1080 Series SG-1160/ALL Reset Button Feature Action Result Warm Booting Press for less than 3 sec. SerialGate reboots Factory Default Press for more than 3 sec.