Table of Contents

Advertisement

Quick Links

SerialGate
User Guide
Version: 2.1b
2013.03.25
cele mai sensibile
ECHIPAMENTE PENTRU AUTOMATIZĂRI
1/110
Electric Film S.R.L. — Aleea Scarisoara 3, Apt.42 ▪ Cluj Napoca, Cluj ▪ 400445 ▪ www.electricfilm.eu
VÂNZĂRI ▪ 0364 710319 ▪ electricfilm.eu@gmail.com ▪ SUPORT TEHNIC ▪ 0788 250583

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SerieslGate SG-1010/232 and is the answer not in the manual?

Questions and answers

Summary of Contents for SystemBase SerieslGate SG-1010/232

  • Page 1 SerialGate User Guide Version: 2.1b 2013.03.25 cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 1/110 Electric Film S.R.L. — Aleea Scarisoara 3, Apt.42 ▪ Cluj Napoca, Cluj ▪ 400445 ▪ www.electricfilm.eu VÂNZĂRI ▪ 0364 710319 ▪ electricfilm.eu@gmail.com ▪ SUPORT TEHNIC ▪ 0788 250583...
  • Page 2 New Case of SG-1020(W)/ALL Sep. 10. 2012 2.1a release Mar. 25. 2013 2.1b SG-1010W/ALL Revision Copyright 2009-2011 SystemBase Co., Ltd. All rights reserved. Website http://www.sysbas.com/ 02-855-0501 02-855-0580 16F Daerung Post Tower-1, 212-8, Guro-dong, Seoul, Korea For any inquiries or comments, contact to tech@sysbas.com...
  • Page 3: Table Of Contents

    SerialGate User Guide Contents Introduction ..................6 About this document  Who should read this document?  Manual Contents  SerialGate Documents  Technical Support  Getting Started ................... 10 Overview  Features  Package Component  Application  Hardware Description ................ 14 SG-1010/232, Combo Exterior ...
  • Page 4 SerialGate User Guide Pin Specification (SG-1160/ALL)  Hardware Description ................ 36 Connection Guide  First-Time Power On  Connecting to SerialGate  Configuration via Web ............... 39 Connection (210MHz Model Only)  Setup Menu (210MHz Model Only)  Network Settings (210MHz Model Only) ...
  • Page 5 SerialGate User Guide Serial Commands  Username/Password Commands  System Commands  Configuration via LCD ............... 86 LCD and Key Operation  Main Menu  Network Setup  Port Setup  Status  System  Verification  Application..................97 Com Port Redirector ...
  • Page 6: Ch1 Introduction

    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.
  • Page 7: Manual Contents

    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.
  • Page 8: Serialgate Documents

    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 COM Port Redirector User Guide for SystemBase COM Port Redirector Manual...
  • Page 9: Technical Support

    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/ http://www.solvlinr.com/ and go to ‘Technical Support’ menu. There you can read FAQ and ask your own question as well.
  • Page 10: Ch2 Getting Started

    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 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.
  • Page 11: Package Component

    SerialGate User Guide Package Component SerialGate package is composed of the following components. Make sure every component is included in your package. All packages include a module and a CD with utilities and documents. SerialGate device 1pc (RS232 model or Combo (RS-422/485) model) Direct LAN Cable 1pc Power adapter 1pc (for SG-1010, SG-1010/ALL, SG-1020, SG-1020/ALL, SG-1040-DC, SG- 1080-DC Series)
  • Page 12: Application

    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 COM Port Redirection, a user can use serial port connected to SerialGate on the network as if it is a serial port on PC. Factory / Industrial Automation PLC, Robot arms, Human-Machine Interface, Warehouse rails Medical instruments, Inspection equipment controllers Alarming units Home Appliances / Electronic Devices...
  • Page 14: Ch3 Hardware Description

    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. SG-1010/232, Combo Exterior SG-1010/232, Combo SG-1010/232 SG-1010/Combo cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 14/110 Electric Film S.R.L. — Aleea Scarisoara 3, Apt.42 ▪ Cluj Napoca, Cluj ▪ 400445 ▪ www.electricfilm.eu VÂNZĂRI ▪...
  • Page 15: Sg-1010/232, Combo Led / Reset

    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 ...
  • Page 16 SerialGate User Guide 100baseT connection detected & LAN data transferred LAN Port (Left Green) 10baseT connection detected & LAN data transferred < Reset button features > Operation Result Pressed for less than 3 seconds Restart SerialGate Restore factory default settings of SerialGate, Pressed for more than 3 seconds and the device will automatically reboot.
  • Page 17: Sg-1010/All Exterior

    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.
  • Page 18: Sg-1010/All Led / Reset

    SerialGate User Guide SG-1010/ALL LED / RESET Status Meaning Blink(1s) Normal Operation Blink(0.2s) Ready for restore factory default settings REEN During the Booting System Error Blink Serial data being transmitted (Red) Network connected Network disconnected (Right Orange) Blink LAN data being transmitted 100baseT connection detected &...
  • Page 19 SerialGate User Guide <RS-422/485 Termination Resistor Setting> Termination Resistor SW SG-1010/ALL (Rear) Status Meaning Activate TX / TRXD Resistor Deactivate TX / TRXD Resistor Activate RX Resistor (RS-422 Only) Deactivate RX Resistor (RS-422 Only) cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 19/110 Electric Film S.R.L.
  • Page 20: Sg-1010W/All Exterior

    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.
  • Page 21: Sg-1010W/All Led / Reset

    SerialGate User Guide SG-1010W/ALL LED / RESET Status Meaning Blink(1s) Normal Operation Blink(0.2s) Ready for restore factory default settings REEN During the Booting System Error Send: Red Blink (Red/Orange) Receive: Orange Blink WIFI Link up WIFI(Green) WIFI Link down Network connected Network disconnected (Right Orange) Blink...
  • Page 22 SerialGate User Guide <RS-422/485 Termination Resistor Setting> Termination Resistor SW SG-1010W/ALL (Rear) SW No. Status Meaning Activate TX / TRXD Resistor Deactivate TX / TRXD Resistor Activate RX Resistor (RS-422 Only) Deactivate RX Resistor (RS-422 Only) cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 22/110 Electric Film S.R.L.
  • Page 23: Sg-1020/232, Combo Exterior

    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! ...
  • Page 24: Sg-1020/232, Combo Led / Reset

    SerialGate User Guide  LAN port: 8-pin RJ45 jack connects SerialGate to networking devices such as Ethernet card, hub, and router. SG-1020/232, Combo LED / RESET Status Meaning Power supplied to the device (Red) No power supplied to the device No active network connection (Green) Network activated...
  • Page 25: Sg-1020/All & Sg-1020W/All Exterior

    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 ...
  • Page 26: Sg-1020/All & Sg-1020W/All Led / Reset

    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.
  • Page 27 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. <RS-422/485 Termination Resistor Setting> Termination SW2 Termination SW1 SG-1020/ALL &...
  • Page 28: Sg-1040/1080 Exterior

    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 cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 28/110 Electric Film S.R.L. — Aleea Scarisoara 3, Apt.42 ▪ Cluj Napoca, Cluj ▪ 400445 ▪ www.electricfilm.eu VÂNZĂRI ▪...
  • Page 29 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! ...
  • Page 30: Sg-1040/1080 Led / Reset

    SerialGate User Guide SG-1040/1080 LED / RESET <LED Feature> Status Meaning Power supplied to the device No power supplied to the device Blink Normal operation System Booting (Green) System Error Deactivate main network (Green) Activate main network Deactivate sub network (Green) Activate sub network Blink...
  • Page 31: Sg-1160/All Exterior

    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.
  • Page 32: Sg-1160/All Led / Reset

    SerialGate User Guide SG-1160/ALL LED / RESET <LED feature> Status Meaning Power supplied to the device HITE No power supplied to the device Serial Tx Green Blink Serial data transmitted Serial Rx Orange Blink Serial data received Connected to network (Rear LED: Orange) WAN/LAN Front LED Disconnected to network (Rear LED: Orange)
  • Page 33: Pin Specification (Sg-1010/1020/1040/1080 Series)

    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 TxD- TRxD- RxD+ RxD- TxD+ TRxD+ Pin No. RS-232 RS-422 RS-485 TxD - TRxD - RxD + RxD - TxD + TRxD +...
  • Page 34: Pin Specification (Sg-1010(W)/All, Sg-020(W)/All)

    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 Description Data Carrier Detection (Input) Receive Data (Input) Transmit Data (Output) Data Terminal Ready (Output) Ground Data Set Ready (input) Request to Send (Output) Clear to Send (Input)
  • Page 35: Pin Specification (Sg-1160/All)

    SerialGate User Guide Pin Specification (SG-1160/ALL) RS232 RS422 RS485 TxD+ TxD- TRxD+ TRxD- RxD+ RxD- Pin No. RS-232 RS-422 RS-485 TxD - TRxD - RxD + RxD - TxD + TRxD + cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 35/110 Electric Film S.R.L. — Aleea Scarisoara 3, Apt.42 ▪ Cluj Napoca, Cluj ▪ 400445 ▪ www.electricfilm.eu VÂNZĂRI ▪...
  • Page 36: Ch4 Hardware Description

    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).
  • Page 37: Connecting To Serialgate

    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.
  • Page 38 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.
  • Page 39: Ch5 Configuration Via Web

    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.
  • Page 40: Setup Menu (210Mhz Model Only)

    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.
  • Page 41: Network Settings (210Mhz Model Only)

    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.
  • Page 42 SerialGate User Guide The followings are main features of WAN Configuration. Menu Default Description Device SerialGate Name of the current device Name Line Type Static IP IP obtaining method for SerialGate’s network connection. Current IP address SerialGate is assigned to. (When line type is Static IP, manually enter an appropriate IP Address 192.168.0.223...
  • Page 43 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 where Portview is installed. For more information about 0.0.0.0 / 4000 IP / Port Portview, please refer to the Portview User Manual.
  • Page 44: Serial Settings (210Mhz Model Only)

    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 &...
  • Page 45 SerialGate User Guide SG-1020/232, Combo For SG-1020, two serial ports are separately selectable at the bottom of the page. cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 45/110 Electric Film S.R.L. — Aleea Scarisoara 3, Apt.42 ▪ Cluj Napoca, Cluj ▪ 400445 ▪ www.electricfilm.eu VÂNZĂRI ▪...
  • 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. COM Redirector Use the serial port of SerialGate as a virtual COM port in Windows 2000/XP/2003/Vista.
  • Page 47 User Application A user can run own customized program. In order to run it, a user needs to ask for application development environment to SystemBase. For RS232 model, interface is set to RS-232 while Combo model’s RS232, interface is selectable between RS-422, RS-485(No-Echo) and RS-...
  • Page 48 SerialGate User Guide Menu Default Descriptions Set the number of stop bits.. Stop Bits (Options: 1, 2) 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 49 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 0 for the latency time.
  • Page 50: Snmp Settings (210Mhz Model Only)

    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 &...
  • Page 51 SerialGate User Guide serialgate V3 Username/ Configure the Username and the password when use SNMP V3. /administr Password The Password is at least 8 character string ator 0.0.0.0/16 Configure the server IP address and Port which receive the TRAP TRAP IP/ Port information.
  • Page 52: Change Password (210Mhz Model Only)

    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 &...
  • Page 53: Update Firmware (210Mhz Model Only)

    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.
  • Page 54: Factory Default (210Mhz Model Only)

    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.
  • Page 55: Save & Reboot (210Mhz Model Only)

    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 Descriptions Save and Reboot...
  • Page 56: Connection (400Mhz Model)

    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.
  • Page 57: Setup Menu (400Mhz Model)

    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. cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 57/110...
  • Page 58 SerialGate User Guide The followings are main features of Setup Menu. Menu Description Summary Confirm basic information about SerialGate Network Settings Configure network connection settings. Serial Settings Configure detailed operation environment for serial communication SNMP Settings Configure detailed operation environment for SNMP Change Password Change ID and password for both Web and Telnet interface Update Firmware...
  • Page 59: Network Settings (400Mhz Model)

    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. SG-1010(W)/ALL, 1020(W)/ALL cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI...
  • Page 60 SerialGate User Guide SG-1040/1080/1160 cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 60/110 Electric Film S.R.L. — Aleea Scarisoara 3, Apt.42 ▪ Cluj Napoca, Cluj ▪ 400445 ▪ www.electricfilm.eu VÂNZĂRI ▪ 0364 710319 ▪ electricfilm.eu@gmail.com ▪ SUPORT TEHNIC ▪ 0788 250583...
  • Page 61 SerialGate User Guide The followings are main features of WAN Configuration. Menu Default Description Device SerialGate Name of the current device Name Line Type Static IP IP obtaining method for SerialGate’s network connection. 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 62 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.
  • Page 63: Serial Settings (400Mhz Model)

    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. cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 63/110...
  • Page 64 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.
  • Page 65 User Application A user can run own customized program. In order to run it, a user needs to ask for application development environment to SystemBase. RS232 model is set to RS-232. Combo model is selectable between RS-422, RS-485(No-Echo) and RS-485(Echo). Default value is RS-422.
  • Page 66 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) Set the number of bits in each character size. Data Bits (Options: 5, 6, 7, 8) Set the number of stop bits..
  • Page 67 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.
  • Page 68: Wireless Settings (400Mhz Model)

    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.
  • Page 69 SerialGate User Guide Menu Default Description When enabled, WiFi is available. •Disable: WiFi is not available. Wireless Network Disable •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 Infrastructure AP (Access Point) as a client to connect to other Wireless Mode...
  • Page 70 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.
  • Page 71 SerialGate User Guide based algorithm specified 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. Type in Key value by Encryption Type.
  • Page 72: Snmp Settings (400Mhz Model)

    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. cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 72/110...
  • Page 73 SerialGate User Guide Menu Default Descriptions SNMP Enable or disable Simple Network Management Protocol (SNMP) v1/v2/v3 Disable support. (Options : Disable/Enable) Agent SNMP V1/2 Attributes can read and write by SNMP Agent. V1/2 In order to read attributes only, change the feature to "ReadOnly". ReadOnly Attribution In order to read and write attributes, change the feature to...
  • Page 74: Change Password (400Mhz Model)

    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.
  • Page 75: Update Firmware (400Mhz Model)

    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.
  • Page 76: Factory Default (400Mhz Model)

    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.1 If Factory Default is complete, it shows the initialized IP address, username and password as below,...
  • Page 77: Reboot (400Mhz Model)

    SerialGate User Guide Reboot (400MHz Model) This menu provides the reboot function via web. After reboot, your browser is reloaded on the login page. cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 77/110 Electric Film S.R.L. — Aleea Scarisoara 3, Apt.42 ▪ Cluj Napoca, Cluj ▪ 400445 ▪ www.electricfilm.eu VÂNZĂRI ▪...
  • Page 78: System Log (400Mhz Model)

    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 C:\>telnet 192.168.0.223 SerialGate Login : serialgate Password :99999999 #test_rtc –-s 2010 7 8 15 00 00 ...
  • Page 79: Ch6 Configuration Via Telnet

    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.
  • Page 80: View Commands

    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 81 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>...
  • Page 82: Serial Commands

    SerialGate User Guide (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 83 SerialGate User Guide Commands Default Description Configure interface of serial port. def port x interface It is not available for RS232 model. [rs232, RS232, Combo model can choose from RS-422, RS-485-No-Echo rs422, RS422 and RS-485-Echo. rs485ne, SG-1160/ALL can choose from RS-232, RS-422 and RS- rs485e] 485.
  • Page 84 SerialGate User Guide Commands Default Description After a certain amount of time passes without any def port x keepalive communication after the socket connection between the <0 ~ 65535> given serial port and the server is established, automatically disconnect the socket connection. def port x latency This needs to be set when consecutive data from the given <msec>...
  • Page 85: Username/Password Commands

    SerialGate User Guide Username/Password Commands Configure username and password for Web/Telnet/FTP. Commands Default Descriptions def username Set username to use in Web, Telnet, or FTP. serialgate <username> 16 Characters at maximum. def password Set password to use in Web, Telnet, or FTP. 99999999 <password>...
  • Page 86: Ch7 Configuration Via Lcd

    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.
  • Page 87: Main Menu

    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. Change the network configuration of device server. Network Setup Change the operating environment setting for each port.
  • Page 88: Network Setup

    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.
  • Page 89: Port Setup

    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’...
  • Page 90: Status

    SerialGate User Guide Stop Bits 1, 2 <<: Increase the value of the cursor Latency_time 0 ~ 65535 position. Keepalive 0 ~ 65535 >>: Move cursor to the next space. Remote IP 0.0.0.0 Enter: Save the current option, and go to Remote Port 4000 the next menu.
  • Page 91: System

    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’...
  • Page 92 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 –...
  • Page 93: Verification

    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’...
  • Page 94 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’...
  • Page 95 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’...
  • Page 96 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 !
  • Page 97: Ch8 Application

    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.
  • Page 98 SerialGate User Guide In order to correspond to the Redirector setting of PC, change the setting in the first serial port of SerialGate follows. cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 98/110 Electric Film S.R.L. — Aleea Scarisoara 3, Apt.42 ▪ Cluj Napoca, Cluj ▪ 400445 ▪ www.electricfilm.eu VÂNZĂRI ▪...
  • Page 99: Tcp_Server (Tcp/Ip Connection From Pc To Serialgate)

    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.
  • Page 100: Tcp_Client (Tcp/Ip Connection: Serialgate  Pc)

    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.
  • Page 101: Pair (Serial Line To Serial Line)

    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.
  • Page 102 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. cele mai sensibile ECHIPAMENTE PENTRU AUTOMATIZĂRI 102/110 Electric Film S.R.L. — Aleea Scarisoara 3, Apt.42 ▪ Cluj Napoca, Cluj ▪ 400445 ▪ www.electricfilm.eu VÂNZĂRI ▪...
  • Page 103: Ch9 Appendix

    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. Check the physical cabling to ensure all cables are plugged in (Ethernet and DB-9 se ...
  • Page 104 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).
  • Page 105: Firmware Update Using Ftp

    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 106 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 <firmware name> (Filename is case-sensitive.) 10) Make sure ‘Flash Write OK’ and ‘Flash Verify OK’ messages are displayed. 11) Enter ‘reboot’...
  • Page 107: Product Specification

    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...
  • Page 108 SerialGate User Guide Hardware SG-Series 400Mhz Process SG-1010 Series 210Mhz SG-1020 Series only Flash Memory 8MByte (SG-1010 Series: 4MByte) SDRAM 32MByte 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)
  • Page 109 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 -40℃ ~ 85℃ SG-1010/ALL SG-1020/ALL SG-1010W/ALL Operation -10℃ ~ 70℃ SG-1020W/ALL Temperature SG-1040-DC Series SG-1040 Series SG-1080-DC Series 0℃...
  • Page 110 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. Restores the default setting Software Protocol TCP, UDP, Telnet, ICMP, DHCP, TFTP, HTTP, SNMP 1/2/3, SSH, SSL Management Tool Portview Configuration...

Table of Contents