XPress DR+ User Guide Part Number 900-422 Revision B October 2006
Copyright & Trademark © 2006, Lantronix. All rights reserved. No part of the contents of this book may be transmitted or reproduced in any form or by any means without the written permission of Lantronix. Printed in the United States of America. Ethernet is a trademark of XEROX Corporation. UNIX is a registered trademark of The Open Group. Windows 95, Windows 98, Windows 2000, and Windows NT are trademarks of Microsoft Corp. Netscape is a trademark of Netscape Communications Corporation.
Contents Chapter 1: Using This Guide 10 Purpose and Audience_______________________________________________ 10 Summary of Chapters _______________________________________________ 10 Additional Documentation ____________________________________________ 11 Chapter 2: Introduction 12 Product Description _________________________________________________ 12 Industrial Automation Protocols ________________________________________ 14 Network Protocols (Serial Tunneling)____________________________________ 14
Chapter 1: Using This Guide Ad Hoc Network ________________________________________________________ 29 Serial Tunneling – Infrastructure ___________________________________________ 29 Ad Hoc XPress DR+W Connection _________________________________________ 30 Physically Connecting the XPress DR+W ________________________________ 30 Front Panel Description ______________________________________________ 31 LEDs ____________________________________________________________ 33 Required Information for Initial Co
Chapter 1: Using This Guide Server Configuration ________________________________________________ 49 Host List Configuration_______________________________________________ 51 Channel Configuration _______________________________________________ 52 Serial Settings _________________________________________________________ 52 Connection Settings - TCP________________________________________________ 55 Connection Settings - UDP _______________________________________________ 57 WLAN Configuration (XPress DR+W
Chapter 1: Using This Guide Remote Port_______________________________________________________ 79 DisConnMode _____________________________________________________ 79 Flush Mode (Buffer Flushing)__________________________________________ 80 Pack Control ______________________________________________________ 81 Packing Interval ________________________________________________________ 81 Trailing Characters ______________________________________________________ 81 Send Characters _____________________________
Chapter 1: Using This Guide Enable Enhanced Password ______________________________________________ 91 Default Settings (Option 7)____________________________________________ 91 Channel 1 and Channel 2 Configuration Settings ______________________________ 91 Expert Settings _________________________________________________________ 92 Security Settings _______________________________________________________ 92 WLAN Settings (XPress DR+W only)________________________________________ 92 Chapter 11: Firmware
Chapter 1: Using This Guide Australia & New Zealand – Wireless Notice__________________________________ 114 Appendix F: Warranty 115 Index 116 Figures Figure 2-1. XPress DR+ (Front) .......................................................................... 13 Figure 2-2. Example of Serial Tunneling ............................................................. 15 Figure 2-3. Example of Cascading Multiple XPress DR+ Units .......................... 16 Figure 2-4. Sample Hardware Address .................
Chapter 1: Using This Guide Tables Table 3-1. RJ45 Serial Connector Pinouts .......................................................... 21 Table 3-2. Serial Screw Terminal Pinout for RS422 (4-Wire) ............................. 21 Table 3-3. Serial Screw Terminal Pinout for RS485 (2-Wire) ............................. 21 Table 3-4. Ethernet Interface Signals.................................................................. 23 Table 3-5.Typical RJ45 Connector..................................................
Chapter 1: Using This Guide Purpose and Audience This manual describes the Lantronix XPress DR+ and XPress DR+W device servers. These device servers are members of the XPress family that work with Industrial Automation Protocols. The XPress DR+ W has wireless as well as wired capability. This guide provides the information needed to configure, use, and update the XPress DR+ device servers. It is for system administrators and those responsible for installing and maintaining these device servers.
Chapter 1: Using This Guide Chapter 13: Troubleshooting and Technical Support Describes common problems and error messages and how to contact Lantronix Technical Support. Appendix A: Technical Specifications Lists technical information about the unit. Appendix C: Alternative Methods of Assigning an IP Address Describes other ways to assign an IP address, for example, though ARP and Telnet.
Chapter 2: Introduction This chapter provides basic information about the wired and wireless versions of the XPress DR+. The wireless version has two modes of operation: wireless and wired. In wired mode, the wireless functionality is not used, and the unit behaves identically to the wired XPress DR+. In wireless mode, the unit's behavior is wireless to serial, and the Ethernet ports are not functional. Unless otherwise noted, information in this User Guide applies to both versions of the product.
Chapter 2: Introduction Human-machine interfaces Robots Flow meters Temperature monitoring equipment Scales Mixing stations Gas detection devices CNC Machines The XPress DR+ can connect devices using various methods of TCP/IP communications, for example, through a TCP data channel, using UDP datagrams, or though a Telnet connection. Communication can be established from the XPress DR+ to a host computer or another device or from a host computer or device to the XPress DR+. Figure 2-1.
Chapter 2: Introduction Industrial Automation Protocols The XPress DR+, adapted to multiple factory environments, can unite any mixture of equipment from industrial automation vendors into a single reliable pipeline. This new and open infrastructure opens the way for data to flow in real time from all your plant devices up to your IT layer. The XPress DR+ is delivered with IAP Standard Tunneling protocol and can be loaded with industrial communication protocols.
Chapter 2: Introduction XPress DR+ Application Examples Note: For XPress DR+W application examples, see Chapter 4: XPress DR+W. Using a method called serial tunneling, the XPress DR+ encapsulates serial data into packets and transports them over Ethernet. Using two XPress DR+ units, connected by a network, you can extend virtual serial connections across a facility or around the world. Figure 2-2.
Chapter 2: Introduction Figure 2-3. Example of Cascading Multiple XPress DR+ Units Note: For examples of wireless applications, see Chapter 4: XPress DR+W. Addresses and Port Numbers Hardware Address The hardware address is also referred to as the Ethernet address or MAC address. The first three bytes of the Ethernet address are fixed and read 00-20-4A, identifying the unit as a Lantronix product. The fourth, fifth, and sixth bytes are unique numbers assigned to each unit. Figure 2-4.
Chapter 2: Introduction You can associate the unit's serial channel (port) with a specific TCP/UDP port number. Port number 9999 is reserved for access to the unit's Setup (configuration) Mode. Configuration Methods After installation, the XPress DR+ requires configuration for the unit to operate correctly on a network. There are three basic methods for logging into the XPress DR+ and editing the configurable settings.
Chapter 3: Installation and Hardware What's in the Box? Verify and inspect the contents of the package using the enclosed packing slip or the list below. If any item is missing or damaged, contact your place of purchase immediately. XPress DR+ or XPress DR+W Resource CD Quick Start Guide P/N: 500-103 RJ45-DB9F serial cable.
Chapter 3: Installation and Hardware Figure 3-1. Typical Configuration 1. Connect a serial device to your XPress DR+. (See Serial Interface on page 20 for cable and connector specifications.) 2. Connect an Ethernet cable to the Ethernet port. (See Ethernet Interface on page 23.) 3. Supply power to your XPress DR+ using a 9-30 VDC or 9-24 VAC (2.3W maximum) source. (See Power Requirements on page 24.) 4. Supply power to the serial device.
Chapter 3: Installation and Hardware Figure 3-2. Front of XPress DR+ Serial Interface The XPress DR+ supports RS-232 via RJ45 connectors. It also supports RS-422/485 via screw terminals (Serial Port 2 only). Note: Serial Port 2 supports RS232, RS422, and RS485, but only one mode at a time. This means you can use either the RJ45 connector or the terminal block, not both. The serial RJ45 serial connectors support RS232, up to 230400 bits per second.
Chapter 3: Installation and Hardware Figure 3-3. RJ45 Connector – Front View Table 3-1. RJ45 Serial Connector Pinouts Pin Direction Name Function 1 Output from DR+ RTS Ready To Send 2 Output from DR+ DTR Data Terminal Ready 3 Output from DR+ TXD Transmitted Data 4 Ground GND Signal Ground 5 Ground GND Signal Ground 6 Input to DR+ RXD Received Data 7 Input to DR+ DSR Data Carrier Detected 8 Input to DR+ CTS Clear To Send Screw Terminal Serial Connectors Table 3-2.
Chapter 3: Installation and Hardware Note: Termination resistors (R = 120 Ohm) are used to match impedance of a node to the impedance of the transmission (TX) line. Termination resistors should be placed only at the extreme ends of the data line, and no more than two terminations should be placed in any single segment of an RS-485 network. The terminator resistors may not be needed for your application. Figure 3-5.
Chapter 3: Installation and Hardware Ethernet Interface The XPress DR+ includes a two-port unmanaged Ethernet switch with a future option to migrate to a managed solution. The internal IEEE 802.3-compliant Ethernet switch is non-blocking, using a 1K MAC address lookup table with store-and-forward architecture.
Chapter 3: Installation and Hardware Figure 3-7. Multi-Drop Ethernet Connections Power Requirements As with most industrial automation devices, the XPress DR+ does not ship with a power supply. Its flexible power input circuit allows the product to be powered by any 9-30 VDC or 9-24 VAC power supply that can provide the 2.3-Watt maximum required by the XPress DR+. In addition to the wide power input range, the XPress DR+ provides: 2K VAC and 2.
Chapter 3: Installation and Hardware Figure 3-8. Reset Switch Caution: Even though a chassis ground is not required for operation, it is mandatory for protection against transient voltages and ESD. A chassis ground must be connected to earth. LEDs Note: For a description of the XPress DR+W's LEDs, see page 33. Figure 3-9.
Chapter 3: Installation and Hardware Table 3-6. XPress DR+ LED Functions LED Status Meaning Serial port - TXD LED (Yellow) Off No data being transmitted from XPress DR+ Blinking Data being transmitted from XPress DR+ Off No data being received by XPress DR+ Blinking Data being received by XPress DR+ Off No Ethernet link established. Steady On Ethernet link established.
Chapter 3: Installation and Hardware Wall Mount Bracket Included with the XPress DR+ is an accessory DIN-rail wall mount bracket that makes it very easy to mount the unit in locations where a DIN-rail is not available. Figure 3-11.
Chapter 4: XPress DR+W The wireless version of the XPress DR+ (XPress DR+W) provides serial-to-wireless network connectivity as an alternative to wired Ethernet connectivity. The wireless unit uses IP protocol (TCP for connection-oriented stream applications and UDP for datagram applications), enabling virtually any serial device or equipment to be remotely accessed, controlled, monitored, or shared on an 802.11b/g wireless network.
Chapter 4: XPress DR+W connected to it. The combination of the XPress DR+W, a PC, and Lantronix’s Com Port Redirector software allows the PC to communicate directly to the wireless unit’s serial devices, providing wireless serial tunneling. Com Port Redirector is available on the product CD and the Lantronix web site (www.lantronix.com). Ad Hoc Network Figure 4-2. Ad Hoc Network Example In the example above, the AP is not present.
Chapter 4: XPress DR+W In the example above, the XPress DR+W communicates with another device server via the AP. The UDS device server, in this example, is connected via an Ethernet connection to the AP. In this way, the XPress DR+W and the device server communicate directly and can transfer information between their serial devices. Ad Hoc XPress DR+W Connection Figure 4-4.
Chapter 4: XPress DR+W Figure 4-5. Typical XPress DR+W Configuration Front Panel Description The following figure illustrates the screw block connector pinouts and other components of the XPress DR+W.
Chapter 4: XPress DR+W Figure 4-6.
Chapter 4: XPress DR+W LEDs Table 4-1. XPress DR+W LED Functions LED Status Meaning Serial port - TXD LED (Yellow) Off No data being transmitted from XPress DR+ Blinking Data being transmitted from XPress DR+ Off No data being received by XPress DR+ Blinking Data being received by XPress DR+ Off No Ethernet link established. Steady On Ethernet link established.
Chapter 4: XPress DR+W IP Address: _______ Subnet Mask: Gateway: _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ WLAN Settings Before the XPress DR+W can communicate on an 802.11b/g wireless network, the WLAN settings must match the wireless network. By default, the XPress DR+W is set to Ad Hoc network mode, and its wireless Network Name (SSID) is LTRX_IBSS. You can configure WEP, WPA, or WPA2/802.11i settings: Note: WPA and WPA2/802.
Chapter 4: XPress DR+W Network Mode (XPress DR+W only) The first prompt requires you to set the unit for wired or wireless use. Wireless is the default, so just press Enter at the prompt. Figure 4-7. Network Mode The IP Address, Set Gateway IP Address, and Netmask fields display the current values. Figure 4-8. Server Settings IP Address : (000) .(000) .(000) .
Chapter 4: XPress DR+W A netmask defines the number of bits taken from the IP address that are assigned for the host part. Netmask: Number of Bits for Host Part (0=default) (0) _ Note: Class A: 24 bits; Class B: 16 bits; Class C: 8 bits The unit prompts for the number of host bits to be entered, then calculates the netmask, which appears in standard decimal-dot notation (for example, 255.255.255.0) when the saved parameters display. Table 4-3.
Chapter 4: XPress DR+W Leaving the zone blank causes the utility to report the current setting only. Following are valid zone abbreviations. These settings are consistent with IEEE802.11b/g zones: US=United States CA=Canada FR=France SP=Spain JP=Japan OT=Others, such as Europe (excluding France), Asia, Africa, and Australia To modify WLAN settings, select 4 WLAN from the Change Setup menu. Topology Select Infrastructure (ESS) mode or Adhoc (IBSS) mode. Infrastructure mode communicates with Access Points.
Chapter 4: XPress DR+W Point to many wireless devices at once is called multicast and uses the group encryption method. To receive broadcast and multicast messages, the group encryption for all wireless devices communicating with the same access point must be equal. If any of these devices is WEP-only (no support for WPA), set the encryption to TKIP+WEP.
Chapter 4: XPress DR+W Passphrase input is not the same as ASCII input. The passphrase input is safer because it has up to 63 characters. ASCII input has a maximum of 5 (WEP64) or 13 (WEP128) characters and limits the number of key combinations. TX Key index selects the WEP key used for transmissions. Enter a value between 1 and 4. The default setting is 1. In case the WEP key is entered in hex, all keys (1-4) are the same.
Chapter 4: XPress DR+W input style recommended. Set the Encryption type to the minimum required security. The plus sign denotes that the group (broadcast) encryption method is different from the pairwise (unicast) encryption, in this case WEP and TKIP, respectively. For example, CCMP+TKIP => pairwise = CCMP, and group = TKIP. WPA2/802.11i The WPA2/802.11i mode complies with the Robust Secure Network specified in the IEEE standard 802.11i. It enables the AES-based strong CCMP encryption.
Chapter 4: XPress DR+W XPress DR+ User Guide 41
Chapter 5: Using DeviceInstaller This chapter covers the steps for getting the XPress DR+ device server online and viewing its current configuration. Note: For the latest firmware, release notes, and user documentation, go to the Lantronix web site (www.lantronix.com). Installing DeviceInstaller To install DeviceInstaller: Insert the product CD into your CD-ROM drive. The CD automatically starts and displays the main window. 1.
Chapter 5: Using DeviceInstaller Note: If the unit already has an IP address (e.g., DHCP has assigned an IP address), click the Search icon and select the unit from the list of Lantronix device servers on the local network. 2. Click the Assign IP icon . 3. If prompted, enter the hardware address (on the product label) and click Next. 4. Select Assign a specific IP address and click Next. 5. Enter the IP address. The Subnet mask displays automatically based on the IP address; if desired, you may change it.
Chapter 5: Using DeviceInstaller Table 5-1. Viewing Current Settings Setting Description Name Configurable field. A name that identifies the XPress DR+. Double-click the field, type in the value, and press Enter to complete. This name is not visible on other PCs or laptops using DeviceInstaller. Group Configurable field. A group name to categorize the XPress DR+. Double-click the field, type in the value, and press Enter to complete.
Chapter 5: Using DeviceInstaller Setting Description Supports Dynamic IP Non-configurable field. Indicates whether the current IP address on the XPress DR+ was set manually or assigned automatically. DHCP Non-configurable field that displays only if the unit supports Dynamic IP. True indicates that the IP address can be assigned automatically by DHCP. BOOTP Non-configurable field that displays only if the unit supports Dynamic IP.
Chapter 6: Configuration Using Web Manager Chapter 6: Configuration Using Web Manager You must configure the unit so that it can communicate on a network with your serial device. For example, you must set the way the unit will respond to serial and network traffic, how it will handle serial packets, and when to start or close a connection. The unit’s configuration is stored in nonvolatile memory and is retained without power. You can change the configuration at any time.
Chapter 6: Configuration Using Web Manager 6. In the right pane, click the Web Configuration tab. 7. To view the unit's Web Manager in the current DeviceInstaller window, click the Go button. OR To open the Web Manager in a web browser, click the External Browser button. The Web Manager displays. Note: Alternatively, to open Web Manager, start your web browser and enter the IP address of the XPress DR+. Figure 6-1. Lantronix Web Manager The main menu is in the left pane of the Web Manager window.
Chapter 6: Configuration Using Web Manager Network Configuration The unit’s network values display when you select Network from the main menu. The following sections describe the configurable parameters on the Network Settings page. Figure 6-2. Network Settings Automatic IP Address Configuration An IP address can be assigned automatically. You then enter related network settings. To assign an IP address automatically: 1. On the main menu, click Network. 2.
Chapter 6: Configuration Using Web Manager AutoIP Select Enable to permit the XPress DR+ to generate an IP in the 169.254.x.x address range with a Class B subnet. Enable is the default setting. DHCP Host Name Enter the name of the host on the network providing the IP address. Note: Disabling BOOTP, DHCP, and AutoIP (all three checkboxes) is not advised as the only available IP assignment method will then be ARP or the serial port. 5. When inished, click the OK button. 6.
Chapter 6: Configuration Using Web Manager Figure 6-3. Server Settings To configure the unit's device server settings: 1. On the main menu, click Server. 2. Configure or modify the following fields: Server Configuration Telnet Password Enter the password required for Telnet access. Retype Password Re-enter the password required for Telnet access. Advanced ARP Cache Timeout When the unit communicates with another device on the network, it adds an entry into its ARP table.
Chapter 6: Configuration Using Web Manager 0x77FE Server Port N/A MTU Size The Maximum Transmission Unit (MTU) is the largest physical packet size a network can transmit for TCP and UDP. Enter between 512 and 1400 bytes. The default setting is 1400 bytes. 3. When you are finished, click the OK button. 4. To save and reboot, on the main menu, click Apply Settings. Host List Configuration The XPress DR+ scrolls through the host list until it connects to a device listed in the host list table.
Chapter 6: Configuration Using Web Manager Retry Settings Retry Counter Enter the value for the number of times the XPress DR+ should attempt to retry connecting to the host list. The default setting is 3. Retry Timeout Enter the duration (in seconds) the XPress DR+ should abandon attempting a connection to the host list. The default setting is 250. Host Information Host Address Enter or modify the host’s IP address. Port Enter the target port number. 3. When finished, click the OK button. 4.
Chapter 6: Configuration Using Web Manager Figure 6-5. Channel Serial Settings 2. In the available fields, enter the following information: Channel 1 Disable Serial Port When selected, disables communication through the serial port. The serial port is enabled by default. Port Settings Protocol From the drop-down menu, select the protocol type for the selected channel. The default setting is RS232. Note: Configuring RS-485 is not permitted.
Chapter 6: Configuration Using Web Manager Pack Control Enable Packing Select to enable packing on the XPress DR+. Disabled by default. Two firmware-selectable packing algorithms define how and when packets are sent to the network. The standard algorithm is optimized for applications in which the unit is used in a local environment, allowing for very small delays for single characters, while keeping the packet count low.
Chapter 6: Configuration Using Web Manager 4. To save and reboot, click Apply Settings on the main menu. Connection Settings - TCP To configure a channel’s TCP settings: 1. On the main menu, click Connection. The Connection Settings window for the channel displays. Figure 6-6.
Chapter 6: Configuration Using Web Manager 2. In the available fields, enter or modify the following information: Connect Protocol Protocol From the drop-down menu, select TCP. Connect Mode: Passive Connection Accept Incoming Select Yes to accept incoming connections. The default setting is Yes. Password Required Determines whether a password is required for an incoming passive connection. This field is not available when a password is set for Telnet mode. The default setting is No.
Chapter 6: Configuration Using Web Manager Connect is set to None. Select Enable to permit Telnet communication to the XPress DR+. Terminal Name This field is available for configuration only when Telnet Mode is set to Enable. Use the terminal name for the Telnet terminal type. Enter only one name. When this option is enabled, the unit also reacts to the end of record (EOR) and binary options, which can be used for applications such as terminal emulation to IBM hosts.
Chapter 6: Configuration Using Web Manager Figure 6-7. UDP Connection Settings Connect Protocol Protocol Select UDP from the drop-down menu. Datagram Mode Datagram Type Configures the remote IP or network broadcast address and the remote port. Enter 01 for directed or broadcast UDP. The default setting is 00. Accept Incoming Select Yes to accept incoming UDP datagrams.
Chapter 6: Configuration Using Web Manager Endpoint Configuration Local Port Enter the local port number. Remote Port Enter the port number of the remote device. Remote Host Enter the IP address of the remote device. Device Address Table The table is enabled when Datagram Type is set to FD. Enter values between 1 and 255 to identify units on the local network of device servers. Note: Lantronix Tech Support supports Datagram type 01. Datagram Type FD is for OEM use. 3.
Chapter 6: Configuration Using Web Manager To configure the XPress DR+W’s WLAN settings: 1. Select WLAN from the main menu to open the WLAN Settings window. Figure 6-8.
Chapter 6: Configuration Using Web Manager Figure 6-9. WLAN Settings – Infrastructure Network Type 2. Enter or modify the following fields: Wireless Network Configuration Network Name (SSID) Enter the name of the wireless network (SSID). The XPress DR+W connects to this wireless network. Network Type Select Infrastructure or Ad Hoc. The default setting is Ad Hoc. Network type is also referred to as the network topology. Channel Configurable only when Network Type is Ad Hoc.
Chapter 6: Configuration Using Web Manager Wireless Network Security Security As a security measure, enable WEP, WPA, or 802.11i/vWPA2 on the XPress DR+W. WPA and WPA2/802/11i are not available when Adhoc is the network type. By default, wireless security is disabled. Note: The 802.11i/vWPA2 mode complies with the Robust Secure Network specified in the IEEE standard 802.11i. It enables the AES-based strong CCMP encryption.
Chapter 6: Configuration Using Web Manager WPA2/802.11i Options Authentication Select Pre-Shared Keys from the drop-down list. Encryption Select the encryption type from the pull-down menu. CCMP is the default encryption. Key Type Select the key type (Hex or Passphrase). Key Enter the Encryption Key in hexadecimal value if Hex is selected as the key type. Enter the key as a string if Passphrase is selected as the key type. Passphrase input is not the same as ASCII input.
Chapter 7: Configuration Using Telnet or Serial Port (Setup Mode) You must configure the unit so that it can communicate on a network with your serial device. As an alternative to using a web browser, as described in the previous chapter, you can use the following procedures remotely or locally: Use a Telnet connection to configure the unit over the network. Use a terminal or terminal emulation program to access the serial port locally.
Chapter 7: Configuration Using Telnet or Serial Port (Setup Mode) To establish a Telnet connection: 1. From the Windows Start menu, click Run and type the following command, where x.x.x.x is the IP address, and 9999 is the unit’s fixed network configuration port number: Windows: telnet x.x.x.x 9999 UNIX: telnet x.x.x.x:9999 2. Click OK. The following information displays. Figure 7-1. MAC Address 3. To enter Setup Mode, press Enter within 5 seconds.
Chapter 7: Configuration Using Telnet or Serial Port (Setup Mode) 3. Reset the XPress DR+ unit by cycling the unit's power (turning the power off and back on). Immediately upon resetting the device, enter three lowercase x characters (xxx). Note: The easiest way to enter Setup Mode is to hold down the x key at the terminal (or emulation) while resetting the unit. You must do this within three seconds of resetting the unit. At this point, the screen display is the same as when you use a Telnet connection.
Chapter 8: Setup Mode: Server Configuration This chapter explains how to configure the network settings for the XPress DR+. Server Configuration (Option 0) You can configure the unit’s basic network parameters when you select Server configuration (option 0). Note: Current values display in parentheses. Network Mode (XPress DR+W only) The first prompt requires you to set the unit for wired or wireless use. Wired is the default. Figure 8-1.
Chapter 8: Setup Mode: Server Configuration Table 8-1. BootP/DHCP/AutoIP options Bit Value AutoIP 0 1 DHCP 1 2 BootP 2 4 Options For example, if the third octet is 0.0.5.0, the AutoIP and BootP options are disabled; only DHCP is enabled. (The value 5 results from adding the binary equivalents of 0 and 2.) This is the most common setting when using DHCP. Set Gateway IP Address The gateway address, or router, allows communication to other LAN segments.
Chapter 8: Setup Mode: Server Configuration Note: You do not need a password to access the Setup Mode window by a serial connection. DHCP Name If a DHCP server has automatically assigned the IP address and network settings, you can discover the unit by using the DeviceInstaller network search feature. There are three methods for assigning DHCP names to the unit. Default DHCP Name: If you do not change the DHCP name, and you are using an IP of 0.0.0.
Chapter 9: Setup Mode: Channel Configuration This chapter explains how to configure a serial port. Notes: Current values display in parenthesis. You must enter some values in hexadecimal notation. (See Appendix D: Binary to Hexadecimal Conversions). Channel 1 (Option 1) and Channel 2 (Option 2) Note: Channel 1 and Channel 2 have the same defaults except for the port number (10001 for Channel 1 and 10002 for Channel 2).
Chapter 9: Setup Mode: Channel Configuration I/F (Interface) Mode The Interface (I/F) Mode is a bit-coded byte entered in hexadecimal notation. I/F Mode (4C) ? _ The following table displays available I/F Mode options. Note: All bit positions in the table that are blank represent “don’t care” bits for that particular option, which can be set to either a 0 or 1 value. Table 9-1.
Chapter 9: Setup Mode: Channel Configuration Table 9-3. Flow Control Options Flow Control Option Hex No flow control 00 XON/XOFF flow control 01 Hardware handshake with RTS/CTS lines 02 XON/XOFF pass characters to host 05 Port Number The setting represents the source port number in TCP connections. It is the number that identifies the channel for remote initiating connections. Port No (10001) ? _ The default setting for port 1 is 10001. The default setting for Port 2 is 10002.
Chapter 9: Setup Mode: Channel Configuration Note: All bit positions in the table that are blank represent “don’t care” bits, for that particular option, which can be set to either a 0 or 1 value. Table 9-5.
Chapter 9: Setup Mode: Channel Configuration a) Incoming Connection Never Accept Incoming Rejects all external connection attempts. Accept with DTR Active Accepts external connection requests only when the DTR input is asserted. Cannot be used with Modem Mode. Always Accept Accepts any incoming connection when a connection is not already established. Default setting.
Chapter 9: Setup Mode: Channel Configuration For example, if the remote IP address already configured in the unit is 129.1.2.3, then an example command string would be C3/7. (This would connect to 129.1.2.3 and port 7.) You may also use a different ending for the connection string. For example, C50.1/23 would connect you to 129.1.50.1 and port 23. Figure 9-2. Manual Connection Address Example Command String Result if remote IP is 129.1.2.3 and remote port is 1234 C121.2.4.
Chapter 9: Setup Mode: Channel Configuration To enable the hostlist: 1. Enter a Connect Mode of 0x20 (2X), where X is any digit. The menu shows you a list of current entries already defined in the product. 2. To delete, modify, or add an entry, select Yes. If you enter an IP address of 0.0.0.0, that entry and all others after it are deleted. 3. After completing the hostlist, repeat the previous step if necessary to edit the hostlist again. 4.
Chapter 9: Setup Mode: Channel Configuration Without Echo In Modem Mode, echo refers to the echo of all of the characters entered in command mode; it does not mean to echo data that is transferred. Quiet Mode (without echo) refers to the modem not sending an answer to the commands received (or displaying what was typed). Data Echo & Modem Response Full Verbose: The unit echoes modem commands and responds to a command with a message string shown in the table below.
Chapter 9: Setup Mode: Channel Configuration When an active connection is in effect, the unit terminates the connection if it receives the following sequence from the attached serial device: No serial data is received for one second. The character sequence +++ is received, with no more than one second between each two characters. No serial data is received for one second after the last + character. At this time, the unit responds affirmatively per the selected echo/response mode.
Chapter 9: Setup Mode: Channel Configuration Send the Escape Sequence (+++) in Modem Mode Send ‘+++’ in Modem Mode (Y) ? _ Disable or enable the unit's ability to send the escape sequence. The default is Y (Yes) (send the escape sequence). Auto Increment Source Port Auto increment source port (N) ? _ Y (Yes) auto increments the source port. The XPress DR+ increments the port number used with each new connection. Remote IP Address This is the destination IP address used with an outgoing connection.
Chapter 9: Setup Mode: Channel Configuration Table 9-8. Disconnect Mode Options Disconnect Mode Option 7 (6) 1 Disconnect with DTR drop Ignore DTR 6 5 4 3 2 1 0 0 Telnet mode and terminal type setup (1) 1 Channel (port) password (2) 1 Hard disconnect (3) 0 Disable hard disconnect 1 State LED off with connection (4) Disconnect with EOT (^D) (5) 1 1 (1) The XPress DR+ sends the "Terminal Type" upon an outgoing connection.
Chapter 9: Setup Mode: Channel Configuration Pack Control The packing algorithms define how and when packets are sent to the network. The standard algorithm is optimized for applications in which the unit is used in a local environment, allowing for very small delays for single characters, while keeping the packet count low. The alternate packing algorithm minimizes the packet count on the network and is especially useful in applications in a routed Wide Area Network (WAN).
Chapter 9: Setup Mode: Channel Configuration Send Characters If 2-Byte Send Character Sequence is enabled, the unit interprets the sendchars as a 2-byte sequence; if this option is not enabled, the unit interprets them independently. If Send Immediately After Characters is not set, any characters already in the serial buffer are included in the transmission after a "transmit" condition is found.
Chapter 9: Setup Mode: Channel Configuration WLAN Settings (XPress DR+W Only) Note: To use DeviceInstaller for communication to an XPress DR+W over a wireless network, you must first configure the network and WLAN settings using a serial connection. See Chapter 4:XPress DR+W. Before the XPress DR+W can communicate on an 802.11b/g wireless network, the WLAN settings must match the wireless network. By default, the XPress DR+W is set to Ad Hoc network mode, and its wireless Network Name (SSID) is LTRX_IBSS.
Chapter 9: Setup Mode: Channel Configuration Adhoc Network Channel When Adhoc is selected in the Topology parameter, and the XPress DR+W cannot find the specified network, it creates one with that name by transmitting a beacon on the selected channel. Channel (11) ? _ Only channels allowed in the country for which the XPress DR+W is designated can be selected. The country displays in the Setup Mode settings overview. Security The Security Suite prompt enables you to select the type of security.
Chapter 9: Setup Mode: Channel Configuration WEP Authentication selects whether the encryption keys are matched (1 = shared) with those of the communication partner before passing through messages or not (2 = open/none). The Encryption prompt requests the length of the encryption key and the security strength. WEP64 uses a 40 bits/5 bytes key (option 1). WPE128 uses a 104 bits/13 bytes key (option 2). Select Y (Yes) at the Display current key prompt to show the currently configured key/passphrase.
Chapter 9: Setup Mode: Channel Configuration WPA This firmware version allows only Pre-Shared Keys (PSK) for authentication. Select Y (Yes) at the Display current key prompt to show the currently configured key/passphrase, Select Y (Yes) at the Change key prompt to be able to modify the currently configured key by selecting Y (Yes). The Key type requests whether the new key is in hexadecimal or passphrase format. The default setting is Passphrase.
Chapter 9: Setup Mode: Channel Configuration WPA2/802.11i The WPA2/802.11i mode complies with the Robust Secure Network specified in the IEEE standard 802.11i. It enables the AES-based strong CCMP encryption. Enter key prompts for the new passphrase. Maximum length is 63 characters; the recommended minimum is 20 characters. Set the Encryption type to minimum required security. The plus sign denotes that the group (broadcast) encryption method is different from the pairwise (unicast) encryption.
Chapter 10: Setup Mode: Advanced Settings Chapter 10: Setup Mode: Advanced Settings Expert Settings (Option 5) Note: You can change these settings using Telnet or serial connections only, not on the Web Manager. Caution: Only a Network Adminitrator should change these parameters. You must definitely know the consequences the changes might have. Figure 10-1.
Chapter 10: Setup Mode: Advanced Settings HTTP Port Number This option allows the configuration of the web server port number. The valid range is 1-65535. The default HTTP port number is 80. HTTP Port Number : (80) ? _ MTU Size The Maximum Transmission Unit (MTU) is the largest physical packet size a network can transmit for TCP and UDP. Enter between 512 and 1400 bytes. The default setting is 1400 bytes.
Chapter 10: Setup Mode: Advanced Settings Disable SNMP This setting allows you to disable the SNMP protocol on the unit for security reasons. Disable SNMP (N) ? _ SNMP Community Name The SNMP Community Name is a required field for NMS to read or write to a device. Enter a string of 1 to 13 characters. SNMP Community Name (public): _ The default entry is public. The current value is displayed in parentheses.
Chapter 10: Setup Mode: Advanced Settings The Y (Yes) option disables remote configuration and web sites. Note: The Y (Yes) option disables many of the GUI tools for configuring the unit, including the embedded Web Manager tool. Disable Web Server This setting defaults to the N (No) option. The Y (Yes) option disables the web server. Disable Web Server (N) ? _ Disable Web Setup The Y (Yes) option disables configuration using the Web Manager. This setting defaults to the N (No) option.
Chapter 10: Setup Mode: Advanced Settings Hostlist retry counter 3 Hostlist retry timeout 250 (msec) Start character for serial channel 1 0x0D (CR) All other parameters 0 Expert Settings TCP Keepalive time in s 45 ARP Cache timeout in s 600 Disable Monitor Mode @ bootup No HTTP Port Number (1-65535) 80 MTU Size (512 – 1400) 0 (resulting in an operational value of 1400) Enable alternate MAC No ( for OEM use only) Ethernet Connection Type 0 (auto-negotiate) Security Settings Disable SNM
Chapter 11: Firmware Upgrades Obtaining Firmware You can obtain the most up-to-date firmware and release notes for the unit from the Lantronix web site (www.lantronix.com) or by using anonymous FTP (ftp.lantronix.com). Reloading Firmware There are several ways to update the unit's internal operational code (*.ROM): using DeviceInstaller (the preferred way), using TFTP, or using the serial port. You can also update the unit's internal web interface (*.COB) using TFTP or DeviceInstaller.
Chapter 11: Firmware Upgrades Figure 11-1. TFTP Window After the firmware has been loaded and stored, which takes approximately 8 seconds to complete, the unit performs a power reset. Using TFTP: Command Line Interface To download new firmware from a computer: 1. Enter the following from a TFTP command line interface: tftp –i put The following examples demonstrate the TFTP command sequence to download the .ROM file and the .COB file: 2.
Chapter 11: Firmware Upgrades 4. For Device Model, be sure the appropriate XPress DR+ device displays. 5. For Firmware File, click the Browse button and go to the location where the firmware file resides. Note: Make sure the XPress DR+ on which you are recovering firmware is connected to this selected port on your PC. 6. Click OK to download the file. 7. When prompted, reset the device. Status messages and a progress bar at the bottom of the screen show the progress of the file transfer.
Chapter 12: Monitor Mode Monitor Mode is a command-line interface used for diagnostic purposes. There are two ways to enter Monitor Mode: locally using the serial port or remotely using the network. Entering Monitor Mode Using the Serial Port To enter Monitor Mode locally: 1. Follow the same steps used for setting the serial configuration parameters (see Serial Port on page 65). 2. Instead of typing three x keys, however: a) Type zzz (or xx1) to enter Monitor Mode with network connections.
Chapter 12: Monitor Mode Table 12-1. Monitor Mode Commands Command Command Name Function AT ARP Table Shows the unit’s ARP table entries. G0, G1, ....,Ge, Gf Get configuration from memory page Gets a memory page of configuration information from the device. GC x.x.x.x Get Configuration Gets configuration of unit with IP address x.x.x.x as hex records (120 bytes). GM Get MAC address Shows the unit's 6-byte MAC address. NC Network Connection Shows the unit’s IP configuration.
Table 7-2.
Chapter 13: Troubleshooting and Technical Support This chapter discusses how you can diagnose and fix errors quickly without having to contact a dealer or Lantronix. It helps to connect a terminal to the serial port while diagnosing an error to view summary messages that may display. When troubleshooting, always ensure that the physical connections (power cable, network cable, and serial cable) are secure. Note: Some unexplained errors might be caused by duplicate IP addresses on the network.
Appendix A:Technical Specifications Problem/Message Reason Solution When you Telnet to port 1 to assign an IP address to the device server, the Telnet window does not respond for a long time. You may have entered the Ethernet address incorrectly with the ARP command. Confirm that the Ethernet address that you entered with the ARP command is correct. The Ethernet address may only include numbers 0-9 and letters A-F.
Appendix A:Technical Specifications Problem/Message Reason Solution You can ping the device server, but not Telnet to the device server on port 9999. There may be an IP address conflict on your network Turn the device server off and then issue the following commands at the DOS prompt of your computer: You are not Telneting to port 9999. The Telnet configuration port (9999) is disabled within the device server security settings.
Appendix A:Technical Specifications 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 have the following options: To check our online knowledge base or send a question to Technical Support, go to http://www.lantronix.com/support. Technical Support Europe, Middle East, and Africa Phone: +33 (0) 1 39 30 41 72 Email: eu_techsupp@lantronix.com or eu_support@lantronix.
Appendix A: Technical Specifications Table 13-2.
Appendix A: Technical Specifications Category Description LEDs TX/RX activity per serial Link/Activity per Ethernet port Power/System OK Wireless Isolation 8 KV direct contact, 15 KV air discharge, ESD protection on all serial ports (IEC 1000-4-2, IEC 61000-4-2) 2 K VAC / 2.8K VDC galvanic isolation between power input port to Ethernet ports (except chassis ground) 2 K VAC / 2.
Appendix B: Lantronix Cables and Adapters Lantronix P/N Description Applications 500-103 6’ RJ45-to DB9F Included with XPress DR+ for setup or device connectivity. Connects the RJ45 RS232 serial ports of XPress DR+ to a DB9M DTE interface of a PC or serial device. 200.2062 Cable Ethernet CAT5; RJ45, 2 m (6.6 ft) Connects the XPress DR+ Ethernet ports to an Ethernet switch/hub or is used for cascading from one XPress DR+ to another.
Appendix C: Alternative Methods of Assigning an IP Address Earlier chapters describe how to assign a static IP address using DeviceInstaller, WebManager, and Setup Mode (through a Telnet or serial connection). This section covers other methods for assigning an IP address over the network. DHCP The unit ships with a default IP address of 0.0.0.0, which automatically enables DHCP.
Appendix C: Alternative Methods of Assigning an IP Address You can disable AutoIP by setting the unit’s IP address to 0.0.1.0. This setting enables DHCP but disables AutoIP. BOOTP Similar to DHCP, but for smaller networks. Automatically assigns the IP address for a specific duration of time. ARP and Telnet If the unit has no IP address, you can use Address Resolution Protocol (ARP). To assign a temporary IP address: 1.
Appendix D: Binary to Hexadecimal Conversions Many of the unit’s configuration procedures require you to assemble a series of options (represented as bits) into a complete command (represented as a byte). The resulting binary value must be converted to a hexadecimal representation. Converting Binary to Hexadecimal Following are two simple ways to convert binary numbers to hexadecimal notation.
Appendix D: Binary to Hexadecimal Conversions 3. Click Hex. The hexadecimal value displays.
Appendix E: Compliance Information Declaration of Conformity (according to ISO/IEC Guide 22 and BS 7514) Manufacturer’s Name & Address Lantronix, 15353 Barranca Parkway, Irvine, CA 92618 USA Declares that the following product: Product Name Model XPress DR+ and XPress DR+W Description 2-Port Industrial Device Server and Wireless 2-Port Industrial Device Server Conforms to the following standards or other normative documents: Safety UL 60950-1 CSA 22.2. No 60950-1-03 EN 60950-1 Table 13-4.
Appendix E: Compliance Information Industrial Environment Emissions: Immunity ICES-001 Issue 4 July 2004 EN61000-6-2: 2001 and AS/NZS 61000.6.2: 2002 EN61000-6-4: 2001 and AS/NZS 4251.2: 1999 IEC_61000-4-2: 1995 CISPR11 IEC_61000-4-3: 1995 FCC Part 18 Subpart C IEC_61000-4-4: 1995 IEC_61000-4-5: 1995 IEC_61000-4-6: 1996 IEC_61000-4-8: 1993 IEC_61000-4-11: 1994 Table 13-5.
Appendix E: Compliance Information XPress DR+W Regulatory Information USA Federal Communications Commission (FCC) Notice This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: This device may not cause harmful interference, and This device must accept any interference received, including interference that may cause undesired operation.
Appendix E: Compliance Information This Class B digital apparatus complies with Canadian ICES-003.” Cet appareil numérique de la classe B est conforme à la norme NMB- 003 du Canada. Antenna Notice: This device has been designed to operate with an antenna having a maximum gain of 3 dBi. Antenna having a higher gain is strictly prohibited per regulations of Industry Canada. The required antenna impedance is 50 ohms.
Appendix E: Compliance Information In addition to this notice, the following countries in Europe have certain restrictions on the operation of 2.4 GHz WLAN type devices: Country Restriction France Outdoor use is limited to 10mW E.I.R.P within the frequency band 2454-2483.5 MHz. Italy If used outside of own premises, general authorization is required Luxembourg General authorization required for public service. Romania Individual license is required.
Appendix F: Warranty Lantronix warrants each Lantronix product to be free from defects in material and workmanship for a period of TWO YEARS after the date of shipment. During this period, if a customer is unable to resolve a product problem with Lantronix Technical Support, a Return Material Authorization (RMA) will be issued. Following receipt of an RMA number, the customer shall return the product to Lantronix, freight prepaid.
Index Adapters, 104 Addresses Hardware, 16 IP, 16 Applications, 15 XPress-DR+W, 28 ARP and Telnet, 106 AutoIP, 105 Binary to hexadecimals, 107 BOOTP, 106 Cables, 104 Cascading, 16, 23 Channel settings Setup Mode, 69 Web-Manager, 51 Compliance and testing, 109 Configuration methods, 17 Connection settings Setup Mode, 71, 78 Web-Manager, 54 Connectors Ethernet, 19, 23 Screw terminal, 21 Serial, 20, 30 Contacts, 2 Current settings, 42 Default settings Setup Mode, 62, 90 Web-Manager, 62 DeviceInstaller, 41 DHCP