UDS-10 User Guide Part Number 900-207 Revision E 08/03
Copyright and Trademark ©2003 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.
Contacts 15353 Barranca Parkway Irvine, CA 92618, USA Phone: 949-453-3990 Fax: 949-453-3995 Technical Support Phone: 800-422-7044 or 949-453-7198 Fax: 949-450-7226 Online: www.lantronix.com/support Email support@lantronix.com Sales Offices For a current list of our domestic and international sales offices, go to the Lantronix web site at http://www.lantronix.com/about/contact/index.
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 own expense, will be required to take whatever measures may be required to correct the interference. Attention: This product has been designed to comply with the limits for a Class A digital device pursuant to Part 15 of FCC Rules. These limits are designed to provide reasonable protection against such interference when operating in a commercial environment.
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: UDS-10 Universal Device Server Conforms to the following standards or other normative documents: Safety: EN60950:1992+A1, A2, A3, A4,A11 Electromagnetic Emissions: FCC Part 15, Subpart B, Class A EN55022: 1998 (CISPR 22, Class A: 1993, A1: 1995, A2: 1996) IEC 1000-3-2/A14: 2000 IEC 1000-3-3: 199
Warranty Lantronix warrants each Lantronix product to be free from defects in material and workmanship for a period of ONE YEAR 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 a RMA number, the customer shall return the product to Lantronix, freight prepaid.
Contents Contents 1. Introduction...................................................................................................................... 1-1 1.1 UDS-10 ............................................................................................................... 1-1 1.2 UDS-10B ............................................................................................................ 1-3 1.3 UDS-10-IAP Device Server...........................................................................
Contents 2.4.4 Add the Unit to the Manage List .........................................................2-8 2.4.5 Opening a Configuration Window ....................................................2-10 2.5 ARP and Telnet .................................................................................................2-11 2.6 Serial Port Login ...............................................................................................2-12 3. Configuring the Unit ..........................................
Contents 3.8.2 SNMP Community Name ................................................................. 3-24 3.8.3 Disable Telnet Setup ......................................................................... 3-25 3.8.4 Disable TFTP Firmware Upgrade..................................................... 3-25 3.8.5 Disable Port 77FE (Hex)................................................................... 3-25 3.8.6 Disable Web Server ..........................................................................
Contents 8.3.2 Interface Mode ....................................................................................8-9 8.3.3 Baud Rate ..........................................................................................8-10 8.3.4 Flow Control .....................................................................................8-10 8.3.5 Connect Mode ...................................................................................8-11 8.3.6 Disconnect Mode.............................................
Contents List of Figures Figure 1 – UDS-10-IAP ......................................................................................................... 1-4 Figure 2 - RJ-45 Connector.................................................................................................... 1-8 Figure 3 – UDS-10 Connected to Serial Device and Network .............................................. 2-2 Figure 4 – CD Main Window .........................................................................................
Contents List of Tables Table 1 - Ethernet Interface Signals .......................................................................................1-8 Table 2 - UDS-10 LED Functions.......................................................................................1-10 Table 3 - Technical Specs.....................................................................................................1-13 Table 4 - Standard IP Network Netmasks ...................................................................
Contents Table 39 - Flush Mode Options ............................................................................................. 9-7 Table 40 - Interface Mode Options ...................................................................................... 9-13 Table 41 - Pack Control Options .........................................................................................
Introduction 1. Introduction This manual describes the family of Universal Device Servers (UDS), including the UDS-10 Device Server and the UDS-10-IAP Device Server with Industrial Automation Protocols. The UDS-10B Embedded Device Server is shown here for reference only. It is part of the UDS-10 family but is described in the Embedded Integration Kit (EIK) User Manual. For all practical purposes, it is the same as the UDS-10 but has no external metal case.
Introduction The UDS-10 connects these devices through a TCP data channel or through a Telnet connection to computers or another Device Server. Datagrams can be sent by UDP. The UDS-10 supports RS-232, RS-422/485 via its DB-25F serial port. It supports 10Mb/s Ethernet through the RJ-45 connector. It can be configured via HTTP, SNMP, DHCP or Telnet. It contains a Flash ROM for easy software upgrades.
Introduction 1.2 UDS-10B Note: This section is for the UDS-10B only. The UDS-10B is the embedded version of the UDS-10, and is designed to be easily and quickly integrated into products. The UDS-10B operates the same as the UDS-10, except the UDS-10B has no external metal case. Serial interface is accomplished via a female DB25 (DCE) connector which provides the necessary signals for both RS232 and RS422/RS485 interfaces. In addition, an RJ45 (10BASE-T) connector is available for Ethernet access.
Introduction 1.3 UDS-10-IAP Device Server Note: This section is for the UDS-10-IAP only. The Lantronix Industrial Automation Platform (IAP) family of Device Servers allows a single network and protocol to connect multiple serial devices from many vendors. IAP provides the automation industry with a network-enabling solution using TCP/IP and standard Ethernet networks that is vendor-independent.
Introduction A few examples of attached devices are: • PLCs • AC/DC drives • CNC systems • Operator panels and message displays • Process Controls • Instrumentation • Power monitoring equipment • Scales and weighing systems • Barcode scanners • Label printers • Most factory floor serial devices 1.3.1 Industrial Automation Protocols IAP Device Servers, adapted to multiple factory environments, can unite any mixture of equipment from industrial automation vendors into a single reliable pipeline.
Introduction 1.4 Network Protocols Note: UDS-10 refers to UDS-10, UDS-10-IAP and UDS-10B except where noted. The UDS-10 uses TCP/IP protocols for network communication. The supported standards are: ARP, UDP, TCP, ICMP, Telnet, TFTP, DHCP, AutoIP, and SNMP. For transparent connections, TCP/IP (binary stream) or Telnet protocols are used. Firmware upgrades can be made with the TFTP protocol. The IP (Internet Protocol) protocol defines addressing, routing, and data-block handling over the network.
Introduction 1.5 Serial Interface UDS-10 has a female DCE DB-25 serial port that supports RS232 and RS485/422 serial standards (firmware selectable) up to 115.2 Kbps. LEDs 1 TX (input) RX (output) RTS (input) CTS (output) DSR (output) GND DCD (output) Reg. +5VDC (Note 1) 14 TX+ (out) (Note 2) TX- (out) RS-232/485 DB-25F DTR (input) RX+ (in) RX- (in) (Note 2) Reg.
Introduction 1.7 Ethernet Cable The next drawing shows a typical RJ-45 connector. The color is not standard but very typical of an Ethernet Patch cable. Pin 1 is located at the top of the connector (Orange + White). The view is from the end of the connector.
Introduction 1.8 Serial Interface Connection The UDS-10 can be connected to a serial or Ethernet device for setup and configuration. The serial device can be RS-232 or RS-485/422. The following diagram shows a typical interface cable for the RS-232 Serial interface. The UDS-M-SBC is an optional male DB-25 to RS-485 screw block connector.
Introduction 1.9 LEDs The device contains the following LEDs: link net Tx/Rx collision diagnostic status Table 2 - UDS-10 LED Functions LED Meaning L (Green) Lights solid green to indicate network port is connected to the network. Blinks yellow to indicate network packets are transmitting and receiving. Lights solid red to indicate network collisions. Blinks or glows red in combination with the green Status LED to indicate error detection.
Introduction 1.10 Dimensions The UDS-10 dimensions are shown in the following drawing. Note: For UDS-10 and UDS-10-IAP. 6.4cm (2.5 in) 9 cm (3.5 in) 2.3 cm (0.9 in) 1.11 Product Information Label The product information label contains important information about your specific unit. S/N:2447938 UDS-10B 00-20-4A-24-BB-42 Rev. D12 Made in USA Serial Number Part Number MAC ID Revision 1.
Introduction 1.13 Power Requirements The UDS-10 is shipped with a 12VDC, 1A power supply, but any DC power supply between 9VDC and 30VDC can be used. You can order the UDS-10 with a 110VAC (UDS-10-01) or 230VAC (UDS-10-02) power supply. Note: The input voltage for all UDS-10 products has been changed from 6-9VDC to 930VDC. The new power supply shipped with the product supplies voltage within the new 930VDC range. Please note that this new power supply should only be used with the 9-30VDC UDS-10 products.
Introduction 1.15 Technical Specifications Table 3 - Technical Specs Category CPU, Memory Description AMD 188ES CPU, 25MHz clock, 128kByte RAM Flash, EPROM Installable Serial Protocols 512kByte Flash PROM Standard Tunnel (UDS-10, and UDS-10-IAP), Modbus (UDS-10IAP), DF1 (UDS-10-IAP) Serial Interface Female DB-25 connector (DCE pinout) Baud Rate selectable from 300 to 115kBaud Software selectable RS-232C or RS-422/485 Front panel recessed push button External adapter for 9-30 VDC, 3 Watts Max 2.
Getting Started 2. Getting Started This section describes all the procedures for configuring your unit. For a short version, see the Quick Start Guide. Go to the Lantronix web site for the latest firmware and release notes. UDS-10 comes with Standard Tunnel Protocol and the UDS-10-IAP comes with the IAP Standard Tunnel Protocol. Both versions are similar but cannot be interchanged. Standard Tunneling is a serial communications protocol used by most Lantronix Device Servers.
Getting Started 2.1.3 Port Number Every TCP connection and every UDP datagram is defined by a destination IP address and a port number. For example, a Telnet application commonly uses port number 23. A port number is similar to an extension on a PBX system. The unit 's serial channel (port) can be associated with a specific TCP/UDP port number. Port number 9999 is reserved for access to the unit's Setup (configuration) Mode window. 2.
Getting Started 2.3 Methods of Assigning the IP Address The unit's IP address must be configured before a network connection is available. You have the following options for assigning an IP to your unit: Method Description DHCP A DHCP server automatically assigns the IP address and network settings. See DHCP on page 2-4. You manually assign the IP address using a graphical user interface (GUI) on a PC attached to a network. See DeviceInstaller on page 2-5.
Getting Started 2.3.1 DHCP The unit ships with a default IP address of 0.0.0.0, which automatically enables DHCP. Provided a DHCP server exists on the network, it will assign the unit an IP address, gateway address, and subnet mask when the unit boots up. The DR1 has acquired an IP address if the red LED stops flashing and the green Status LED is on continuously.
Getting Started AutoIP can be disabled by setting the unit’s IP address to 0.0.1.0. This setting enables DHCP but disables AutoIP. 2.4 DeviceInstaller You can manually assign the IP address using DeviceInstaller software, which is found on the product CD. If you want to use a serial connection instead of an Ethernet connection to configure the device, go to Serial Port Login on page 2-12. 2.4.1 Install DeviceInstaller Software 1. Insert the product CD into your CD-ROM drive.
Getting Started 2.4.2 Assign IP Address and Network Class Click the Start button on the Task Bar and select Programs \Device Installer \Device Installer. The Device Installer window displays. Figure 5 - DeviceInstaller Window 1. Click the IP icon . The Assign IP Address window displays. Figure 6 - Assign IP Address Window 2. In the Enter the Hardware or Ethernet Address field, enter the Ethernet address (MAC address), which is listed on the label on the side of the unit.
Getting Started 3. In the Enter IP Address to assign field, enter the unit’s IP address in XXX.XXX.XXX.XXX format. 4. In the PC Network Class section, select the class (subnet mask). (Most users select Class C). 5. Click the Set IP Address button. (IP is assigned, pinged, and tested) 6. Confirm that the “Assign IP successful” message displays and click OK. 7. Click the Back button to return to the DeviceInstaller window. 2.4.3 Test the IP Address 1. Click the Ping icon . The Ping Device window displays.
Getting Started 2.4.4 Add the Unit to the Manage List Now add the unit to the list of similar Lantronix devices on the network so that you can manage and configure it. 1. Click the Search the network for devices displays. icon. The Search Network window Figure 8 - Search Network Window 2. 3. 4. 5. 2-8 Select the PC Network Class. Class C is the default. Click the Start Search button. A list of all active units displays. Click the Save button. A confirmation message displays. Click OK.
Getting Started 6. Click the Back button to return to the DeviceInstaller window. The DeviceInstaller window now lists all of the devices in the group, including the unit you are setting up. The hardware address and firmware release number for the unit display. Figure 9 - Devices in a Group Now you can manage (configure) the unit so that it works with the serial device on the network.
Getting Started 2.4.5 Opening a Configuration Window 1. Click the Manage icon . The Device Management window displays. Figure 10 - Device Management Window 2. Do one of the following: Note: To assign Expert settings and Security settings, you must use the Setup Mode window in a Telnet session. • To configure the unit via a Web browser, click the Web Configuration icon The Lantronix Web-Manager window displays in your browser. For Web Configuration, see Web Manager Page on page 3-4. .
Getting Started 2.5 ARP and Telnet The unit’s IP address must be configured before a network connection is available. You are able to ARP an address into a CoBox/UDS device even if there is already an address in the unit. If the unit has no IP address, you can use Address Resolution Protocol (ARP) method from UNIX and Windows-based systems to assign a temporary IP address. If you want to initially configure the unit through the network, follow these steps: 1.
Getting Started 2.6 Serial Port Login If you want to initially configure the unit through a serial connection, follow these steps: 1. Connect a console terminal or PC running a terminal emulation program to your unit's serial port. The default serial port settings are 9600 baud, 8 bits, no parity, 1 stop bit, no flow control. 2. To enter Setup Mode, cycle the unit's power (power off and back on). After power-up, the self-test begins and the red Diagnostic LED starts blinking.
Configure 3. Configuring the Unit 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. You can configure your unit locally or remotely using the following procedures: • Use a standard Web browser to access the unit’s internal Web pages and configure the unit over the network.
Configure 3.2 Using DeviceInstaller DeviceInstaller is a powerful software utility for configuring device servers from a network connection. This section uses the utility to demonstrate the various methods of configuring a device. The Device Management window is a common page for gaining access to different menus. 1. Start DeviceInstaller. Click the Search for network for devices icon . The Search Network window displays. 2. Click the Start Search button. A list of all active units displays. 3.
Configure 6. For Telnet configuration, click the Telnet to Device icon. A small Telnet to Device window appears, showing the IP Address and the Port address. The main Lantronix Universal Device Server window opens. Go to Using a Telnet Connection on page 3-10 for a summary of the menu selections. 7. To Get device configuration information see Get Configuration on page 3-26. Configuration information can be read from a device and saved in a file. 8.
Configure 3.3 Web Manager Page Note: The UDS-10-IAP may not have a web page or may use a different format web page. You can start a web browser for configuration by opening your JAVA enabled web browser and entering the IP address or by clicking the Web Configuration button on the Device Management window. The Lantronix Web Manager page will display. Figure 11 - Lantronix Web-Manager Web Manager 3.
Configure 3.3.1 Unit Configuration Click the Unit Configuration button to display the following dialog box. This page contains the Server Configuration and the Port Configuration settings. These are static settings read from the device. Note: The following screen shots represent the web page shown when the device is loaded with cbxw300.cob firmware.
Configure 3.3.2 Server Properties You can change the server properties by editing any of the fields. Lingering over one of the fields will display operator messages. Changing the IP address will require you to enter the new IP address in the browser to reload the page. Figure 12 - Server Properties Configuration on the Web Browser Telnet Password In the Telnet Password field, enter a password to prevent unauthorized access to the Setup Mode via a Telnet connection to port 9999.
Configure 3.3.
Configure On Active Connection: Enable, Disable On Passive Connection: Enable, Disable At Time of Disconnect: Enable, Disable Packing Algorithm: Enable, Disable Idle Time: Force transmit 12 ms, Force transmit 52 ms, Force Transmit 250 ms, Force Transmit 5000 ms Trailing Characters: None, One, Two Send Immediate After Sendchars: Enable, Disable Send Define2-Byte Sequence: Enable, Disable Send Character 01: (User Selectable) Send Character 02: (User Selectable) 3-8 UDS-10 User Guide
Configure Disconnect Mode: with DTR Drop, Ignore DTR Check for CTRL-D to Disconnect: Enable, Disable Port Password: Enable, Disable Telnet Mode: Enable, Disable Inactivity Timeout: Enable, Disable Inactivity Timer: (User Selectable) Port Password: (User Selectable. Port Password must be enabled) 3.3.4 Technical Support Several buttons provide direct links to Technical Support functions.
Configure 3.4 Configuring via the Setup Mode Window 3.4.1 Using a Telnet Connection To configure the unit over the network, establish a Telnet connection to port 9999. Note: If you use the Telnet to Device icon on the Device Installer Device Management window OR a serial port login to establish the connection, skip steps 1and 2. 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. telnet x.
Configure *** basic parameters Hardware: Ethernet Autodetect IP addr – 0.0.0.
Configure 3.4.2 Using the Serial Port If you want to initially configure the unit through a serial connection, follow these steps: 8. Connect a console terminal or PC running a terminal emulation program to your unit's serial port. The default serial port settings are 9600 baud, 8 bits, no parity, 1 stop bit, no flow control. 9. To enter Setup Mode, cycle the unit's power (power off and back on). After power-up, the self-test begins and the red Diagnostic LED starts blinking.
Configure 3.5.3 Netmask: Number of Bits for Host Part A netmask defines the number of bits taken from the IP address that are assigned for the host section. 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 is displayed in standard decimal-dot notation when the saved parameters are displayed (for example, 255.255.255.0).
Configure 3.5.4 Change Telnet configuration password Setting the Telnet configuration password prevents unauthorized access of the setup menu via a Telnet connection to port 9999 or via Web pages. The password is limited to 4 characters. An enhanced password setting of 16 characters is available under Security Settings for Telnet access only. Note: No password is required to access the Setup Mode window via a serial connection. 3.5.
Configure 3.6 Channel 1 Configuration (Serial Port Parameters) Using this option, define how the serial port will respond to network and serial communications. Baudrate (9600) I/F Mode (4C) Flow (00) Port No (10001) ConnectMode (C0) Remote IP Address : (000).(000).(000).(000) Remote Port (00000) DisConnMode (00) FlushMode (00) DisConnTime (00:00) : SendChar 1 (00) SendChar 2 (00) 3.6.
Configure Table 7 - Common Interface Mode Settings Common I/F Mode Setting (1) RS-232C, 8-bit, No Parity, 1 stop bit RS-232C, 7-bit, Even Parity, 1 stop bit (1) RS-485 2-Wire, 8-bit, No Parity, 1 stop bit (1) RS-422, 8-bit, Odd Parity, 1 stop bit (1) Binary Hex 0100 1100 0111 1000 0100 1111 0101 1101 4C 78 4F 5D (1) The UDS-10 requires you to choose the correct setting in the IF mode. 3.6.3 Flow Flow control sets the local handshake method for stopping serial input/output.
Configure 3.6.5 Connect Mode Connect Mode defines how the unit makes a connection, and how it reacts to incoming connections over the network. Enter Connect Mode options in hexadecimal notation. Note: See Table 35 - Binary to Hexadecimal Conversion Table.
Configure Table 10 - Manual Connection Address Example Command String Result if remote IP is 129.1.2.3 and remote port is 1234 C121.2.4.5/1 C5 C28.10/12 Complete override; connection is started with host 121.2.4.5, port 1 Connect to 129.1.2.5, port 1234 Connect to 129.1.28.10, port 12 Autostart (Automatic Connection): If autostart is enabled, the unit automatically connects to the remote IP address and remote port specified.
Configure Table 11 - Modem Mode Commands Modem Mode Command Function ATDTx.x.x.x,pppp or ATDTx.x.x.x/pppp Makes a connection to an IP address (x.x.x.x) and a remote port number (pppp). Makes a connection to an IP address (x.x.x.x) and the remote port number defined within the unit. Forces the unit into monitor mode if a remote IP address and port number are defined within the unit. Forces the unit into monitor mode if a remote IP address and port number are not defined within the unit.
Configure 3.6.6 Remote IP Address This is the destination IP address used with an outgoing connection. 3.6.7 Remote Port The remote TCP port number must be set for the unit to make outgoing connections. This parameter defines the port number on the target host to which a connection is attempted. Note: To connect an ASCII terminal to a host using the unit for login purposes, use the remote port number 23 (Internet standard port number for Telnet services). 3.6.
Configure 3.6.9 Flush Mode (Buffer Flushing) Using this parameter, you can control line handling and network buffers with connection startup and disconnect. You can also select between two different packing algorithms. Note: See Table 35 - Binary to Hexadecimal Conversion Table.
Configure 3.6.10 Pack Control 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. The alternate packing algorithm minimizes the packet count on the network and is especially useful in applications in a routed Wide Area Network (WAN).
Configure Send Characters: If 2-Byte Send Character Sequence is enabled, the unit interprets the sendchars as a 2-byte sequence; if not set, they are interpreted 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. If set, the unit sends immediately after recognizing the transmit condition (sendchar or timeout).
Configure 3.7 Expert Settings Note: You can change these settings via Telnet or serial connections only, not on the WebManager. Note: The Expert Settings option does not appear with UDS-10-IAP. These parameters should only be changed if you are an expert and definitely know the consequences the changes might have. TCP Keepalive time in s (1s – 65s; 0s=disable): (0) 3.7.
Configure 3.8.3 Disable Telnet Setup This setting defaults to the N (No) option. The Y (Yes) option disables access to this Configuration Menu by Telnet (port 9999). It only allows access via the Web pages and the serial port of the unit. 3.8.4 Disable TFTP Firmware Upgrade This setting defaults to the N (No) option. The Y (Yes) option disables the use of TFTP to perform network firmware upgrades. With this option, firmware upgrades can be performed only by using a *.
Configure 3.10 Exit Configuration Mode Select 8 to exit the configuration mode without saving any changes or rebooting. Select 9 to save all changes and reboot the device. All values are stored in nonvolatile memory. 3.11 Get Configuration The device configuration information is stored in flash memory and can be read and saved in a configuration file (filename.cfg). To get the configuration information, click the Get Configuration icon button on the Device Management window. The following dialog appears.
Configure 3.12 Set Configuration Device configuration information can be saved in a file and later used to set the configuration of one or several devices. To set the configuration of a device from a saved file, click the Set Configuration button on the Device Management window. The following dialog appears. The Device IP Address is shown in the first field. This is the device selected in the DeviceInstaller main window.
Firmware 4. Updating Protocol (Firmware) 4.1 Protocol Firmware You can update the unit's internal operational code to a newer revision, or change the code to operate with a specific vendor. The UDS-10-IAP was designed to allow loading of vendor specific protocol firmware. This firmware takes the place of the IAP Standard Tunnel Protocol. Vendor specific protocols and the software tools needed to load them can be found on the software CD.
Firmware 4.2.1 Via DeviceInstaller After downloading the firmware to your computer, or locating the file on your software CD, you can use DeviceInstaller to install it. 1. Download the updated firmware files from www.lantronix.com or ftp.lantronix.com and store them in a subfolder on your computer. 2. Click the Start button on the Task Bar and select Programs\DeviceInstaller\Device Installer. The Device Installer window displays.
Firmware 3. Click the Search the network for devices icon displays. . The Search Network window Figure 15 - Search Network Window 4. 5. 6. 7. Click the Start Search button. A list of all active units on the local network displays. Click the Save button. A confirmation message displays. Click OK. Click the Back button to return to the Device Installer window. The Device Installer window now lists all of the devices in the group, including the unit you are updating.
Firmware 8. Select the desired unit and click the Upgrade Firmware file (.ROM) icon Upgrade Firmware window displays. . The Figure 17 - Upgrade Firmware 9. In the Existing Firmware list box, select the firmware type that is currently in the unit. This selection must match the Firmware file type currently installed or an error message will be displayed. 10. In the Source FW File field, locate the firmware file from the software CD or the file you downloaded from the Lantronix web site. 11.
Firmware 4. In the Destination File field, enter the current internal operational code or WEB5 for the internal Web interface. (For UDS-10-IAP, AQ = Standard Tunnel, AM = Modbus, AD = DF1. For UDS-10, 3Q = Standard Tunnel) 5. In the Remote Host field, enter the IP address of the unit being upgraded. 6. Click the Put button to transfer the file to the unit. Figure 18 - TFTP Dialog Box The unit performs a power reset after the firmware has been loaded and stored. 4.2.
Firmware 4.2.4 Via the Serial Port The following procedure is for using the HyperTerminal software application. In some cases, the HEX format file is available on the software CD and on the Web site. Before you can load firmware through the serial port you need to convert the ROM code to HEX format. There is a DOS application, R2H.EXE that can be used to convert the ROM file to HEX format. The R2H.EXE application is available at ftp://ftp.lantronix.com/pub. Put R2H.EXE and the *.
Firmware 5. DeviceComm Manager Lantronix DeviceComm Manager is a Windows based COM port redirector software utility. Its function is to redirect customer application data destined for a local serial (COM) port to the PC’s network port. Rather than going out the local serial port, the data is transmitted across the Ethernet network port using the TCP/IP protocol. A Device Server attached to the network receives the data and presents it on its serial port.
Firmware 5.1 Installing DeviceComm Manager The DeviceComm Manager software is included on the product CD or it can be downloaded from the Lantronix web site. 5.1.1 Install DeviceComm Manager 1. Insert the product CD into your CD-ROM drive. The CD will automatically start and display the main window. If the CD does not launch automatically: a) Click the Start button on the Task Bar and select Run. b) Enter your CD drive letter, colon, backslash, devicecomm.exe (e.g., D:\devicecomm.exe).
Firmware Status DISABLED N/A IDLE CONNECTED Meaning Unused port on your system Port being used by other hardware / software on your system An IP address and port number have been associated with the COM port An active TCP/IP connection exists between the COM port and the device server 3. Select one of the DISABLED ports by clicking on it, and then press the Edit button. 4. Select the Enabled check box. 5. Type in the IP address of the target device server in the “Host:” section. 6.
Firmware a. On UDS and CoBox products, you cannot use ports 14000 through 14009. b. On MSS, ETS, LRS, and SCS products DO use the 3001, 3002, 3003, etc. ports. Note: You will be required to reboot your system when enabling COM ports. You may want to set them all up at one time and then reboot. 7. Click the Settings button for advanced configuration. Some serial applications do not work well when redirected because they are not expecting the latency (delay) that an Ethernet network may cause.
Troubleshooting 6. Troubleshooting 6.1 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 be displayed. 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.
Troubleshooting When you report a problem, please provide the following information: • Your name, and your company name, address, and phone number • Lantronix model number • Lantronix serial number • Software version (on the first screen shown when you Telnet to port 9999) • Description of the problem • Debug report (stack dump), if applicable • Status of the unit when the problem occurred (please try to include information on user and network activity at the time of the problem) When troubleshooting the f
Troubleshooting Table 16 - Problems and Error Messages Problem/Message Reason Solution When you issue the ARP –S command in Windows, “The ARP entry addition failed: 5" message displays. When you attempted to assign an IP address to the UDS/CoBox via the ARP method, the “Press Enter to go into Setup Mode” error (described below) displayed. Now when you Telnet to the UDS/CoBox, the connection fails. When you Telnet to port 9999, the message “Press Enter to go into Setup Mode” displays.
Troubleshooting Problem/Message Reason Solution No LEDs are lit. The unit or its power supply is damaged. Various Change power supplies. The UDS/CoBox will not power up properly, and the LEDs are flashing. The UDS/CoBox is not communicating with the serial device it is attached to. The most likely reason is the wrong serial settings were chosen. When you try to enter the setup mode on the UDS/CoBox via the serial port, you get no response.
Troubleshooting Problem/Message Reason Solution The UDS/CoBox appears to be set up correctly, but you are not communicating with your device attached to the UDS/CoBox across the network. If you are sure that the serial port setting is correct, then you may not be connecting to the correct socket of the UDS/CoBox. You can check to see whether there is a socket connection to or from the UDS/CoBox by looking at the Status LED.
Monitor Mode 7. Monitor Mode 7.1 Monitor Mode Monitor Mode is a command-line interface used for diagnostic purposes (see Table 17 Monitor Mode Commands). There are two ways to enter Monitor Mode: locally via the serial port or remotely via the network. 7.1.1 Entering Monitor Mode Via the Serial Port To enter Monitor Mode locally: 1. Follow the same principles used in setting the serial configuration parameters (see Configuring via the Setup Mode Window on page 3-10. 2.
Monitor Mode Table 17 - Monitor Mode Commands Command Command Name Function DL Download SF x.x.x.x Send Firmware VS x.x.x.x Version GC x.x.x.x Get Configuration SC x.x.x.x Send Configuration PI x.x.x.x Ping AT TT ARP Table TCP Connection Table Network Connection Reset Send/Set IP Address Download firmware to the Device Server via the serial port in hex format Send firmware to Device Server with IP address x.x.x.x Query software header record (16 bytes) of Device Server with IP address x.x.
UDP 8. Network Configuration using UDP 8.1 UDP Datagrams The Device Server can also be configured or queried over the network using UDP datagrams. The Device Server has a UDP listener set for port 30718 (77FE Hex). Responses from the Device Server are returned to the source port of the UDP packet. The first three bytes of the UDP data block should be set to zero.
UDP Byte Command Parameters Notes IP-SETUP (Hex 49 50 2D 53 45 54 55 50). provides one method to set the IP address of the Device Server if is on the local network and the serial number is known. Remember, broadcasts are only ‘heard’ on the subnet on which they are generated. No reply is sent by the Device Server, which restarts using the new IP address after the block is received. Next 2 bytes have to be set to 00. Next 2 bytes must contain the serial number.
UDP 8.2 Configuring Multiple Devices When configuring a number of Device Servers identically, it is useful to create a template setup record. The setup record can then be sent to the “target” Device Servers from a “master” Device Server via “cut and paste” or UDP (see Network Configuration using UDP on page 8-1). Device Servers use a 120-byte setup record in Intel Hex format. This format facilitates the transfer of binary data using ASCII characters.
UDP To request the setup record of a properly configured Device Server via another Device Server on the network: 5. Make sure that both units are plugged onto the network properly. 6. Enter Monitor Mode (with network support enabled) on the unit that is not properly configured. (see Monitor Mode on page 7-1) 7. Issue the command GC x.x.x.x followed by a carriage return, where x.x.x.x is the IP address of the properly configured device.
UDP To send a setup record via Monitor Mode: 1. Configure a “master” Device Server with the desired parameters and place it on the network. 2. Place another Device Server (the “target”) on the network. 3. Enter Monitor Mode (with network support enabled) on the master Device Server (see Monitor Mode on page 7-1) 4. At the prompt, enter SC, the IP address of the target, and a carriage return. 5. Send the setup record to the target Device Server.
UDP To get and set the node configuration, 120 bytes should be exchanged at once in 32-Byte records. The IP address in the record (bytes 0 to 3) will be ignored (unless the UDP FD command is being used). 8.2.4 Calculating the Checksum As mentioned in Table 20 - Block Types above, the last two characters of an Intel Hex setup record represent a checksum of the data in the line. Since the checksum is a two-digit hexadecimal value, it can represent a value from 0 to 255.
UDP 8.3 Setup Records A setup record consists of 120 bytes. They are transmitted at once from and to the node. Unused bytes should be initialized as 00. Table 21 - Setup Record Construction defines the structure of a setup record: Table 21 - Setup Record Construction Byte(s) Function 00-03 04 05 06 07 08-11 12-15 16-63 64-111 112-119 IP address of the unit (x.x.x.
UDP 8.3.
UDP 8.3.2 Interface Mode The Interface (I/F) Mode is a bit-coded byte entered in hexadecimal notation. Use the following table to select Interface Mode settings: Table 23 - Interface Mode Options I/F Mode Option RS-232C (1) RS-422/485 (1) RS-485 2-wire (1) 7 Bit 8 Bit No Parity Even Parity Odd Parity 1 Stop bit 2 Stop bits 7 6 5 4 3 1 1 0 1 0 0 1 2 1 0 0 0 1 0 1 1 0 1 0 1 1 1 1 (1) The UDS-10 requires you to choose the correct setting in the IF mode.
UDP 8.3.3 Baud Rate The Device Server and attached serial device must agree on a speed or baud rate to use for the serial connection. Use the following table to select Baud Rate settings: Table 25 - Baud Rate Settings Speed (bps) Hex 38400 19200 9600 4800 2400 1200 600 300 115200 57600 00 01 02 03 04 05 06 07 08 09 8.3.4 Flow Control Flow control sets the local handshaking method for stopping serial input/output.
UDP 8.3.5 Connect Mode Connect Mode defines how the Device Server makes a connection, and how it reacts to incoming connections over the network.
UDP 8.3.6 Disconnect Mode In Disconnect Mode, DTR drop either drops the connection or is ignored. Use the following table to select Disconnect Mode Options: Table 28 - Disconnect Mode Options Disconnect Mode Option (6) Disconnect with DTR drop Ignore DTR Telnet mode and terminal type setup (1) Channel (port) password (2) 7 6 5 4 3 2 1 1 0 1 1 (3) Hard disconnect Disable hard disconnect State LED off with connection 0 1 1 (4) Disconnect with EOT (^D) (5) 0 1 1.
UDP 8.3.7 Flush Mode (Buffer Flushing) Using this parameter, you can control line handling and network buffers with connection startup and disconnect. You can also select between two different packing algorithms.
UDP 8.4 IP Addresses Each TCP/IP node on a network host has a unique IP address. This address provides the information needed to forward packets on the local network and across multiple networks if necessary. IP addresses are specified as x.x.x.x, where each x is a number from 1 to 254; for example, 192.0.1.99. The Device Server must be assigned a unique IP address to use TCP/IP network functionality. IP addresses contain three pieces of information: the network, the subnet, and the host. 8.4.
UDP A router is required between all networks and all sub-networks. Generally, hosts can send packets directly only to hosts on their own sub-network. All packets destined for other subnets are sent to a router on the local network. 8.4.3 Host Portion The host portion of the IP address is a unique number assigned to identify the host. 8.4.4 Network Address A host address with all host bits set to 0 addresses the network as a whole (for example, in routing entries). 192.168.0.0 8.4.
UDP Table 34 - Netmask Examples Netmask Host Bits 255.255.255.252 255.255.255.248 255.255.255.240 255.255.255.224 255.255.255.192 255.255.255.128 255.255.255.0 255.255.254.0 255.255.252.0 255.255.248.0 ... 255.128.0.0 255.0.0.0 2 3 4 5 6 7 8 9 10 11 ... 23 24 8.4.6 Private IP Networks and the Internet If your network is not and will not be connected to the Internet, you may use any IP address.
Binary to Hex 9. Binary to Hex Conversion Many of the Device Server’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. Hexadecimal digits have values ranging from 0 to F, which are represented as 0-9, A (for 10), B (for 11), etc.
Binary to Hex 9.
Binary to Hex Accept Incoming Connections Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Serial Response Upon Connection Character Character Character Character Character Character Any character Active DTR CR (0x0D) Manual connection Autostart UDP Never Never Never Never Never Never Never Never Never Never Never Never Never Never None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) None (quiet) Character Character Character Charac
Binary to Hex Accept Incoming Connections Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Unconditionally Serial Response Upon Connection Character Character Character Character Character Character Active Connection Startup Hostlist Hex Any character Active DTR CR (0x0D) Manual connection Autostart UDP Hostlist Hostlist Hostlist Hostlist Hostlist Hostlist F1 F2 F3 N/A F5 N/A The following connect mode options are for when you use modem emulation: Table 37 - Connect Mo
Binary to Hex 9.
Binary to Hex Disconnect with DTR Drop (Note) Telnet Mode and Terminal Type Setup Channel (port) Password Enable Enable Enable Enable Disconnect with EOT (^D) Enable Enable Enable Enable Enable Enable Enable Enable 58 Disable Enable 68 Disable Enable 78 Enable Enable Enable Enable Enable Enable Enable Enable Enable D8 F8 Enable Disable Disable Enable Enable Disable Enable Enable 29 Disable Enable Enable 39 Disable Enable Disable Enable Disable Enable Enable 6
Binary to Hex 9.
Binary to Hex Serial to Network Network to Serial Hex Clear output buffer upon: Alternate Packing Algorithm Clear input buffer upon: Active connection Passive connection Active connection Passive connection Disconnect Active connection Disconnect Passive connection Disconnect Active connection Passive connection Disconnect Active connection Active connection Active connection Enable Enable Enable 91 A1 B1 Active connection Active connection Enable Enable C1 D1 Active connection Enable E1 Acti
Binary to Hex Serial to Network Network to Serial Clear input buffer upon: Clear output buffer upon: Disconnect Active connection Passive connection Active connection Passive connection Active connection Passive connection Active connection Passive connection Active connection Disconnect Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Active connection Passive connection Disconnect Active connection Disconnect Passive connection Disco
Binary to Hex Serial to Network Network to Serial Clear input buffer upon: Active connection Disconnect Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Active connection Passive connection Disconnect Active connection Disconnect Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Active connection Passive connection Disconnect Active connection Disconnect Passive connection D
Binary to Hex Serial to Network Network to Serial Clear input buffer upon: Clear output buffer upon: Active connection Passive connection Disconnect Passive connection Disconnect Passive connection Disconnect Passive connection Disconnect Passive connection Disconnect Passive connection Disconnect Active connection Disconnect Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Active connection Passive connection Disconnect Active connect
Binary to Hex Serial to Network Network to Serial Clear input buffer upon: Clear output buffer upon: Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Disconnect Active connection Passive connection Dis
Binary to Hex 9.
Binary to Hex 9.
Binary to Hex Sendcharacter Defined by a: Trailing Characters Idle Time Force Transmit: Send Immediately after Sendcharacter Hex 2-Byte Sequence 2-Byte Sequence 2-Byte Sequence 2-Byte Sequence 2-Byte Sequence 2-Byte Sequence 2-Byte Sequence 2-Byte Sequence 2-Byte Sequence 2-Byte Sequence No No 1 1 1 1 2 2 2 2 250ms 5sec 12ms 52ms 250ms 5sec 12ms 52ms 250ms 5sec Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes 32 33 34 35 36 37 38 39 3A 3B UDS-10 User Guide 9-15
Binary to Hex 10. IP Addresses An IP address is a 32-bit value, divided into four octets of eight bits each. The standard representation is four decimal numbers (in the range of 0..255) divided by dots. 192.2.1.123 This is called decimal-dot notation. The IP address is divided in two parts: network and host. To support different needs, three network classes have been defined. Depending on the network class, the last one, two or three bytes define the host, while the remaining part defines the network.
Binary to Hex 10.4 Network Address The host address with all host bits set to 0 is used to address the network as a whole (in routing entries, for example). 10.5 Broadcast Address The address with the host part bits set to 1 is the broadcast address, meaning for every station. Network and broadcast addresses must not be used as a host address (for example, 192.168.0.0 identifies the entire network and 192.168.0.255 identifies the broadcast address). 10.
Binary to Hex 10.7 Private IP Networks and the Internet If your network is not connected to the Internet, and there are no plans to make such a connection, you may use any IP address you wish. If your network is not connected to the Internet and you have plans to connect, or you are connected to the Internet and want to operate your UDS-10s on an intranet, use one of the subnetworks below. These network numbers have been reserved for such networks.
Glossary of Terms 11. Glossary Address space: A linear array of locations that a thread can access. Simple processors have only one, and these processors are referred to as `linear' addressing. AutoIP: AutoIP is an alternative to DHCP that allows hosts to automatically obtain an IP address in smaller networks that may not have a DHCP server. A range of IP addresses (from 169.254.0.1 to 169.254.255.254) has been explicitly reserved for AutoIP-enabled devices.
Glossary of Terms Baseband LAN: A LAN that uses a single carrier frequency over a single channel. Ethernet, Token Ring and Arcnet LANs use baseband transmission. Baud: Unit of signal frequency in signals per second. Not synonymous with bits per second since signals can represent more than one bit. Baud equals bits per second only when the signal represents a single bit. Binaries: Binary, machine readable forms of programs that have been compiled or assembled.
Glossary of Terms Broadband: A data transmission technique allowing multiple high-speed signals to share the bandwidth of a single cable via frequency division multiplexing. Broadband Network: A network that uses multiple carrier frequencies to transmit multiplexed signals on a single cable. Several networks may coexist on a single cable without interfering with one another.
Glossary of Terms Communication Server: A dedicated, standalone system that manages communications activities for other computers. Cut-through: Technique for examining incoming packets whereby an Ethernet switch looks only at the first few bytes of a packet before forwarding or filtering it. This process is faster than looking at the whole packet, but it also allows some bad packets to be forwarded. CSMA/CD: Carrier Sense Multiple Access with Collision Detection is the Ethernet media access method.
Glossary of Terms Dialback: A security feature that ensures people do not log into modems that they shouldn't have access to. When a connection is requested, the system checks the user name for validity, then "dials back" the number associated with that user name. Distributed Processing: A system in which each computer or node in the network performs its own processing and manages some of its data while the network facilitates communications between the nodes.
Glossary of Terms Filtering: Process whereby an Ethernet switch or bridge reads the contents of a packet and then finds that the packet does not need to be forwarded, drops it. a filtering rate is the rate at which a device can receive packets and drop them without any loss of incoming packets or delay in processing. Firmware: Alterable programs in semipermanent storage, e.g., some type of read-only or flash reprogrammable memory.
Glossary of Terms Heartbeat: Ethernet defined SQE signal quality test function. Hertz (Hz): A frequency unit equal to one cycle per second. Host: Generally a node on a network that can be used interactively, i.e., logged into, like a computer. Host Table: A list of TCP/IP hosts on the network along with their IP addresses. HTTP Short for HyperText Transfer Protocol, the underlying protocol used by the World Wide Web.
Glossary of Terms IPX: Internetwork Packet eXchange, a NetWare protocol similar to IP (Internet Protocol). ISDN: (Integrated Services Digital Network): All digital service provided by telephone companies. Provides 144K bps over a single phone line (divided in two 64K bps "B" channels and one 16K bps "D" channel). ISO Layered Model: The International Standards Organization (ISO) sets standards for computers and communications.
Glossary of Terms Layer: In networks, layers refer to software protocol levels comprising the architecture, with each layer performing functions for the layers above it. Line Speed: Expressed in bps, the maximum rate at which data can reliably be transmitted over a line using given hardware. Local Network Interconnect (LNI): A Port Multiplier, or concentrator supporting multiple active devices or communications controllers, either used standalone or attached to standard Ethernet cable.
Glossary of Terms Modem: A modulator-demodulator device for changing transmission signals from digital to analog for transmission over phone lines. Used in pairs, one is required at each end of the line. MOP: Maintenance Operations Protocol, a DEC protocol used for remote communications between hosts and servers. Multicast: A multicast is a message that is sent out to multiple devices on the network by a host.
Glossary of Terms NetBIOS/NetBEUI: Microsoft's networking protocols for it's LAN Manager and Windows NT products. Network: An interconnected system of computers that can communicate with each other and share files, data and resources. Network Address: Every node on a network has one or more addresses associated with it, including at least one fixed hardware address such as "ae-34-2c-1d-69-f1" assigned by the device's manufacturer.
Glossary of Terms PAP: (Password Authentication Protocol) Authentication scheme for PPP links. A password can be specified for both devices on a remote link. Failure to authenticate will result in a dropped connection prior to start of data transmission. Physical Address: An address identifying a single node. Physical Layer: Layer 1, the bottom layer of the OSI model, is implemented by the physical channel.
Glossary of Terms Protocol: Any standard method of communicating over a network. Remote Access: Access to network resources not located on the same physical Ethernet. (Physical Ethernet here refers to an entire site network topology.) Remote Control: Form of remote access where a device dialing in assumes control of another network node - all keystrokes on the remote are translated into keystrokes on the network node. Used primarily with IPX protocol.
Glossary of Terms Router: Device capable of filtering/forwarding packets based upon data link layer information. Whereas a bridge or switch may only read MAC layer addresses to filter, routers are able to read data such as IP addresses and route accordingly. RTEL: Lantronix' "reverse Telnet" software allows hosts using TCP/IP to establish a session with a device attached to a terminal server port.
Glossary of Terms Store and Forward: Technique for examining incoming packets on an Ethernet switch or bridge whereby the whole packet is read before forwarding or filtering takes place. Store and forward is a slightly slower process than cut-through, but it does ensure that all bad or misaligned packets are eliminated from the network by the switching device. SPX: Sequential Packet exchange. Novell's implementation of SPP (Sequential Packet Protocol).
Glossary of Terms Terminal Server: A concentrator that facilitates communication between hosts and terminals. Terminator: Used on both ends of a standard Ethernet or Thinwire Ethernet segment, this special connector provides the 50 ohm termination resistance needed for the cable. TFTP: Trivial File Transfer Protocol. On computers that run the TCP/IP networking software, TFTP is used to quickly send files across the network with fewer security features than FTP. Thickwire: Half-inch diameter coax cable.
Glossary of Terms Twisted-Pair Cable: Inexpensive, multiple-conductor cable comprised of one or more pairs of 18 to 24 gauge copper strands. The strands are twisted to improve protection against electromagnetic and radio frequency interference. The cable, which may be either shielded or unshielded, is used in low-speed communications, as telephone cable. It is used only in baseband networks because of its narrow bandwidth. Unix: A multitasking, multiuser computer operating system developed by AT&T.