XPort™ User Guide Part Number 900-270 Revision C 11/03
Using This Guide Additional Documentation The following guides are available on the product CD and the Lantronix web site (www.lantronix.com) XPort Qu
22:: IInnttrroodduuccttiioonn This chapter familiarizes you with what the XPort device server can do and some basic information you need to know be
Introduction Protocol Support The XPort device server uses the Internet Protocol (IP) for network communications. It uses the Transmission Control Pro
Introduction Logon Methods For the unit to operate correctly on a network, it must have a unique IP address on the network. There are three basic meth
33:: GGeettttiinngg SSttaarrtteedd This chapter covers the steps for getting the XPort device server online and working. It includes the following
Getting Started Using DeviceInstaller to Assign an IP Address The unit’s IP address must be configured before it can work correctly on a network. You
Getting Started 7. Select the XPort from the main window list and click ToolsPing. The results display in the Status area. Click the Clear Status bu
Getting Started XPort™ User Guide Figure 1-1. Lantronix Web-Manager On the left, Web-Manager has the following menu options (pushbuttons): Uni
Getting Started Figure 1-3. Unit Configuration Web Page XPort™ User Guide 3-5
Getting Started Server Properties You can change the server properties by editing any of the fields. Holding the cursor over a field displays a help m
Getting Started Connect Mode Settings UDP Datagram Mode Enable, Disable UDP Datagram Type User Selectable Incoming Connection Accept unconditional,
Getting Started Packing Algorithm Packing Algorithm Enable, Disable Packing Interval Interval 12 ms, Interval 52 ms, Interval 250 ms, Interval 5000
Getting Started Factory Settings Click the Factory Settings button to set the device server back to the factory default settings. Note: Factory Setti
44:: UUssiinngg SSeettuupp MMooddee ffoorr CCoonnffiigguurraattiioonn You must configure the unit so that it can communicate on a network with
Using Setup Mode for Configuration 1. From the Windows Start menu, click Run and type the following command, where x.x.x.x is the IP address, and 999
Using Setup Mode for Configuration The figure below shows all of the configuration parameters. The remainder of this chapter describes each parameter
Using Setup Mode for Configuration Server Configuration (Network Configuration) The unit’s basic network parameters display when you select Server co
Using Setup Mode for Configuration DHCP Name If a DHCP server has automatically assigned the IP address and network settings, you can discover the un
Copyright and Trademark © 2003, Lantronix. All rights reserved. No part of the contents of this book may be transmitted or reproduced in any form
Using Setup Mode for Configuration I/F (Interface) Mode The Interface (I/F) Mode is a bit-coded byte that you enter in hexadecimal notation. Table 4
Using Setup Mode for Configuration Table 4-14. Reserved Port Numbers Port Numbers Reserved for 1 – 1024 Reserved (well known ports) 9999 Telnet
Using Setup Mode for Configuration Connect Mode Option 7 6 5 4 3 2 1 0 With a specific start character 0 0 1 1 Manual connection
Using Setup Mode for Configuration Manual Connection Attempts to connect when directed by a command string received from the serial port. The first c
Using Setup Mode for Configuration Figure 4-12. Hostlist Option Change Setup: 0 Server configuration 1 Channel 1 configuration 3 E-mail settings
Using Setup Mode for Configuration 5. For Retrytimeout, enter the number of seconds the unit should wait before failing an attempted connection. The t
Using Setup Mode for Configuration Table 4-21. Modem Mode Messages Message Meaning Full Verbose OK Command was executed without error. CONNECT A
Using Setup Mode for Configuration Table 4-24. Modem Mode Commands Modem Mode Command Function ATDTx.x.x.x,pppp or ATDTx.x.x.x/pppp Makes a connec
Using Setup Mode for Configuration DisConnMode This setting determines the conditions under which the unit will cause a network connection to termina
Using Setup Mode for Configuration Table 4-30. Flush Mode Options Function 7 6 5 4 3 2 1 0 Input Buffer (Serial to Network) Clear with a
Disclaimer and Revisions Operation of this equipment in a residential area is likely to cause interference, in which case the user, at his or her ow
Using Setup Mode for Configuration Option 7 6 5 4 3 2 1 0 Send Characters 2-Byte Send Character Sequence 1 Send Immediately
Using Setup Mode for Configuration Channel (Port) Password This parameter appears only if the channel (port) password option is enabled in Disconnect
Using Setup Mode for Configuration Trigger Setup A trigger event can occur when the unit receives two bytes of a specified sequence on the serial port
Using Setup Mode for Configuration Security Settings You can change security settings via Telnet or serial connections only, not on the Web-Manager.
Using Setup Mode for Configuration Disable Port 77FE (Hex) Note: If you choose to disable this option, keep in mind that disabling both Telnet Setup
Using Setup Mode for Configuration Enabling Your Serial Device on the Lantronix web site (www.lantronix.com) for more instructions and sample code. Th
Using Setup Mode for Configuration 4-22 XPort™ User Guide
Using Setup Mode for Configuration Security Settings SNMP Enabled SNMP community name Public Telnet setup Enabled TFTP download Enabled Port 77FEh Ena
55:: GGPPIIOO IInntteerrffaaccee This chapter includes the following topics: Topic Page Configurable Pins 5-1 Control Protocol 5-2 Examples 5-5
Contents Copyright and Trademark _________________________________________________ i Contacts _______________________________________________________
GPIO Interface Control Protocol The GPIO control protocol is a simple, proprietary protocol, which is described below. Guidelines The GPIO control p
GPIO Interface Command 10h, Get Functions Send: No parameters Response: 1 parameter Bytes 1-4: Functions Bit X 1 means general purpose IO avail
GPIO Interface Command 19h, Set Directions Send: 2 parameters Bytes 1-4: Mask Bit X 1 means the direction for GPIO X will be updated with the
GPIO Interface Examples Example 1: PC sends command 1 to find out which configurable pins are available as GPIO. PC -> XPort: 10h, 00h, 00h, 00h,
66:: UUppddaattiinngg FFiirrmmwwaarree This chapter explains how to obtain and update the unit’s firmware. It includes the following topics: Topic
Updating Firmware Figure 6-2. TFTP Window The unit performs a power reset after the firmware has been loaded and stored. Recovering the Firmware usi
77:: MMoonniittoorriinngg tthhee NNeettwwoorrkk Monitor Mode is a command-line interface used for diagnostic purposes. This chapter includes the
Monitoring the Network Monitor Mode Commands The following commands are available in Monitor Mode. Many commands have an IP address as an optional par
88:: TTrroouubblleesshhoooottiinngg This chapter discusses how you can diagnose and fix errors quickly without having to contact a dealer or Lantro
Contents IP Address _______________________________________________________________ 4-4 Set Gateway IP Address _______________________________________
Troubleshooting Problem/Message Reason Solution You may have entered the Ethernet address incorrectly with the ARP command. Confirm that the Eth
Troubleshooting Problem/Message Reason Solution is a duplicate IP address on the network. If you do not get a response, use the serial port to ve
Troubleshooting Technical Support If you are experiencing an error that is not described in this chapter, or if you are unable to fix the error, you m
99:: IIPP AAddddrreesssseess Each TCP/IP node on a network host has a unique IP address. This address provides the information needed to forward p
IP Addresses Class Address Range Comments 223.255.254.254 D 224.0.0.0 to 239.255.255.254 Reserved for multicast groups E 240.0.0.0 to 254.255.255.25
IP Addresses Table 9-10. Netmask Examples Netmask Host Bits255.255.255.252 2 255.255.255.248 3 255.255.255.240 4 255.255.255.224 5 255.255.255.192 6
IP Addresses Alternative Ways to Assign an IP Address In 3:Getting Started, we described how to assign an IP address using DeviceInstaller. This secti
IP Addresses ARP and Telnet If the unit has no IP address, you can use Address Resolution Protocol (ARP) method from UNIX and Windows-based systems t
AA:: BBiinnaarryy ttoo HHeexx CCoonnvveerrssiioonnss Many of the Device Server’s configuration procedures require you to assemble a series of op
Binary to Hex Conversions Connect Mode Options Note: Character response codes are C=connect, D=disconnect, N=unreachable Connect Mode Options Accep
Contents Guidelines ________________________________________________________________ 5-2 Commands ____________________________________________________
Binary to Hex Conversions Connect Mode Options Accept Incoming Connections Serial Response Upon Connection Active Connection Startup Hostlist Hex Nev
Binary to Hex Conversions The following connect mode options are for when you use modem emulation: Connect Mode Options for Modem Emulation Accept
Binary to Hex Conversions Disconnect Mode Options Disconnect with DTR Drop Telnet Mode and Terminal Type Setup Channel (port) Password Hard Disconnect
Binary to Hex Conversions Flush Mode (Buffer Flushing) Options Flush Mode Options Serial to Network Clear input buffer upon: Network to Serial Cl
Binary to Hex Conversions Flush Mode Options Serial to Network Clear input buffer upon: Network to Serial Clear output buffer upon: Alternate Packin
Binary to Hex Conversions Flush Mode Options Serial to Network Clear input buffer upon: Network to Serial Clear output buffer upon: Alternate Packi
Binary to Hex Conversions Flush Mode Options Serial to Network Clear input buffer upon: Network to Serial Clear output buffer upon: Alternate Packin
Binary to Hex Conversions Flush Mode Options Serial to Network Clear input buffer upon: Network to Serial Clear output buffer upon: Alternate Packi
Binary to Hex Conversions Interface Mode Options Interface Mode Options Interface Bits Parity Stop Bits Hex RS-232C 7 No 1 48 RS-232C 7 No 2 C8 RS
Binary to Hex Conversions Pack Control Options Sendcharacter Defined by a: Trailing Characters Packing Interval Send Immediately after Sendcharacter
BB:: NNeettwwoorrkkiinngg TTeerrmmss Address Space A linear array of locations that a thread can access. Simple processors have only one, and thes
Networking Terms Bus A LAN topology in which all the nodes are connected to a single cable. All nodes are considered equal and receive all transmissi
Networking Terms Full-Duplex Independent, simultaneous two-way transmission in both directions, as opposed to half-duplex transmission Gateway A d
Networking Terms LAN Local Area Network, a data communications system consisting of a group of interconnected computers, sharing applications, data,
Networking Terms Node Any intelligent device connected to the network. This includes terminal servers, host computers, and any other devices (such a
Networking Terms Session A connection to a network service. SNMP Simple Network Management Protocol, allows a TCP/IP host running an SNMP applicati
Networking Terms Topology The arrangement of the nodes and connecting hardware that comprises the network. Types include ring, bus, star, and tree.
11:: UUssiinngg TThhiiss GGuuiiddee Purpose and Audience This guide provides the information needed to configure, use and update the XPort™ and i
Comentários a estes Manuais