Manual Sx500 Eng

download Manual Sx500 Eng

of 86

Transcript of Manual Sx500 Eng

  • 8/2/2019 Manual Sx500 Eng

    1/86

    SX-500 and SX-510

    Serial Device Server

    Users Reference Guide

  • 8/2/2019 Manual Sx500 Eng

    2/86

    Part Number 140-00188-180

    Revision A-1

    2009 Silex Technology America, Inc. All rights reserved.February 2009

    Silex Technology America SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF MERCHANTABILITY ANDFITNESS OF THIS PRODUCT FOR A PARTICULAR PURPOSE. Silex shall not be liable for any errors contained in thismanual or for any damages resulting from loss of use, data, profits, or any incidental or consequential damages arising fromthe use of SILEX products or services. The information contained in this documentation is subject to change without notice.

    Information and descriptions contained herein are the property of Silex. Such information and descriptions may

    not be copied, disseminated, or distributed without the express written consent of Silex. This publication issubject to change without notice.

    The software embedded in this SX-500 serial device server includes the eCos operating system. eCos andcertain other software programs used in the SX-500 are licensed under GNU GPL compatible Free SoftwareLicenses (with the eCos exception clause). In compliance with these licenses, you can obtain the relevantsource code at no charge by contacting Silex at [email protected].

    TrademarksExtendView is a trademark of Silex Technology America, Inc. All other company or product names referencedin this document may be trademarks or registered trademarks of their respective owners.

    Silex Technology America, Inc.

    www.silexamerica.com

  • 8/2/2019 Manual Sx500 Eng

    3/86

    Contents Silex Page i

    Part Number 140-00188-180

    Contents

    About This Reference Guide............................................................................................................................................ 1

    Safety Precautions........................................................................................................................................................1

    Emissions Disclaimer.................................................................................................................................................... 1

    Chapter 1: Introduction ..................................................................................................................................................... 3

    Chapter 2 Installing the Serial Device Server Hardware ............................................................................................... 5

    Verify Package Contents ..............................................................................................................................................5

    Installing the Serial Device Server............................................................................................................................... 5

    Monitoring Serial Device Server Status....................................................................................................................... 7

    Chapter 3 Configuring the Serial Device Server............................................................................................................. 9

    Basic Configuration Requirements .............................................................................................................................. 9

    Configuration Methods................................................................................................................................................10

    Using the ExtendView Utility to Configure the Serial Device Server (Ethernet Connection).................................11

    First-Time IP Address Configuration .........................................................................................................................15

    Using a Web Browser to Configure the Serial Device Server ................................................................................. 17

    Using the Internal Command Console to Configure the Serial Device Server.......................................................19

    Chapter 4 Using the Serial Device Server with Your Application ................................................................................ 23

    Serial Port Emulator.................................................................................................................................................... 23

    Raw TCP connection .................................................................................................................................................. 24

    RFC 2217 Remote Modem Control Support.............................................................................................................25

    ECable Mode...............................................................................................................................................................25

    Print Server Mode .......................................................................................................................................................26

    FTP ..............................................................................................................................................................................26

    Console Mode Switching ............................................................................................................................................26

    AT Commands ............................................................................................................................................................ 27

    SNMP Traps and Email Alerts ...................................................................................................................................27

    Chapter 5 Advanced Configuration ............................................................................................................................... 29

    Factory Default Settings .............................................................................................................................................29

    Restoring Factory Default Settings ........................................................................................................................30

    Modifying TCP/IP Settings ......................................................................................................................................... 30

    Configuring SNMP ......................................................................................................................................................32

    Configuring Serial Port Monitor Alert and Trap Configuration ................................................................................. 34

    Setting up Email Alerts and SNMP Traps ................................................................................................................. 35

    Using AT Modem Commands ....................................................................................................................................36

    Standard AT Commands Supported...................................................................................................................... 36

    Response Codes......................................................................................................................................................... 39

    Using ExtendView for Bulk Configuration ................................................................................................................. 39

    Chapter 6 Troubleshooting............................................................................................................................................. 41

    Chapter 7 Product Specifications ..................................................................................................................................43

    TCP Port Connections ................................................................................................................................................ 44

    Appendix A Advanced Security Configuration .............................................................................................................45

  • 8/2/2019 Manual Sx500 Eng

    4/86

    Page ii Silex Contents

    Part Number 140-00188-180

    Appendix B Console Commands.................................................................................................................................. 49

    Wireless and Network Security Commands.............................................................................................................. 49

    Port Commands ..........................................................................................................................................................55

    Server Information Commands ..................................................................................................................................56

    Service Commands..................................................................................................................................................... 58

    String Commands .......................................................................................................................................................60

    TCP/IP Commands ..................................................................................................................................................... 61Firmware Update......................................................................................................................................................... 66

    Miscellaneous Commands ......................................................................................................................................... 67

    Help Commands .........................................................................................................................................................67

    Appendix C Firmware Update Procedures ................................................................................................................... 69

    Appendix D Safety and Regulatory Notices..................................................................................................................71

    Information for United States Users .......................................................................................................................... 71

    Declaration of Conformity (FCC) (SX-500) ............................................................................................................... 72

    Information for Canadian Users (IC notice) (SX-500) .............................................................................................. 72

    Information for European Users (SX-500).................................................................................................................73

    Declaration of Conformity (CE) (SX-500) .................................................................................................................. 73Declaration of Conformity (FCC) (SX-510) ............................................................................................................... 74

    Information for Canadian Users (IC notice) (SX-510) .............................................................................................. 74

    Information for European Users (SX-510).................................................................................................................75

    Declaration of Conformity (CE) (SX-510) .................................................................................................................. 75

    Appendix E Silex Contact Information........................................................................................................................... 77

    Figures

    Figure 1 SX-500 (Wireless Model) and SX-510 ............................................................................................................3

    Figure 2 TCP/IP Window...............................................................................................................................................30Figure 3 Change Password Window ............................................................................................................................ 31Figure 4 Advanced TCP/IP Configuration Window ..................................................................................................... 32Figure 5 SNMP Configuration ....................................................................................................................................... 34

    Tables

    Table 1 Development Kit Contents................................................................................................................................. 5Table 2 Status Monitors ................................................................................................................................................... 7Table 3 Factory Default Settings ..................................................................................................................................29Table 4 TCP/IP Settings................................................................................................................................................ 31

    Table 5 TCP/IP Configuration Settings ........................................................................................................................32

    Table 6 SNMP Commands ...........................................................................................................................................33Table 7 Port Monitor Alert Commands........................................................................................................................34Table 8 AT Commands ................................................................................................................................................. 37Table 9 Extended AT Commands ................................................................................................................................38Table 10 Response Codes............................................................................................................................................ 39Table 11 Product Specifications ...................................................................................................................................43Table 12 Radio Performance Specifications................................................................................................................44Table 13 TCP Port Connections ...................................................................................................................................44Table 14 Network Commands ...................................................................................................................................... 49

  • 8/2/2019 Manual Sx500 Eng

    5/86

    Contents Silex Page iii

    Part Number 140-00188-180

    Table 15 Port Commands .............................................................................................................................................55Table 16 Server Information Commands .....................................................................................................................56Table 17 Service Commands........................................................................................................................................58Table 18 String Commands .......................................................................................................................................... 60Table 19 TCP/IP Commands ........................................................................................................................................ 61Table 20 Firmware Update............................................................................................................................................ 66Table 21 Miscellaneous Commands ............................................................................................................................ 67

  • 8/2/2019 Manual Sx500 Eng

    6/86

  • 8/2/2019 Manual Sx500 Eng

    7/86

    About This Reference Guide Silex

    Part Number 140-00188-180

    About This Reference Guide

    Safety Precautions

    ! To prevent damage to the Serial Device Servers electronic circuit components, follow established ESDpractices and procedures for handling static-sensitive devices. All ESD-sensitive components must bestored and shipped in ESD-conductive bags or bubble-wrap and labeled as such using the standardizedESD adhesive warning label.

    ! Ethernet electrical wiring must be at least 6 feet from bare power wiring or lightning rods and associatedwires, and at least 6 inches from other types of wire (antenna wires, doorbell wires, wires from transformersto neon signs), steam or hot water pipes, and heating devices.

    ! Protectors and grounding wire placed by the service provider must not be connected to, removed, ormodified by the customer.

    Emissions Disclaimer

    Regulatory compliance information can be found in Appendix D of this manual. Final emission certification perFCC, CE and other agency requirements are the responsibility of the OEM using any printed circuit assemblies orother items used in this developers kit in their saleable packaged product.

  • 8/2/2019 Manual Sx500 Eng

    8/86

    Page 2 Silex About This Reference Guide

    Part Number140-00188-180

  • 8/2/2019 Manual Sx500 Eng

    9/86

    Introduction Silex Page 3

    Part Number 140-00188-180

    Chapter 1: Introduction

    The SX-500 and SX-510 Serial Device Servers provide a complete solution for connecting serial devicesto 802.11 wireless or Ethernet wired networks. The following models are available:

    SX-500-003xEthernet model. The SX-500 Ethernet model includes an RS-232-C deviceinterface, 10Base-T/100Base-T Ethernet network interface, and AC power supply.

    SX-500-103xWireless model. The SX-500 Wireless model includes an RS-232-C device

    interface, an 802.11b/g wireless LAN interface, a 10-Base-T/100Base-T Ethernet networkinterface, and an AC power supply.

    SX-510-103xWireless model. The SX-510 wireless model includes an RS-232-C/RS-422/RS-485 device interface, an 802.11a/b/g wireless LAN interface with internal diversity antennas, a 10-Base-T/100Base-T Ethernet network interface, and an AC power supply.

    Thexin the model number designates the country or region (1 = U.S., 3 = Europe, 5 = Japan; forexample, SX-500-1031 is an SX-500 wireless model for the U.S.).

    Figure 1 SX-500 (Wireless Model) and SX-510

  • 8/2/2019 Manual Sx500 Eng

    10/86

    Page 4 Silex Introduction

    Part Number 140-00188-180

  • 8/2/2019 Manual Sx500 Eng

    11/86

    Installing the Serial Device Server Silex Page 5

    Part Number 140-00188-180

    Chapter 2Installing the Serial Device Server Hardware

    The Serial Device Server includes most of the hardware and software components required forinstallation. The one item that you will need to purchase separately is a cable to connect your serialdevice to the Serial Device Server (this cable is not included because of the wide variety of connectortypes used on serial devices).

    Verify Package Contents

    The Serial Device Server includes the components listed in Table 1. Please ensure that all materialslisted are present and free from visible damage or defects before proceeding. If anything appears to bemissing or damaged, please contact Silex.

    Table 1 Package Contents

    Description

    SX-500 or SX-510 Base Unit (SX-500 wireless models include anexternal pole antenna)

    Setup Guide

    CD-ROM containing ExtendView software, Serial Port EmulatorSoftware, and Users Reference Guide

    AC Power Supply with power cord

    Warranty Card

    Installing the Serial Device Server

    Follow the steps below to install the Serial Device Server. The Serial Device Servers factory defaultsettings should be sufficient for most serial connections; however, some of the configuration settings mayhave to be changed for your particular installation.

    1. Before attempting to install the Serial Device Server, make sure you have installed and set up yourserial device as described in the documentation that came with the device.

  • 8/2/2019 Manual Sx500 Eng

    12/86

    Page 6 Silex Installing the Serial Device Server

    Part Number 140-00188-180

    2. Write down the 12-digit MAC (Media Access Code) address printed on the label located on thebottom of the Serial Device Server (for example: 004017023F96). You may need this number inorder to configure the Serial Device Server.

    3. If you have a wireless model, connect the antenna to the unit.

    4. Connect the Serial Device Server to your serial device. If you are using RS-232, you may usestandard PC cabling (you should normally use a null modem crossover cable). The 9-pin connectorpinouts and cabling are as follows:

    RS-232 connector pinouts and cabling

    If you are using RS-422 or RS-485 in full-duplex or half-duplex modes, you will need a special cable.In addition, if the Silex Serial device Server is the last one in a chain, then a 120-ohm resistor shouldbe placed between pins 2 and 6 (for full-duplex mode) or pins 4 and 5 (for half-duplex mode).

    IMPORTANT: IF YOU ARE USING RS-422, RS-485, OR RS-485 HALF-DUPLEX, YOU MUST SETTHE SERIAL PORT LINE MODE AS DESCRIBED IN CHAPTER 3 OF THIS MANUAL.

    The RS-422 and RS-485 pinouts and cabling are shown in the following diagrams:

    RS-422/485 full-duplex connector pinouts and cabling

    RS-485 half-duplex connector pinouts and cabling

    IMPORTANT NOTE: THE SX-510 RS-422/RS-485 INTERFACE HAS NOT BEEN TESTED FORCOMPLIANCE WITH IEC 60601-1-2:2001/EN60601-1-2 MEDICAL EMC OR ANSI/IEEE Std. C95.1-1999, RSS-102 SAR STANDARDS. THEREFORE RS-422/485 SHOULD NOT BE ENABLED IF YOUREQUIRE COMPLIANCE WITH ANY OF THESE STANDARDS.

  • 8/2/2019 Manual Sx500 Eng

    13/86

    Installing the Serial Device Server Silex Page 7

    Part Number 140-00188-180

    5. Plug the Serial Device Server power supply adapter into a suitable AC receptacle, and then plug thepower supply cable into the Serial Device Server. Alternatively, you can use pin 9 on the 9-pinconnector to provide power to the Serial Device Server (1 amp @ +5V is required). The Serial DeviceServer will run through a sequence of power-up diagnostics for a few seconds.

    If the Serial Device Server is operating properly, the LEDs will blink momentarily and then go out,the yellow and green LEDs will illuminate if the wireless network is active, and the orange LED

    will illuminate, indicating the device is receiving power. The unit powers up in the Normal mode, which provides for connection from the network to

    device(s) connected to the serial port of the Serial Device Server.

    If the orange LED blinks continuously in a regular pattern, a problem exists. If this is the case, trypowering the unit OFF and then ON again.

    .

    6. Connect the Serial Device Server to your network through a switch or hub using a category 5 (CAT5)

    Ethernet cable. Serial Device Server wireless models automatically detect the presence of this cable,and will switch off the wireless networking functionality as long as the cable is plugged in.

    7. The Serial Device Servers IP address must be configured before a network connection is available.If your network offers DHCP (Dynamic Host Configuration Protocol), the Serial Device Server willautomatically search for a DCHP server upon power up and obtain an IP address. If your networkdoes not offer DHCP, a static (fixed) IP address must be assigned (see your system administrator forassistance). If you use DHCP, make sure that the length of the DHCP lease is adequate so that the

    IP address of the Serial Device Server does not change.

    Monitoring Serial Device Server Status

    You can monitor the Serial Device Server status using the yellow, green and orange LED statusindicators on the monitor. Table 2 defines the default functions of the LED status indicators.

    Table 2 Status Monitors

    Function State Status

    On The Serial Device Server is receiving power

    Off The Serial Device Server is not receiving powerPower

    OrangeBlinking The Serial Device Server power supply is malfunctioning

    Yellow Off

    Green OffNo network activity

    Network Status

    Yellow or Green

    Yellow On

    Green Off10base-T network active

    NOTE: Pin 9 is normally configured for supplying +5V from an external power source in lieu of using the AC powersupply adapter. If you wish to use this pin as the Ring Indicator (RI) modem signal on the SX-500 (not available on theSX-510), open the enclosure and move the jumper on connector JP1 onto pins 2 and 3 of this connector.

    NOTE: SILEX RECOMMENDS USING A HARDWIRED ETHERNET CONNECTION FOR CONFIGURING WIRELESS SERIAL

    DEVICE SERVERS. If you have a wireless Serial Device Server model and cannot use an Ethernet connection, refer tostep 4 in the First Time IP Address Configuration section of this chapter for instructions on how to set up the SerialDevice Server using a completely wireless Ad Hoc environment.

  • 8/2/2019 Manual Sx500 Eng

    14/86

    Page 8 Silex Installing the Serial Device Server

    Part Number 140-00188-180

    Function State Status

    Yellow Blinking

    Green Off10base-T network data received

    Yellow Off

    Green On100base-TX network active

    Yellow Off

    Green Blinking 100base-TX network data received

    Yellow On

    Green OnWireless network active, if WLAN model

    Yellow Blinking

    Green BlinkingWireless network data received, if WLAN model

  • 8/2/2019 Manual Sx500 Eng

    15/86

    Configuring the Serial Device Server Silex Page 9

    Part Number 140-00188-180

    Chapter 3Configuring the Serial Device Server

    This chapter describes the methods for configuring the basic settings of the Serial Device Server,

    including the IP address, serial port settings, and wireless security. The Serial Device Server also has anextensive range of advanced configuration capabilities that are described in Chapter 5, Appendix A, andAppendix B. The Serial Device Server configuration should be done by a network administrator oranother person with technical knowledge of TCP/IP networking and serial communications.

    Basic Configuration Requirements

    In order to use the Serial Device Server, the following basic parameters must be configured:

    TCP/IP Settings: IP Address Subnet Mask Router Address

    Note: The TCP/IP settings can be automatically configured using DHCP.

    Wireless Configuration Settings: SSID Mode (Infrastructure or Ad Hoc) Channel (required only if using Ad Hoc mode)

    Security Settings: Wireless Encryption Mode (WPA2, WPA, WPA2-WPA, WEP) Wireless Encryption Settings Wireless Authentication Mode (WPA-PSK, Open System, Shared Key, TTLS, TLS, LEAP, PEAP,

    EAP-FAST) Wired Authentication Mode (TTLS, TLS, PEAP, EAP-FAST) Authentication Settings

    Note: There are numerous possible encryption and authentication settings, and every network canhave different settings. Please refer to Appendix A for a detailed summary of these settings.

    Serial Port Settings (must match the settings of the attached serial device): Baud Rate (Speed) Parity Character Size

  • 8/2/2019 Manual Sx500 Eng

    16/86

    Page 10 Silex Configuring the Serial Device Server

    Part Number 140-00188-180

    Flow Control Line Mode (RS-232, RS-422, RS-485 full-duplex, RS-485 half-duplex; RS-422 and RS-485 are

    supported on the SX-510 only)

    In addition to the above parameters, the Serial Device Server allows you to configure numerous othercapabilities. These other capabilities provide you with the unparalleled flexibility to use the Serial DeviceServer on virtually any 802.11 or Ethernet network with a wide range of serial devices.

    Configuration Methods

    There are three ways to configure the Serial Device Server:

    ExtendView. ExtendView is a simple Graphical User Interface configuration program forWindows. In addition to setting up the initial Serial Device Server configuration, ExtendView alsohas the advantage of allowing you to perform bulk configuration of multiple Serial Device Serverssimultaneously.

    Internal Web Pages (HTTP). You can use any standard web browser to access the Serial DeviceServer internal web pages. These web pages provide an easy-to-use graphical interface forconfiguring the Serial Device Server. In order to use the internal web pages for the first time, youmust assign the Serial Device Server IP address using some other method (for example, DHCP

    or arp/ping). This initial IP address assignment need only be done one time.

    Internal Command Console. The internal command console provides a sophisticated commandline interface for advanced users to configure the Serial Device Server. It can be accessed byconnecting a serial cable to the serial port and using console mode switching as descried inchapter 4. Once the IP address has been assigned, the internal command console can also beaccessed via TELNET, or via ExtendView and the internal web pages.

    If you have a Serial Device Server wireless model, Silex recommends that you temporarily plugthe Serial Device into a wired Ethernet network during the configuration process. Although it ispossible to configure the Serial Device Server with a completely wireless setup, it is much simpler toperform the process using a wired Ethernet connection. This is primarily because the wireless security onmost wireless networks prevents the addition of a new wireless device unless all security parameters arefirst entered into that device. As a result, you must set up a temporary dedicated ad hoc wireless networkin order to configure the Serial Device Server in a completely wireless environment (refer to the step 4 inthe First Time IP Address Configuration section of this chapter for instructions on how to set up the SerialDevice Server using a completely wireless Ad Hoc environment).

    Configuring the Serial Device Server using each of the above methods is described in the followingsections of this chapter.

  • 8/2/2019 Manual Sx500 Eng

    17/86

    Configuring the Serial Device Server Silex Page 11

    Part Number 140-00188-180

    Using the ExtendView Utility to Configure the Serial Device Server(Ethernet Connection)

    The ExtendView Utility is the easiest way to initially configure the Serial Device Server from a WindowsPC because it allows you to directly set the IP address into an unconfigured Serial Device Server, and itallows you to view the IP addresses of all of the Serial Device Servers on your network. It has limitedcapabilities for configuring 802.1X authentication, but it can be used in conjunction with either the internalweb pages or the internal command console for complete configuration capabilities.

    ExtendView is a component of the CD-ROM that is included with the Serial Device Server, or it can bedownloaded from the Silex website. To install ExtendView, simply follow the on-screen installationinstructions. The Serial Device Server configuration procedure is as follows (please note that the screensmay be slightly different than shown, depending on the Serial Device Server model and the firmware andsoftware revision levels).

    1. Start the ExtendView Utility by clicking onStart, Programs, silex technology,ExtendView, and then ExtendView.

    2. When the Welcome screen appears, click onNext, choose any name for yourView Name,selectAutomatically create a view withdefault settings (or configure the view toyour preferences), and then click Finish.

    NOTE: Skip this section if you do not have a Windows PC or if you do not have an Ethernet connection available for

    configuring your Serial Device Server wireless model.

  • 8/2/2019 Manual Sx500 Eng

    18/86

    Page 12 Silex Configuring the Serial Device Server

    Part Number 140-00188-180

    3. Right-click on the Serial Device Server thatyou want to configure from the displayed list,and then left-click on Configuration. Thedefault Serial Device Server name isSLXxxxxxx(wherexxxxxxis the last six digitsof the MAC address from the label that isaffixed to the Serial Device Server).

    4. If you do not have a DHCP server, you will beasked to manually enter an IP address (if youare not sure what IP address to enter, askyour network administrator). Click OKwhenyou are finished.

    5. The Server Configuration window will appear.Check the IP address setting to make sure itis correct. If necessary, change the SubnetMask and Gateway. If you have a WINSserver, enter its address or click Use DHCPto Locate WINS Server. If desired, you canconfigure advanced TCP/IP settings byclicking theAdvanced TCP/IPbutton (refer toChapter 5 for information). This advancedconfiguration can be done at a later time,however.

    NOTE: If you are using DHCP on your network, the SX-500should have acquired valid IP settings at this point and no

    further configuration is necessary. However, for someinstallations, a static IP address is preferred. If yourDHCP server does not allow the SX-500 to keep its

    assigned IP address permanently, then you mustmanually assign an IP address. In this case, use a staticIP address outside the range reserved for DHCP (see yourDHCP server documentation for details). To assign astatic IP address, select Set Permanentas the IP AddressResolution, and assign a valid static IP address for yournetwork. Click on OKto save the new settings.

  • 8/2/2019 Manual Sx500 Eng

    19/86

    Configuring the Serial Device Server Silex Page 13

    Part Number 140-00188-180

    6. Click the Wireless tab to configure the 802.11wireless settings (for wireless models only;skip to the next section if you have a wiredmodel). To operate on an 802.11 network,the Serial Device Server configuration mustbe configured with the wireless configurationand security parameters necessary for theSerial Device Server to communicate over

    your wireless network (check with yournetwork administrator if you do not knowthese parameters).

    Select either Infrastructure (if youare using an access point) or AdHoc (point-to-point) as thewireless mode

    Enter the SSID for your network

    If you are using Ad Hoc, selectthe RF channel (not required forinfrastructure)

    The other parameters on this tab do not

    normally need to be changed (refer to Chapter5 for information on advanced configuration).

    Now click the Configure Wireless Securitybutton to configure the wireless securityparameters.

    7. If you are using WPA2-PSK, select WPA2 asthe Encryption Mode and select PSK as theAuthentication Type. If you are using WPA-PSK, select WPA as the encryption mode andselect PSK as the Authentication Type. Forboth WPA2-PSK and WPA-PSK you mustenter the Pre-Shared Key for your network

    and select whether you want a Group Key.Note that it is not necessary to enter a User IDor password.

    If you are using WEP, select 128-bit or 64-bitas the Encryption Mode and Open Systems orShared Key as the Authentication Type. Enterthe WEP keys in hexadecimal format, andselect the transmit key (Key Selection).

    ExtendView does not fully supportconfiguration of the 802.1X EAP types, so

    Silex recommends using the internal webpages or internal command console for802.1X configuration as described later in thischapter.

    Click OKto return to the Server Configurationwindow, and then click the I/O port tab toconfigure the serial port.

  • 8/2/2019 Manual Sx500 Eng

    20/86

    Page 14 Silex Configuring the Serial Device Server

    Part Number 140-00188-180

    8. You do not need to change any of the settingsin this window. Click the Serial Settingsbutton to configure the serial port.

    9. Configure the serial port settings so that theymatch the settings on your device. Forexample, if your device is set for 9600bps,odd parity, and XON/XOFF flow control, youmust change the settings on the Serial DeviceServer to these settings.

    If are using either RS-422 or RS-485 (SX-510only), select 422 or 485 as the Mode. SelectHalf as the Duplex type if you are using RS-485 half-duplex.

    Click OKwhen you are finished to return tothe Server Configuration window and thenclick OKagain.

    10. Click OKto save your changes and reset theSerial Device Server. If you are configuring aSerial Device Server wireless model, unplugthe Ethernet cable. You can now use theSerial Device Server on your network. Youmay skip the remaining sections of thischapter, although this information is useful forfuture reference.

  • 8/2/2019 Manual Sx500 Eng

    21/86

    Configuring the Serial Device Server Silex Page 15

    Part Number 140-00188-180

    First-Time IP Address Configuration

    If you are configuring the Serial Device Server from a non-Windows computer or if you cannot use anEthernet connection, you must first configure the Serial Device Server IP address. Note that it is only

    necessary to perform this task one time -- once the address has been configured, the Serial DeviceServer can be accessed from any computer on the network that has the appropriate privileges. The stepsare as follows:

    1. If your network has a DHCP server and you can use an Ethernet connection to the Serial DeviceServer:

    a. Make sure your PC is connected and has access to your network.

    b. Connect an Ethernet cable from your network hub to the Serial Device Server (if youhave a wireless Serial Device Server and do not have hardwired capabilities, then youmust go to Step 4 below for setup instructions).

    c. Power on the Serial Device Server.

    d. The administration program on most DHCP servers logs the IP address and MACaddress of each DHCP client. The MAC address of the Serial Device Server can befound on the label affixed to the unit. If your DHCP server has logged this information,write down the IP address of the Serial Device Server for future reference. You are nowready to configure the Serial Device Server (skip the remainder of this section).

    e. If your DHCP server does not provide client information or if you do not have access tothe DHCP server, then you can get the IP address by connecting a serial device such asa printer, a Windows PC running HyperTerminal, or another serial device capable ofprinting ASCII characters to the serial port the Serial Device Server). Your serial devicemust be set at 115.2Kbps, 8-bit character size, and no parity.

    f. With the serial device and Serial Device Server switched on and ready, press the Resetpushbutton on the Serial Device Server. This will cause the Serial Device Serverconfiguration data to be sent to the connected serial device. The serial device shoulddisplay or print the current IP address assigned to the Serial Device Server by yournetwork DHCP service. Write down this address for future reference. You are now readyto configure the Serial Device Server (skip the remainder of this section).

    2. If you can connect the Serial Device Server via Ethernet but do not have a DHCP server, then youmust use the following procedure for the first-time IP configuration of the Serial Device Server.

    a. Make sure your PC is connected and has access to your network

    b. Connect an Ethernet cable from your network hub to the Serial Device Server. TheSerial Device Server must be on the same network segment as the PC (that is, there canbe no router between the Serial Device Server and the PC).

    c. From the Windows Command Prompt (MS-DOS Prompt), the Mac OS X Terminal Utility,

    or the UNIX/Linux command line, enter the command

    arp s ipaddress macaddress

    ping ipaddress

    Where ipaddress is the desired IP address of the Serial Device Server andmacaddress is the MAC address of the Serial Device Server (found on the label

    NOTE: Skip this section if you have already configured the SX-500 IP address with ExtendView

  • 8/2/2019 Manual Sx500 Eng

    22/86

    Page 16 Silex Configuring the Serial Device Server

    Part Number 140-00188-180

    affixed to the Serial Device Server). For example:

    arp s 192.168.5.53 00:40:17:00:00:01

    ping 192.168.5.53

    Note that Windows systems use the format xx-xx-xx-xx-xx-xx for the MACaddress (for example, 00-0017-00-00-01).

    You will see a reply from the Serial Device Server with the number of bytes andother information if the address was successfully set.

    If you get an error message or no response, then the IP address was not set. Ifthis is the case, the Serial Device Server may not be at its default configuration.To reset the Serial Device Server to its default settings, hold down the resetpushbutton for more than five seconds.

    d. You are now ready to configure the Serial Device Server (skip the remainder of thissection).

    3. If you are using a wireless connection for the first-time configuration of the Serial Device Server, youmust set up a temporary ad hoc wireless connection as described in the following steps. Please notethat because this is a fairly complex process, we do not recommend it unless it is not possible to usea wired connection.

    a. Disconnect your PC and the Serial Device Server from your network, and temporarily setthe PC settings as follows:

    IP address: 192.0.0.191

    Wireless Mode:Ad Hoc(sometimes referred to as Peer-to-Peer)

    Channel: 11

    SSID (or wireless network name): serserv

    b. Power on the PC and the Serial Device Server. You can connect to the Serial DeviceServer by specifying its default IP address of 192.0.0.192 using a web browser as

    described in the next section. When you have connected to the Serial Device Server, youmust then change the IP address and enter the required wireless networking parametersusing either the web browser interface or the internal command console (see next twosections) for operation on your wireless network.

    c. After you complete the entire Serial Device Server configuration process, you must setyour PC back to its original network settings.

    NOTE: Skip the following step if you have configured IP address of the Serial Device Server using an Ethernet cable.

  • 8/2/2019 Manual Sx500 Eng

    23/86

    Configuring the Serial Device Server Silex Page 17

    Part Number 140-00188-180

    Using a Web Browser to Configure the Serial Device Server

    After you have entered an IP address into the Serial Device Server, you can use any standard webbrowser to access the internal web pages for configuring the Serial Device Server. Simply specify the IPaddress of the Serial Device Server in your browser and then follow the steps below:

    1. When you have connected to the SerialDevice Server, you will get the Server Infopage. Click Login on the left side of thescreen.

    2. Enter the password accessand pressSubmit.

    3. You will return to the Server Info page, butnew options will be listed on the left side ofthe screen. Click on TCP/IP.

    IMPORTANT: You must click the Submit button when you have finished configuring an internal web page. If you do not dothis, your changes will not be saved.

    You may skip this section if you have completely configured the SX-500 using ExtendView. However, if you have advancedconfiguration requirements, such as 802.1X EAP configuration, then you may need to use the internal web pages asdescribed in this section because ExtendView does not support these capabilities.

  • 8/2/2019 Manual Sx500 Eng

    24/86

    Page 18 Silex Configuring the Serial Device Server

    Part Number 140-00188-180

    If you used DHCP, verify that the IP address iscorrectly set. If you used the default 192.0.0.192IP address, you MUST change it to a new valid IPaddress. If necessary, change the Subnet Maskand Gateway. It is generally not necessary tochange the other parameters on this page (refer toChapter 5 for advanced configuration information.

    Note that on-line help information is available on

    every configuration page.

    Click the Submitbutton at the bottom of the window(you may need to scroll) to save your changes.

    4. Click Wireless on the left side of the screen toconfigure the 802.11a/b/g wireless settings(for WLAN models only; skip to the nextsection if you have an Ethernet model). Tooperate on an 802.11a/b/g network, the SerialDevice Server configuration must beconfigured with the wireless configuration andsecurity parameters required to allow theSerial Device Server to communicate over

    your wireless network (check with yournetwork administrator if you do not knowthese parameters).

    Select either Infrastructure (if you areusing an access point) or Ad Hoc(point-to-point) as the wireless mode

    Enter the SSID for your network

    If you are using Ad Hoc, select the RFchannel (not required for infrastructure)

    The other parameters on this page do notnormally need to be changed (refer to Chapter5 for information on advanced configuration).

    Click the Submitbutton at the bottom of thewindow (you may need to scroll) to save yourchanges.

    Now click Configure Network Securitytoconfigure the wireless security parameters.

    NOTE: If you are using DHCP on your network, the SX-500 should have acquired valid IP settings at this point

    and no further configuration is necessary. However,for some installations, a static IP address is preferred.If your DHCP server does not allow the SX-500 to keep

    its assigned IP address permanently, then you mustmanually assign an IP address. In this case, use astatic IP address outside the range reserved for DHCP

    (see your DHCP server documentation for details). Toassign a static IP address, select Set Permanentas theIP Address Resolution, and assign a valid static IPaddress for your network. Click on OKto save the newsettin s.

  • 8/2/2019 Manual Sx500 Eng

    25/86

    Configuring the Serial Device Server Silex Page 19

    Part Number 140-00188-180

    5. Select the appropriate wireless encryptionmode and enter the required settings (checkwith your network administrator for the propersettings if you do not know them). Appendix Alists the possible encryption settings.

    Click the Submitbutton at the bottom of thewindow (you may need to scroll) to save your

    changes.

    Now click I/O Porton the left side of thescreen to configure the serial port.

    6. Configure the serial port settings so that theymatch the settings on your device. Forexample, if your device is set for 9600bps,odd parity, and XON/XOFF flow control, youmust change the settings on the Serial DeviceServer to these settings.

    If you are using RS-422 or RS-485 (SX-510only), select 422, 485, or 485HD (half-duplex)as the mode.

    Click the Submitbutton at the bottom of thewindow (you may need to scroll) to save yourchanges.

    When you have finished with all yourconfiguration changes, you must restart theSerial Device Server for these changes totake effect.

    You can skip the remainder of this chapter.

    Using the Internal Command Console to Configure the Serial DeviceServer

    The Internal Command Console is a command line oriented method for configuring the Serial DeviceServer. It provides more comprehensive capabilities than either ExtendView or the Internal Web Pages,but is not as easy to use. Advanced users may prefer to use this method because it is concise, fast, andpowerful.

    To use the Internal Command Console:

    1. To access the Internal Command Console, enter the following command from the WindowsCommand Prompt (MS-DOS Prompt), Mac OS X Terminal Utility, or UNIX/Linux command line:

    You may skip this section if you have completely configured the SX-500 using ExtendView or the SX-500 Internal WebPages.

  • 8/2/2019 Manual Sx500 Eng

    26/86

    Page 20 Silex Configuring the Serial Device Server

    Part Number 140-00188-180

    telnet aa.bb.cc.dd

    where aa.bb.cc.ddis the IP address of the Serial Device Server (for example, telnet 192.168.5.6).

    2. Press and then enter the password access at the #prompt. Press at theEnter Username> prompt. When you see the Local> prompt, you can enter console commands.

    3. If you used the default 192.0.0.192 IP address to connect to the Serial Device Server, you MUSTchange it to a new valid IP address. If necessary, you must also change the Subnet Mask and

    Router (Gateway). The commands are as follows:

    SET IP ADDRESS aa.bb.cc.ddSET IP SUBNET aa.bb.cc.ddSET IP ROUTER aa.bb.cc.dd

    where aa.bb.cc.ddis the IP address of the Serial Device Server. You can use the commandSHOW IP to verify the IP address settings.

    4. Enter the basic wireless settings as follows:

    SET NW SSID [where is the SSID for your network]

    SET NW MODE [where mode is INFRASTRUCTURE orAD-HOC]

    SET NW CHANNEL n [where n is 1 to 11; this is only required for

    AD-HOC MODE]

    5. Use the appropriate SET NW command to set wireless encryption mode and authentication type(check with your network administrator for the proper settings if you do not know them):

    SET NW ENC [sets encryption mode, where is WPA,WPA2, 64, 128, or WPA2-WPA]

    SET NW AUTHTYPE [sets authentication type, where isOPEN, SHARED, TTLS, PEAP, WPA-PSK,

    LEAP, TLS, or FAST].

    For WPA2-PSK or WPA, enter the command:

    SET NW WPAPSK [sets pre-shared key for WPA2 or WPA, where is the key]

    SET NW WPAGROUP [enables or disables WPA group key mode,where is ENABLED or DISABLED;default is DISABLED]

    For WEP (WEP64 or WEP128), use the following commands:

    SET NW KEYVAL [Sets WEP key, where is 10 hex

    characters for WEP64 or 26 hex characters forWEP128]

    SET NW KEY# n [sets the number of the WEP key that will beused as the transmit key, where n=1 to 4; defaultvalue is 1]

    Configuring 802.1X EAP authentication can be complex. Please refer to Appendix A and/orAppendix B for details of the required commands.

  • 8/2/2019 Manual Sx500 Eng

    27/86

    Configuring the Serial Device Server Silex Page 21

    Part Number 140-00188-180

    6. To set the serial port, enter the following commands:

    SET PORT S1 SPEED [where is 300 to 921600]SET PORT S1 PARITY [where is ODD, EVEN, MARK, or

    SPACE]SET PORT S1 SIZE [where is 7 or 8]SET PORT S1 FLOW [where is NONE, XON/XOFF,

    CTS, or DSR]

    SET PORT S1 MODE [where is 232, 422, 485, or 485HD;this command only applies to the SX-510]

    The console commands are summarized in Appendix B of this manual.

    7. When you have finished entering commands type:

    INITEXIT

    These commands will save the configuration and restart the unit. You are now ready to use theSerial Device Server.

    EXIT

    8. Note that you can also access the Internal Command Console in the following ways:

    Internal Web Pages. Use a web browser to connect to the Serial Device Server internalweb pages as described earlier in this chapter. After you have logged in, clickAdmin onthe left side of the screen, and then click Console. You can now enter consolecommands (you must click Enterafter each command).

    ExtendView. Select the desired Serial Device Server from the ExtendView main menu.Click Tools on the menu bar, and then click Telnet Session. Press and thenenter the password access at the #prompt. Press at the Enter Username>

    prompt and you are now ready to enter console commands.

    IMPORTANT: The console command EXIT must always be used in order to save the changes you made with theinternal command Console.

  • 8/2/2019 Manual Sx500 Eng

    28/86

    Page 22 Silex Configuring the Serial Device Server

    Part Number 140-00188-180

  • 8/2/2019 Manual Sx500 Eng

    29/86

    Using the Serial Device Server Silex Page 23

    Part Number 140-00188-180

    Chapter 4Using the Serial Device Server with Your Application

    The Serial Device Server includes a number of capabilities that enable it to be used in a wide range of

    applications. These capabilities include:

    1. Serial Port Emulator (SPE) software2. Raw TCP connection3. RFC22174. ECable Mode5. Print Server mode6. FTP7. Console mode switching8. AT commands9. SNMP traps and Email alerts

    These methods are described in the following sections.

    Serial Port Emulator

    The Serial Port Emulator (SPE) software emulates a standard Windows COM port. That is, it creates avirtual COM port that functions exactly like the Windows COM1 and COM2 serial ports, except that theI/O actually goes out over the Ethernet or WLAN to the Serial Device Server and to the serial device thatis connected to the Serial Device Server. As a result, any application program that uses a standardWindows COM port can also use the Serial Port Emulator. The SPE is therefore especially useful if youhave existing programs that use Windows COM ports.

    The SPE software is a component on the CD-ROM that is included with the Serial Device Server, or it canbe downloaded from the Silex website. To install it, double click on the installer icon and follow theinstallation instructions. When the installation is complete, you can run the SPE software by clicking Start

    -> Programs -> Silex technology -> Serial Port Emulator -> Serial Port Emulator.

  • 8/2/2019 Manual Sx500 Eng

    30/86

    Page 24 Silex Using the Serial Device Server

    Part Number140-00188-180

    After the Serial Port Emulator software has started, you will see a list of all the configured Serial DeviceServers on the network. Right click on the name of the Serial Device Server that you want the virtualCOM port to connect to (the default name is SLXxxxxxx, where xxxxxxis the last six digits of the SerialDevice Server MAC address), and then click Virtual Port. You will be asked to select the name of thevirtual COM port (for example, COM3).

    Click OKafter you have selected the name, and you now ready to use the virtual COM port.

    Using virtual COM port is identical to using a normal COM port. For example, if you configure a virtualCOM port called COM3, this port will show up as one of the available serial ports when you use theWindows HyperTerminal Accessory program.

    Raw TCP connection

    You can communicate directly from your application program to the Serial Device Server using a raw TCPconnection. This is done by opening a TCP port on the Serial Device Server and then sending andreceiving data to this port via a socket or equivalent API. This method is more efficient than using theSerial Port Emulator, and does not require any additional software to be installed on your computer.

    If you are using a raw TCP connection, the default TCP port number (you can use any or all of these portnumbers) for normal connections. If you want to be able to access your devices modem control signalsfrom your computer system, then the TCP port number is 9200 (this enables RFC 2217 support). Youcan change the port number, if desired, by modifying one of the Serial Device Server services. Tochange the TCP port number:

    1. Connect to the Serial Device Server with a web browser (see chapter 3 for instructions on doingthis);

    2. After you have logged in, click I/O Services on the left side of the page.3. Click on the service name that you want to change (any one of the services is OK, provided thatyou are not using the existing TCP port number of that service for a different application).

    4. Change the Raw TCP Portto the desired number (must be greater than 1023).5. Click Submitto save your change.

    You can test this connection by using the TELNET utility from the Windows Command Prompt (MS-DOSprompt), Mac OS X Terminal Utility, or UNIX/Linux command line as follows:

    telnet ipaddress portnumber

  • 8/2/2019 Manual Sx500 Eng

    31/86

    Using the Serial Device Server Silex Page 25

    Part Number 140-00188-180

    where ipaddress is the IP address of the Serial Device Server and portnumberis the Serial Device ServerTCP port number. For example:

    telnet 192.168.5.53 9100

    In this example, if you have a serial printer or other device capable of displaying ASCII charactersconnected to the Serial Device Server serial port, then every character you type should be printed on that

    serial device (buffered serial devices may need you to type a control character such as a formfeed(CONTROL-L) before the characters are printed).

    RFC 2217 Remote Modem Control Support

    RFC 2217 allows you to access your devices modem control signals over the network. It is especiallyuseful for migrating applications that use modem controls from a direct serial connection to a serial deviceserver network connection. You can utilize RFC 2217 from the Silex Serial Port Emulator software (seebelow), or by connecting to TCP port 9200 from your application program.

    ECable Mode

    Normally, it is up the computer to initiate a connection to the Serial Device Server. For someapplications, it is desirable for the Serial Device Server to initiate the connection to the computer. TheSerial Device Server supports this capability through its ECable feature.

    To set ECable mode, use a web browser to access the Serial Device Server internal web pages (seechapter 3 for instructions on using the internal web pages). After you have logged in, click I/O port on theleft side of the screen.

    You can now enable ECable mode and set the required parameters.

    1. Enable ECable mode by clicking the radio button.2. Enter the address (Destination Address) of the computer or other device that will be

    communicating with the Serial Device Server)3. Enter the TCP port number (Destination Port) used by the destination device for communicating

    with the Serial Device Server (must be greater 1023).4. If desired, change the ECable Connection Attempt Time. This specifies the time interval between

    connection attempts. For example, by default the Serial Device Server will try once every 30seconds to make a connection to the destination device; if it fails to make this connection, it willwait 30 seconds before attempting again. Changing this interval will reduce or increase theamount of network traffic.

    5. It is also possible to use UDP instead of TCP for communicating to and from the Serial DeviceServer. If you wish to use UDP, then:

  • 8/2/2019 Manual Sx500 Eng

    32/86

    Page 26 Silex Using the Serial Device Server

    Part Number140-00188-180

    a. Select UDP as ECable I/O Mode.b. Enter the UDP port number (Destination Port) used by the destination device to

    communicate with the Serial Device Server. This number must be a valid port on thedestination device (check the documentation for that device to determine the valid portnumbers).

    c. Enter the UDP port number (Local Port) used by the Serial Device Server tocommunicate with the destination device. This number must be greater than 1023, but isotherwise arbitrary.

    Print Server Mode

    You can use the Serial Device Server as a standard TCP/IP print server, which is very useful if you areconnecting the Serial Device Server to a serial printer. The Serial Device Server supports the followingstandards:

    lpr/lpd. This is one of the most popular ways to print on a TCP/IP network. Check yourcomputers documentation to determine how to set up an lpr print queue. Usually this

    simply involves specifying the IP address of the Serial Device Server as the printersaddress or host name. Some implementations require a queue name; this name is thename of any of the Serial Device Server services. To see the names of the Serial DeviceServer services, connect to the Serial Device Server with a web browser (see chapter 3for instructions on doing this); after you have logged in, click I/O Services on the left sideof the page.

    Port 9100. This method is used to set up a Windows Standard TCP/IP port or forcompatibility with software that supports the HP JetDirect Print Server (for example, HPWeb JetAdmin). To use this capability on Windows with theAdd Printer Wizard, specifythat you want to use a Local printer attached to this computer(not a network printer),and then select Create a new port, specifying Standard TCP/IP Port as the type of port.

    It is also possible to change the TCP port number from the default 9100 for compatibilitywith other printer manufacturers software. To do this, refer to the instructions in the RawTCP Connection section of this chapter.

    FTP

    The Serial Device Server supports FTP binary or ASCII communications. This can be used, for example,to send the contents of a file from a PC to a device connected to the Serial Device Server using the FTPprotocol. To use FTP, simply enter the standard FTP command from your PC with the IP address of theSerial Device Server (for example, ftp 192.168.5.50). When the connection is made, enter any usernameand password. You can then use the standard FTPputcommand to send the file from the PC to thedevice connected to the serial port on the Serial Device Server.

    Console Mode Switching

    The Serial Device Server allows you to dynamically switch the operation of the serial port from normalmode to console mode. This allows your device to control the operation of the Serial Device Server bysending console commands (see chapter 6 and Appendix B for a description of the console commands).Note that console mode can only be entered when there is no connection to a remote host.

    To switch the serial port to console mode, you must first define a console string. When the Serial DeviceServer receives this string on the serial port, it will automatically switch the port to console mode. To

    NOTE: ECable mode cannot be used in conjunction with the Serial Port Emulator software.

  • 8/2/2019 Manual Sx500 Eng

    33/86

    Using the Serial Device Server Silex Page 27

    Part Number 140-00188-180

    define the console string, use a web browser to access the Serial Device Server internal web pages.After you log in, click I/O Port, and then select the desired port (S1 for the serial port). When you get theI/O Port Settings page, enter any desired character string (for example, xyz) as the Console ModeString. Click Submitto save your string, and then restart the Serial Device Server to make the changetake effect.

    Alternatively, you can define the console mode string using the console command from TELNET asshown in the following example:

    SET PORT S1 CONSTR xyz

    Once you are connected in console mode, you can send any of the console commands listed in Chapter5. Be sure to terminate each console command with a carriage return (ASCII 13) or linefeed (ASCII 10)character.

    When you are finished using the console, you can return to the normal port operation by sending thecommand EXIT followed by a return or linefeed character.

    AT Commands

    The Serial Device Server allows you to control the serial port using standard AT modem commands. Thisallows you, for instance, to initiate connections and to switch between console mode and data mode bysending the appropriate commands. These capabilities are similar to the console mode switchingdescribed in the previous section, but have the following advantages:

    Your device can initiate a network connection Operation is compatible with software that uses the AT command set

    The drawback, however, is that there is a slight delay when switching from data mode to AT command mode.

    To use the AT commands, you must first enable this capability using the I/O Port Settings internal webpage for the serial port (S1). Change the Port Filtersetting to AT in order to enable AT mode on thatport and press the Submitbutton to save the change. You must restart the Serial Device Server to makethe change take effect.

    You can also use the console to enable the AT capabilities. For example, the command

    SET PORT S1 FILTER AT

    enables AT capabilities on the serial port.

    Note: If you use the AT commands on the serial port, you cannot use SNMP traps or Email alerts for thatport.

    The AT commands are described in detail in Chapter 5.

    SNMP Traps and Email AlertsThe Serial Device Server allows the user to define various alert conditions based on data received by theserial port. For example, you could cause an alert to occur if a certain user-defined string of characters isreceived on the serial port. When an alert occurs, it can be sent as an SNMP trap and/or as an Emailmessage.

    Details on using these capabilities can be found in Chapter 5.

  • 8/2/2019 Manual Sx500 Eng

    34/86

    Page 28 Silex Using the Serial Device Server

    Part Number140-00188-180

  • 8/2/2019 Manual Sx500 Eng

    35/86

    Advanced Configuration Silex

    Part Number 140-00188-180

    Chapter 5Advanced Configuration

    The Serial Device Server Serial Device Server is equipped with a default configuration that works with

    most serial-to-Ethernet connections. You can modify the settings to suit your installation requirements.

    The web browser interface is the recommended method for setting advanced configuration parameters(some of the advanced configuration parameters are not accessible via ExtendView). However,regardless of the method to access the configuration parameters, the method for modifying theparameters is virtually identical.

    Factory Default Settings

    Table 3 displays the configuration parameter descriptions and settings with the default settings indicatedin a separate column.

    Table 3 Factory Default Settings

    Parameter Description Settings Default Setting

    Character Bits per character 7, 8 8

    Flow Flow control None, XON, XOFF,CTS/RTS

    None

    Parity Parity None, Even, Odd,Mark, Space

    None

    Speed Baud rate of bits per second 300, 600,1200, 2400,3600, 4800, 7200,9600, 14400,19200,

    38400, 57600, 76800,115200, 230400,460800, 921600

    115200

    Stop Stop bits per character 1, 2 1

    Mode Line mode or serial port protocol 232 (SX-500); 232,422, 485, 485HD (SX-510)

    232

    Ecable ECable mode for TCP connections Enable, Disable Disable

  • 8/2/2019 Manual Sx500 Eng

    36/86

    Page 30 Silex Advanced Configuration

    Part Number140-00188-180

    Parameter Description Settings Default Setting

    Ecaddr ECable destination IP address Set by user N/A

    Econn ECable connection attempt time 1-255 seconds 30 seconds

    Ecport ECable destination TCP port number Set by user N/A

    Eclport ECable destination local IP portnumber (required for E-Cable UDP

    mode only)

    Set by user N/A

    Ectmmsec Cable connection time resolution Enable, Disable Disable

    Ecudp ECable UDP mode Enable, Disable Disable

    Restoring Factory Default Settings

    The factory default settings can be restored at any time To do this, hold down the Reset pushbutton formore than five seconds.

    Modifying TCP/IP SettingsYou can modify the TCP/IP settings using ExtendView, the web browser interface or the Serial DeviceServer Serial Device Servers internal configuration console.

    To modify TCP/IP settings:

    1. Using ExtendView, click the TCP/IP tab. The TCP/IP window displays.

    Figure 2 TCP/IP Window

  • 8/2/2019 Manual Sx500 Eng

    37/86

    Advanced Configuration Silex

    Part Number 140-00188-180

    2. Verify the settings, as defined in Table 4.

    Table 4 TCP/IP Settings

    Parameter Setting

    IP AddressResolution

    Sets the exchanges among network interfaces connected to anEthernet media segment and maps IP address to Ethernet

    addresses, Media Access Control (MAC) addresses and hardwareaddresses.

    The Set Permanent radio button sets the IP address permanent.The IP address must follow the format XXX.XXX.XXX.XXX, whereeach XXX is a number between 0 and 255.

    The Use Network Protocol Select radio button determines which IPaddress at power up.

    Subnet Mask Sets the address of the subnet mask

    The subnet mask must follow the format XXX.XXX.XXX.XXX,where each XXX is a number between 0 and 255. The defaultsubnet mask is 0.0.0.0. The server interprets a subnet mask of

    0.0.0.0 or 255.255.255.255 as no subnet mask specified.Default Gateway Sets the default gateway, if your network is attached to other

    networks

    WINS Server Sets the Windows Internet Naming Service (WINS) address.

    Values are set by user.

    Use DHCP toLocate WINSServer

    Uses the automatic location feature in ExtendView to locate theWINS servers.

    3. To change the Telnet/HTTP password, click Telnet/HTTP Password. The Change Password windowdisplays.

    Figure 3 Change Password Window

    Type the new password in the New Password field, then in the Verify Password field.

    Click OK to change the password or click Cancel to exit.

    4. Click Advanced TCP/IP. The Advanced TCP/IP Configuration window displays.

  • 8/2/2019 Manual Sx500 Eng

    38/86

    Page 32 Silex Advanced Configuration

    Part Number140-00188-180

    Figure 4 Advanced TCP/IP Configuration Window

    5. Configure the settings, as defined in Table 5.

    Table 5 TCP/IP Configuration Settings

    Parameter Setting

    TCP ConnectionTimeout

    Sets the timeout and reset values for the TCP connections

    Unsolicited ARP Blocks or broadcasts unsolicited ARP

    DNS Sets the DNS addresses

    6. To accept changes, click OK.

    To cancel, click Cancel.

    For additional help, click Help.

    NOTE: You can configure the same settings using the Web Page configuration. Simply log in using theSerial Device Server IP address and select TCP/IP. For the changes to become effective, click theSubmit button, then reset the Serial Device Server.

    Configuring SNMP

    The Serial Device Server Serial Device Server contains a Simple Network Management Protocol (SNMP)agent that collects and stores management information for network managers using standard SNMPcommands. The management information is referenced as a hierarchically organized database called a

    Management Information Base (MIB).

    To prevent naming conflicts, all of the manageable features of all products from all vendors are arrangedin a single tree structure. Each vendor of SNMP equipment has an exclusive section of the MIB Tree.

    Each branch of the MIB Tree has a number and name. The path from the top of the tree down to the pointof interest forms the name of that point. A name created in this way is known as an Object ID or OID.

  • 8/2/2019 Manual Sx500 Eng

    39/86

    Advanced Configuration Silex

    Part Number 140-00188-180

    Table 6 describes the messages used to communicate between the network manager and the SNMPagent, as defined in RFC 1157. Each SNMP message must contain a Community Name, which is usedlike a password. The default Community name for the Serial Device Server Serial Device Server isPUBLIC.

    Table 6 SNMP Commands

    Command Description

    GET Retrieves management information for a specific managed object contained in theagent.

    The GET message must contain the OID for the specified object. The response is aGET-RESPONSE message containing either the current value of the requestedobject, or an indication as to why the request failed.

    GET NEXT Retrieves management information from a non-specific managed object.

    The GET NEXT contains either a complete OID or a fragment of an OID. Theresponse is a GET-RESPONSE message containing either the OID and data of theitem immediately right of the specified OID in the tree or an indication as to why therequest failed.

    GETRESPONSE

    This is the information sent back from the unit in response to the GET, GET NEXTcommand.

    SET Requests a change to the value of a specified object.

    The response is a GET-RESPONSE message with either an indication that therequested change had been made or with an indication as to why the request failed.

    TRAP Sends a one-way notification from the agent to the manager that a significant eventhas occurred. This is the only message initiated by the SNMP agent.

    To configure the SNMP server settings:

    7. Log into the Serial Device Server internal web pages using a standard web browser. Click Server

    Settings to access the screen shown in Figure 10. You can then enter the relevant SNMPinformation for your network.

  • 8/2/2019 Manual Sx500 Eng

    40/86

    Page 34 Silex Advanced Configuration

    Part Number140-00188-180

    Figure 5 SNMP Configuration

    8. Click the Submitbutton to save the changes. You must then restart the Serial Device Server tomake the changes take effect.

    Configuring Serial Port Monitor Alert and Trap Configuration

    The Serial Device Server can be configured to scan and compare the data received on the serial port touser-defined strings. A match with a string can be a source for SNMP traps and/or email alerts.

    The match strings and corresponding email or web page message strings are configured from the Internal

    Configuration Console interface (accessible via TELNET).

    Table 7 describes the Monitor Alert and Trap Configuration Commands.

    Table 7 Port Monitor Alert Commands

    Command Description

    SHOW PORT S1 TRIGMON Shows strings and index numbers being monitored

    SET PORT S1 TRIGMON Assigns a string to be monitored on the serial port

  • 8/2/2019 Manual Sx500 Eng

    41/86

    Advanced Configuration Silex

    Part Number 140-00188-180

    Command Description

    Example:

    Local> show port s1 trigmon

    Index # Monitor String------ --------------

    Local> set port s1 trigmon 0 trigger on seeing this string

    Local> show port s1 trigmon

    Index # Monitor String------ --------------

    0: trigger on seeing this string

    SHOW PORT S1 TRIGXMT Shows email or web page strings associated withTRIGMON index numbers

    SET PORT S1 TRIGXMT

    Index # = 0 to 7

    Assigns email or web page string to specifiedTRIGMON index number

    Example:

    Local> show port s1 trigxmt

    Index # Xmit String------ ---------------

    0: xmit string 0 show port s1 trigxmt

    Index # Xmit String------ ---------------

    0: The trigger string was seen!

    Setting up Email Alerts and SNMP Traps

    After you have created the Serial Port alerts and traps, you can the use the Serial Device Server internalweb pages to set up the recipient Email addresses and/or computer systems. After you have logged intothe internal web pages, clickAlerts and Traps on the left side of the screen and select eitherEmailAlerts orSNMP IP Traps. (note that the Alerts and Traps menu item will not appear unless you havepreviously configured match strings using the Internal Configuration Console as described in the previoussection). The Email Alert Configuration screen is shown below.

  • 8/2/2019 Manual Sx500 Eng

    42/86

    Page 36 Silex Advanced Configuration

    Part Number140-00188-180

    This screen allows you to define up to eight Email addresses that can receive alert information. Eachaddress can receive any combination of the alerts that you have defined previously. You must enter theIP address of your SMTP server and the Email address(es) where you want the alerts to go. For example,in the above screen, the user has configured two serial port match strings. He has decided to send analert to the mail address [email protected] if the first match string is seen on the serial port. Ifdesired, he could create up to seven more Email addresses that could each receive any combination ofthese alerts.

    The SNMP Trap Configuration page works exactly the same way as the Email Alert Configuration page,except that you enter the Trap Community plus the IP address and port of the destination computer(s)instead of the Email information. Up to eight separate IP addresses can be configured with anycombination of the alerts that you have defined. Note that you may also use the console command SETIP TRAP n TRIGGER console command (see appendix B) to set up the traps.

    When you have finished configuring the alerts, be sure to click the Submitbutton to save the settings.You will also need to restart the Serial Device Server in order for the changes to take effect.

    Using AT Modem Commands

    The Serial Device Server firmware has an optional data filter for configuring using AT style modemcommands with the serial port. This feature allows devices with an existing AT command interface toconfigure the unit, if the AT commands can be properly modified. You must be familiar with the generaloperation of AT commands. Note that AT command processing is not enabled by default. Use thecommand SET PORT S1 FILTER AT to enable this feature.

    All commands begin with AT and are terminated by a new line unless noted below. While standard ATcommands are defined to be 40 characters or less (not including the AT), the server accepts commandsof up to 80 characters.

    Standard AT Commands Supported

    The Serial Device Server recognizes a subset of the standard AT command set. The data channel must

    be in the command mode for commands to be recognized. The data channel will be in command modeupon power up or reset.

    There are two operating modes for the unit when the AT command option is enabled. In command mode,data received from the serial port is passed to the AT command processor, and responses are returned tothe serial port. No data is sent to any network application, and any data received from the network isignored. In data mode, data from the serial port passes to the network application, and vice versa. Thisis equivalent to the normal serial port operating mode without the AT command option.

  • 8/2/2019 Manual Sx500 Eng

    43/86

    Advanced Configuration Silex

    Part Number 140-00188-180

    Table 8 describes the AT Commands. Table 9 details the Extended AT Commands that allow theconfiguration of the network server operating parameters. Any AT command received, except the listedcommands, are acknowledged with OK status. This allows existing modem applications to transmitcommands without causing an error. These include ATn, but not currently AT&n, AT%n,AT\n, where is a letter.

    Table 8 AT Commands

    Parameter Command Description

    Enter Command mode +++ If the string +++ is seen in data mode, with nocharacters sent for 1 second before or after, thencommand mode is entered.

    Initiate ConnectionCommand

    ATD Standard modem dialing command, redefined toinitiate an internet connection to a remote computer.

    Indicates the IP address of the target, and optionally theTCP port number to use for connection. The T or Poption (ATDT or ATDP) can be present and has no effect.

    If present, the IP address must be exactly 12 decimaldigits with 3 for each byte of the address.

    If no IP address is given, then the ECable destinationaddress defined for the port is used.

    If the destination TCP port is defined, it is separatedfrom the IP address by a '#' character, and is 1 to 5decimal digits.

    If TCP port is defined, the ECable destination portdefined for the serial port is used. If the destinationport is 0, the standard Telnet port (23) is used.

    If the destination string ends with a semicolon, theserver remains in the command mode, not the datamode, once a connection is made.

    In command mode data is not passed from theremote computer, so data could be lost if the unitstays in command mode.

    If the connection cannot be attempted, NO CARRIERstatus is returned. If the connection attempt fails, NOANSWER status is returned.

    If the connection succeeds, CONNECT status isreturned.

    Echo control ATEn If n=0, commands are not echoed.

    If n=1, subsequent commands will be echoed.

    The default, upon unit reset, is for no echo (ATE0).Disconnect ATHn If n=0, any connection to a remote host is dropped.

    Other value of n is ignored.

    Return to data mode ATOn Exits command mode and places the serial port in thedata mode.

    All subsequent data is sent to the network application, ifconnected, until an enter command mode sequence isreceived. Any value of n is ignored, if present.

  • 8/2/2019 Manual Sx500 Eng

    44/86

    Page 38 Silex Advanced Configuration

    Part Number140-00188-180

    Parameter Command Description

    Quiet mode ATQn If n = 1, no result codes are returned.

    If n = 0, result codes are returned to the local device.0 is the reset default value.

    Verbose mode ATVn If n = 0 and not in quiet mode, result codes arereturned in numerical form.

    If n = 1, results are returned as text. 1 is the resetdefault value.

    Table 9 Extended AT Commands

    Parameter Command Description

    Console pass through AT#C Passes the string to the server configuration console.

    The string can be any valid console command. Referto your server documentation for console commandsavailable on your unit.

    Since this command does not follow the normal ATcommand format of , it mustbe the last command on the line unless the nextcommand is a '#' command. All characters up to theend of line or a '# will be considered part of theconsole command.

    If console quiet mode is not is enabled, then theresponse will be the standard console task response.

    Example:

    AT#Cset nw ssid silex#Csave

    Console Quiet mode AT#Qn If n = 0, a response to a #C command is given.

    If n = 1, the response is not provided. The defaultafter reset is 1.

  • 8/2/2019 Manual Sx500 Eng

    45/86

    Advanced Configuration Silex

    Part Number 140-00188-180

    Response Codes

    Table 10 details the response codes for codes other than #C commands.

    Table 10 Response Codes

    Numeric Code Description

    0 OK

    2 No Carrier

    4 Error

    5 Connect

    8 No Answer

    Using ExtendView for Bulk Configuration

    The ExtendView Utility has a powerful bulk configuration capability that allows you downloadconfiguration information to multiple Serial Device Servers simultaneously. This can save you a

    significant amount of time compared to configuring each Serial Device Server individually. To use thiscapability:

    1. From the ExtendView menu bar, select Viewand then Multi-Select Mode.2. The display will change slightly so that there is checkbox by each of the Serial Device Servers

    listed on the main screen. Click the boxes next to each of the Serial Device Servers that youwish to configure.

    3. From the ExtendView menu bar, select Serverand then Multiple Configuration. The ConfigureMultiple Devices window will appear. This Window lets you set parameters such as subnet mask,router address, basic wireless security, and much more. When you have set all of the desiredparameters, click OK and the parameters will be downloaded into the selected Serial DeviceServers.

  • 8/2/2019 Manual Sx500 Eng

    46/86

    Page 40 Silex Advanced Configuration

    Part Number140-00188-180

  • 8/2/2019 Manual Sx500 Eng

    47/86

    Troubleshooting Silex Page 41

    Part Number 140-00188-180

    Chapter 6Troubleshooting

    If you have experience problems with the Serial Device Server, please check the followingtroubleshooting steps:

    1. Make sure that you are getting power to the Serial Device Server. The orange LED should be onsolid if the proper power is being received. If it is not on, check the power supply connections,and if possible, try a different Silex Serial Device Server power supply.

    2. Make sure that you have a valid network connection.

    a. Make sure that your network is operating properly (that is, other devices should be ableto communicate using the same hub, switch, or access point that the Serial DeviceServer is connected to).

    b. If you are using hardwired Ethernet, either the yellow LED (for 10Base-T) or the greenLED (for 100Base-T) should be lit or blinking. If they are not, make sure that the cable isproperly connected, and if possible, try a different Ethernet cable.

    c. If you are using a wireless connection, both the yellow LED and green LED should be litor blinking. If they are not, double check your wireless settings. The SSID and securityparameters must exactly match the requirements of the access point in order for theSerial Device Server to communicate on an infrastructure wireless network. If you areusing Ad-Hoc mode, the Serial Device Server must have exactly the same SSID, securityparameters, and RF channel as the other wireless device(s) on the network.

    d. Make sure that you have a valid IP address, subnet mask and router address (check withyour network administrator to make sure that you have the correct information). You cancheck to see if the IP address information is correctly set by using the ExtendView utility,by printing a test page (press the RESET pushbutton to send a test page to a printer orterminal connected to the serial port) or by using the PING command from a computer

    system connected to the network.

    3. If you have a valid network connection and IP address, but you cannot communicate with yourserial device, then:

    a. Make sure that the settings of the serial port on your device exactly match the settings ofthe serial port of the Serial Device Server. For example, if your device is set for 9600bps,8-bit characters, no parity, and RTS/CTS flow control, the Serial Device Server must alsohave these exact same settings.

  • 8/2/2019 Manual Sx500 Eng

    48/86

    Page 42 Silex Troubleshooting

    Part Number 140-00188-180

    b. If you are using RS-422 or RS-485, make sure that you have set the Serial DeviceServers serial port line mode as described in Chapter 3.

    c. Make sure that have a good cable connection between your serial device and the SerialDevice Server. If possible, try a different cable.

    d. Make sure that the cable pinouts are correct. In order to communicate properly, thetransmit data line on the Serial Device Server must be connected to the receive data lineon your serial device, and the receive data line on the Serial Device Server must be

    connected to the transmit data line on your serial device. Modem signals, if any, mustalso be connected so that input signals are connected to output signals and vice-versa.Refer to the cable diagrams in Chapter 2 of this manual.

    e. Try printing a test page (if your serial device is not capable of directly displaying ASCIIcharacter output from the Serial Device Servers serial port, then disconnect the deviceand connect a serial printer or terminal to the Serial Device Server). If the test pageprints OK, then the serial port on the Serial Device Server is working properly. If it doesnot print, then double check steps 3a, 3b, and 3c.

    If none of the above steps solves your problem, then check the Support and Downloads section of theSilex website (www.silexamerica.com). You can also contact Silex support by phone, Email, or fax asfollows:

    Hours of Operation: Monday-Friday 8:00am-5:00pm MSTPhone: US toll free: (866) 765-8761, International: 1 (801) 748 - 1199, Fax: 1 (801) 748-0730Email: Tech support: [email protected],

    Be sure to have the following information ready when you call Silex support:

    1. Model number and serial number of the Serial Device Server2. Firmware version of the Serial Device Server3. Your hardware and software environment:

    a. Your CPU and operating systemb. Type of device that you are connecting to the Serial Device Serverc. Wireless/wired networking environment (for example, access point manufacturer/model,

    wireless security, routers, etc.)4. Description of the problem

  • 8/2/2019 Manual Sx500 Eng

    49/86

    Product Specifications Silex Page 43

    Part Number 140-00188-180

    Chapter 7Product Specifications

    Table 11 Product Specifications

    Component Specifications