Lantronix Device Server UDS 10 User Manual

UDS-10
User Guide
Revision D 07/15/02
Part Number 900-207
Copyright and Trademark
© 2000, 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.
Lantronix
15353 Barranca Parkway Irvine, CA 92618, USA Phone: 949-453-3990
Technical Support
Phone: 800-422-7044 or 9949-453-7198 Fax: 949-450-7226 On-line: www.lantronix.com/support
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. This equipment generates, uses, and can radiate radio frequency energy, and if not installed and used in accordance with this guide, may cause harmful interference to radio communications.
Changes or modifications to this device not explicitly approved by Lantronix will void the user's authority to operate this device.
The information in this guide may change without notice. The manufacturer assumes no responsibility for any errors which may appear in this guide.
Date Rev. Author Comments
05/11/00 B 06/01/01 C DS Current release. 07/15/02 D GR Revised for Device Installer, new format. Includes all
UDS-10 devices.
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: 1994
Electromagnetic Immunity:
EN55024: 1998 Information Technology Equipment-Immunity Characteristics IEC61000-4-2: 1995 Electro-Static Discharge Test IEC61000-4-3: 1996 Radiated Immunity Field Test IEC61000-4-4: 1995 Electrical Fast Transient Test IEC61000-4-5: 1995 Power Supply Surge Test IEC61000-4-6: 1996 Conducted Immunity Test IEC61000-4-8: 1993 Magnetic Field Test IEC61000-4-11: 1994 Voltage Dips & Interrupts Test (L.V.D. Directive 73/23/EEC)
Supplementary Information:
This Class A digital apparatus has been verified as being compliant within the Class A limits of the FCC Radio Frequency Device Rules (FCC Title 47, Part 15, Subpart B CLASS A), measured to CISPR 22: 1993 limits and methods of measurement of Radio Disturbance Characteristics of Information Technology Equipment. The product complies with the requirements of the Low Voltage Directive 72/23/EEC and the EMC Directive 89/336/EEC.
Manufacturer’s Contact:
Director of Quality Assurance, Lantronix 15353 Barranca Parkway, Irvine, CA 92618 USA Tel: 949-453-3990 Fax: 949-453-3995
Warranty
Lantronix warrants each Lantronix product to be free from defects in material and workmanship for a period of FIVE YEARS (or for the period specified on the product warranty registration card) 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. Upon verification of warranty, Lantronix will
-- at its option -- repair or replace the product and return it to the customer freight prepaid. No services are handled at the customer's site under this warranty. This warranty is voided if the customer uses the product in an unauthorized or improper way, or in an environment for which it was not designed.
Lantronix warrants the media containing its software product to be free from defects and warrants that the software will operate substantially according to Lantronix specifications for a period of 60 DAYS after the date of shipment. The customer will ship defective media to Lantronix. Lantronix will ship the replacement media to the customer.
In no event will Lantronix be responsible to the user in contract, in tort (including negligence), strict liability or otherwise for any special, indirect, incidental or consequential damage or loss of equipment, plant or power system, cost of capital, loss of profits or revenues, cost of replacement power, additional expenses in the use of existing software, hardware, equipment or facilities, or claims against the user by its employees or customers resulting from the use of the information, recommendations, descriptions and safety notations supplied by Lantronix. Lantronix liability is limited (at its election) to:
1) refund of buyer's purchase price for such affected products (without interest)
2) repair or replacement of such products, provided that the buyer follows the above procedures.
There are no understandings, agreements, representations or warranties, expressed or implied, including warranties of merchantability or fitness for a particular purpose, other than those specifically set out above or by any existing contract between the parties. Any such contract states the entire obligation of Lantronix. The contents of this document shall not become part of or modify any prior or existing agreement, commitment or relationship.
Sales Offices
The Americas 15353 Barranca Parkway Irvine, CA 92618, USA Phone: (949) 450-7227 Fax: (949) 450-7231
sales@lantronix.com
France 2 Rue Hélène Boucher 78280 Guyancourt France Tel: +33 1 39 30 41 74 Fax: +33 1 39 30 41 73 europesud@lantronix.com
Germany Karlstrasse 49 78054 VS-Schwenningen Germany Tel: +49 (0)77 20 30 1620 Fax: +49 (0)77 20 30 1688
ursula.koch@lantronix.com
Asia Pacific 16th Floor Cheung Kong Center 2 Queen's Road Central Hong Kong Tel: +852 2297 2287 Fax: +852 2297 2357
asiapacsales@lantronix.com
EMEA Sales (Europe, Mid East, Africa)
eu_sales@lantronix.com eu_order@lantronix.com
EMEA Technical Support +49 (0) 7720 3016 20/57
eu_techsupp@lantronix.com
Contents
Table of Contents
1. Introduction ......................................................................................................................1-1
1.1 UDS-10 ...............................................................................................................1-2
1.2 UDS-10B.............................................................................................................1-3
1.3 UDS-10-IAP Device Server ................................................................................1-4
1.3.1 Industrial Automation Protocols .........................................................1-5
1.4 Network Protocols............................................................................................... 1-6
1.4.1 Packing Algorithm .............................................................................. 1-6
1.4.2 IP Address ........................................................................................... 1-6
1.4.3 Port Number ........................................................................................ 1-6
1.5 Serial Interface .................................................................................................... 1-7
1.6 RJ-45 Ethernet Interface...................................................................................... 1-7
1.7 Ethernet Cable..................................................................................................... 1-8
1.8 Serial Interface Connection................................................................................. 1-9
1.9 LEDs .................................................................................................................1-10
1.10 Dimensions...................................................................................................... 1-11
1.11 Product Information Label .............................................................................. 1-11
1.12 Software Support............................................................................................. 1-11
1.13 Power Requirements .......................................................................................1-12
1.14 Reset Switch.................................................................................................... 1-12
1.15 Technical Specifications .................................................................................1-13
2. Getting Started .................................................................................................................2-1
2.1 Addresses and Port Number................................................................................ 2-1
2.1.1 Ethernet (MAC) Address ....................................................................2-1
2.1.2 Internet Protocol (IP) Address.............................................................2-1
2.1.3 Port Number ........................................................................................ 2-2
2.2 Physically Connecting the Unit........................................................................... 2-2
2.3 Methods of Assigning the IP Address................................................................. 2-3
2.3.1 DHCP .................................................................................................. 2-4
2.3.2 AutoIP ................................................................................................. 2-4
2.4 DeviceInstaller ....................................................................................................2-5
2.4.1 Install DeviceInstaller Software ..........................................................2-5
2.4.2 Assign IP Address and Network Class................................................ 2-6
2.4.3 Test the IP Address .............................................................................2-7
UDS-10 User Guide i
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........................................................................................................ 3-1
3.1 Configuring via Web Browser............................................................................ 3-1
3.2 Using DeviceInstaller ......................................................................................... 3-2
3.3 Web Manager Page............................................................................................. 3-4
3.3.1 Unit Configuration.............................................................................. 3-5
3.3.2 Server Properties................................................................................. 3-6
3.3.3 Port Properties .................................................................................... 3-7
3.3.4 Technical Support............................................................................... 3-9
3.3.5 Update Settings................................................................................... 3-9
3.4 Configuring via the Setup Mode Window........................................................ 3-10
3.4.1 Using a Telnet Connection ............................................................... 3-10
3.4.2 Using the Serial Port......................................................................... 3-12
3.5 Server Configuration (Network Configuration)................................................ 3-12
3.5.1 IP Address......................................................................................... 3-12
3.5.2 Set Gateway IP Address ................................................................... 3-12
3.5.3 Netmask: Number of Bits for Host Part............................................ 3-13
3.5.4 Change Telnet configuration password ............................................ 3-14
3.5.5 DHCP Naming.................................................................................. 3-14
3.6 Channel 1 Configuration (Serial Port Parameters) ........................................... 3-15
3.6.1 Baudrate............................................................................................ 3-15
3.6.2 I/F (Interface) Mode ......................................................................... 3-15
3.6.3 Flow .................................................................................................. 3-17
3.6.4 Port Number...................................................................................... 3-17
3.6.5 Connect Mode................................................................................... 3-18
3.6.6 Remote IP Address ........................................................................... 3-21
3.6.7 Remote Port ...................................................................................... 3-21
3.6.8 DisConnMode................................................................................... 3-21
3.6.9 Flush Mode (Buffer Flushing) .......................................................... 3-22
3.6.10 Pack Control ................................................................................... 3-23
3.6.11 DisConnTime (Inactivity Timeout) ................................................ 3-24
3.6.12 Send Characters .............................................................................. 3-24
3.6.13 Telnet Terminal Type ..................................................................... 3-24
3.6.14 Channel (Port) Password ................................................................ 3-24
3.7 Expert Settings.................................................................................................. 3-25
3.7.1 TCP Keepalive time in s ................................................................... 3-25
3.8 Security Settings ............................................................................................... 3-25
3.8.1 Disable SNMP .................................................................................. 3-25
ii
UDS-10 User Guide
Contents
3.8.2 SNMP Community Name .................................................................3-25
3.8.3 Disable Telnet Setup .........................................................................3-26
3.8.4 Disable TFTP Firmware Upgrade .....................................................3-26
3.8.5 Disable Port 77FE (Hex)................................................................... 3-26
3.8.6 Disable Web Server........................................................................... 3-26
3.8.7 Enable Enhanced Password............................................................... 3-26
3.9 Factory Defaults ................................................................................................3-26
3.10 Exit Configuration Mode ................................................................................3-27
3.11 Get Configuration............................................................................................ 3-27
3.12 Set Configuration ............................................................................................ 3-28
4. Updating Protocol (Firmware)........................................................................................ 4-1
4.1 Protocol Firmware............................................................................................... 4-1
4.2 Reloading Protocol Firmware .............................................................................4-1
4.2.1 Via DeviceInstaller.............................................................................. 4-2
4.2.2 Via TFTP............................................................................................. 4-4
4.2.3 Via Another Unit................................................................................. 4-5
4.2.4 Via the Serial Port ............................................................................... 4-6
5. DeviceComm Manager ....................................................................................................5-1
5.1 Installing DeviceComm Manager .......................................................................5-2
5.1.1 Install DeviceComm Manager ............................................................5-2
5.1.2 Setup.................................................................................................... 5-3
6. Troubleshooting................................................................................................................6-1
6.1 Technical Support ...............................................................................................6-1
6.1.1 Technical Support ...............................................................................6-1
7. Monitor Mode...................................................................................................................7-1
7.1 Monitor Mode .....................................................................................................7-1
7.1.1 Entering Monitor Mode Via the Serial Port ........................................7-1
7.1.2 Entering Monitor Mode Via the Network Port ...................................7-1
7.1.3 Monitor Mode Commands .................................................................. 7-1
8. Network Configuration using UDP.................................................................................8-1
8.1 UDP Datagrams...................................................................................................8-1
8.2 Configuring Multiple Devices............................................................................. 8-3
8.2.1 Acquiring a Valid Setup Record .........................................................8-3
8.2.2 Sending a Setup Record ......................................................................8-4
8.2.3 The Intel Hex Format .......................................................................... 8-5
8.2.4 Calculating the Checksum................................................................... 8-6
8.2.5 Calculating the Two’s Complement.................................................... 8-6
8.3 Setup Records...................................................................................................... 8-7
8.3.1 Channel Parameters............................................................................. 8-8
UDS-10 User Guide iii
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 .............................................................................. 8-12
8.3.7 Flush Mode (Buffer Flushing) JKE Check the modifications to 3.6.98-13
8.3.8 Pack Control ..................................................................................... 8-13
8.4 IP Addresses ..................................................................................................... 8-14
8.4.1 Network Portion................................................................................ 8-14
8.4.2 Subnet Portion .................................................................................. 8-14
8.4.3 Host Portion...................................................................................... 8-15
8.4.4 Network Address .............................................................................. 8-15
8.4.5 Broadcast Address ............................................................................ 8-15
8.4.6 Private IP Networks and the Internet................................................ 8-16
8.4.7 Network RFCs .................................................................................. 8-16
9. Binary to Hex Conversion............................................................................................... 9-1
9.1 Connect Mode Options ....................................................................................... 9-2
9.2 Disconnect Mode Options .................................................................................. 9-5
9.3 Flush Mode (Buffer Flushing) Options .............................................................. 9-7
9.4 Interface Mode Options .................................................................................... 9-13
9.5 Pack Control Options........................................................................................ 9-14
10. IP Addresses ................................................................................................................. 10-1
10.1 Class A Network............................................................................................. 10-1
10.2 Class B Network ............................................................................................. 10-1
10.3 Class C Network ............................................................................................. 10-1
10.4 Network Address ............................................................................................ 10-2
10.5 Broadcast Address .......................................................................................... 10-2
10.6 IP Netmask...................................................................................................... 10-2
10.7 Private IP Networks and the Internet.............................................................. 10-3
10.8 Network RFCs ................................................................................................ 10-3
11. Glossary of Terms........................................................................................................ 11-1
iv
UDS-10 User Guide
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................................................................................................. 2-5
Figure 5 - DeviceInstaller Window........................................................................................ 2-6
Figure 6 - Assign IP Address Window................................................................................... 2-6
Figure 7 - Ping Device Window............................................................................................. 2-7
Figure 8 - Search Network Window.......................................................................................2-8
Figure 9 - Devices in a Group ................................................................................................ 2-9
Figure 10 - Device Management Window ........................................................................... 2-10
Figure 11 - Lantronix Web-Manager .....................................................................................3-4
Figure 12 - Server Properties Configuration on the Web Browser ........................................ 3-6
Figure 13 - Setup Mode Window......................................................................................... 3-11
Figure 14 - Device Installer....................................................................................................4-2
Figure 15 - Search Network Window.....................................................................................4-3
Figure 16 - Devices in a Group .............................................................................................. 4-3
Figure 17 - Upgrade Firmware............................................................................................... 4-4
Figure 18 - TFTP Dialog Box ................................................................................................ 4-4
Figure 19 – UDS/CoBox Main Window................................................................................ 5-2
Figure 20 - Sample Setup Record in Intel Hex Format.......................................................... 8-3
UDS-10 User Guide v
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............................................................................ 3-13
Table 5 - Netmask Examples ............................................................................................... 3-13
Table 6 - Interface Mode Options........................................................................................ 3-15
Table 7 - Common Interface Mode Settings........................................................................ 3-16
Table 8 - Flow Control Options........................................................................................... 3-17
Table 9 - Connect Mode Options......................................................................................... 3-18
Table 10 - Manual Connection Address Example ............................................................... 3-19
Table 11 - Modem Mode Commands .................................................................................. 3-20
Table 12 - Disconnect Mode Options .................................................................................. 3-21
Table 13 - Flush Mode Options ........................................................................................... 3-22
Table 14 - Pack Control Options ......................................................................................... 3-23
Table 15 - Protocol Firmware................................................................................................ 4-1
Table 16 - Problems and Error Messages .............................................................................. 6-3
Table 17 - Monitor Mode Commands ................................................................................... 7-2
Table 18 -Command Response Codes ................................................................................... 7-2
Table 19 - UDP Configuration............................................................................................... 8-1
Table 20 - Block Types..........................................................................................................8-5
Table 21 - Setup Record Construction................................................................................... 8-7
Table 22 - Channel Parameters.............................................................................................. 8-8
Table 23 - Interface Mode Options........................................................................................ 8-9
Table 24 - Common Interface Mode Settings........................................................................ 8-9
Table 25 - Baud Rate Settings ............................................................................................. 8-10
Table 26 - Flow Control Options......................................................................................... 8-10
Table 27 - Connect Mode Options....................................................................................... 8-11
Table 28 - Disconnect Mode Options .................................................................................. 8-12
Table 29 - Flush Mode Options ........................................................................................... 8-13
Table 30 - Pack Control Options ......................................................................................... 8-13
Table 31 - Network Portion of IP Address .......................................................................... 8-14
Table 32 - Available IP Addresses....................................................................................... 8-14
Table 33 - Standard IP Network Netmasks.......................................................................... 8-15
Table 34 - Netmask Examples ............................................................................................. 8-16
Table 35 - Binary to Hexadecimal Conversion Table............................................................ 9-1
Table 36 - Connect Mode Options......................................................................................... 9-2
Table 37 - Connect Mode Options for Modem Emulation .................................................... 9-4
vi
UDS-10 User Guide
Contents
Table 38 - Disconnect Mode Options.....................................................................................9-5
Table 39 - Flush Mode Options.............................................................................................. 9-7
Table 40 - Interface Mode Options ...................................................................................... 9-13
Table 41 - Pack Control Options..........................................................................................9-14
UDS-10 User Guide vii
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.
Most of the material in this manual applies to all of the UDS-10 products. However, in some cases there will be some features that apply to only one product. In those cases, a note will explain the variation.
Note: In most cases UDS-10 refers to UDS-10, UDS-10-IAP and UDS-10B.
UDS-10 User Guide 1-1
Introduction
1.1 UDS-10
The UDS-10 Device Server connects serial devices to Ethernet networks using the IP protocol family (TCP for connection-oriented stream applications and UDP for datagram applications). A few of the different types of serial devices supported are listed below:
Time/Attendance Clocks and Terminals
ATM Machines
CNC Controllers
Data Collection Devices
Universal Power Supply (UPS) Management Units
Telecommunications Equipment
Data Display Devices
Security Alarms and Access Control Devices
Handheld Instruments
Modems
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.
1-2
UDS-10 User Guide
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. It will support network speeds of 10Mbps.
The UDS-10B board comes with various power supply options:
a power jack for 9-30 VDC or 9-24 VAC with maximum 140mA.
power via the DB25 inputs at either the regulated +5 VDC with maximum 200mA or
the unregulated 9-30 VDC.
The UDS-10B’s well-developed IP firmware supports protocols such as ARP, UDP, TCP, Telnet, ICMP, SNMP, BOOTP,DHCP, TFTP, AutoIP, HTTP, and custom protocols.
Note: Please see the EIK, Embedded Integration Kit user manual, 900-226, for information on using the UDS-10B Embedded Device Server.
UDS-10 User Guide 1-3
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.
By encapsulating serial data and transporting it over Ethernet, the Device Server allows virtual serial links to be established over Ethernet and IP (TCP/IP, UDP/IP) networks. As a result, limited distance, point-to-point, direct serial connections can be extended within the plant, throughout the facility, or across the global enterprise. The following picture is one of the Device Servers in the IAP family.
Figure 1 – UDS-10-IAP
Lantronix provides IAP Device Servers specifically designed for different industrial environments.
CoBox-DR1-IAP, with a DIN rail interface for harsh environments or alongside
controls instruments in electrical panels.
CoBox-FL-IAP, with fiber connectivity for long cable runs or electrically hazardous
environments.
UDS-10-IAP, a compact Device Server for use in less demanding environments.
1-4
UDS-10 User Guide
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. 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.
IAP Device Servers are delivered with IAP Standard Tunneling protocol and can be loaded with industrial communication protocols. The suite of protocols include DF1 (Rockwell Automation) and Modbus (Schneider Electric). Where the IAP Standard Tunneling protocol is limited to exclusive, standard ASCII device-to-device connections, the industrial protocols offer connections to other devices that require special formatting or features simultaneously.
For information about using any of the industrial communication protocols, see the user manuals on the software CD or our web site. Protocol firmware files are also contained on the CD and new versions are available from the Lantronix web site.
You can set up the unit using the serial port, or remotely over Ethernet using Telnet or a web browser. The CD that comes with your Device Server includes DeviceInstaller, a Windows based configuration software that simplifies the process of installing protocols and configuring them for use with attached devices. IAP Device Servers use Flash memory for maintenance-free, non-volatile storage which allows for fast system upgrades.
UDS-10 User Guide 1-5
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. The TCP (transmission control protocol) assures that no data is lost or duplicated, and that everything sent into the connection on one side arrives at the target exactly as it was sent.
For typical datagram applications where devices interact with others without maintaining a point-to-point connection, UDP datagram is used.
1.4.1 Packing Algorithm
The two available packet algorithms (which define how and when packets are sent to the network) are software selectable. The standard algorithm is optimized for applications where UDS-10 is used in a local environment, allowing for very small delays for single characters while trying to keep the packet count low. The alternate packing algorithm minimizes the packet count on the network and is especially useful for applications in routed Wide Area Networks. Various parameters can be set in this mode to economize the serial data stream.
1.4.2 IP Address
Every active device connected to the TCP/IP network must have a unique IP address. This IP address is used to reference a specific device, for example, to build a connection to UDS-10’s serial port. See IP Addresses on page 10-1 for a complete description of IP Addressing.
1.4.3 Port Number
A destination IP address and a port number define every TCP connection and every UDP datagram. A port number is necessary to address an application or a channel on a network host. The port number can be compared to an extension on a PBX system.
A Telnet application (login to a host with an ASCII terminal) is commonly assigned TCP port number 23. More than one Telnet connection can be established to one host using the Telnet port; however, the other peer IP address/port number combinations must be different.
In the UDS-10, a port number can be configured on the channel (port). The UDS-10 uses this port number for outgoing messages and incoming connections, or UDP datagrams, which are addressed to its port number. Port 9999 (decimal) is used for remote configuration.
1-6
UDS-10 User Guide
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
14
DB-25 Se rial Po rt
TX (input) RX (output) RTS (input)
CTS (output) DSR (output)
GND
DCD (output)
Reg. +5VDC
(Note 1)
Reg. +9-30VDC
(Note 1)
13
TX+ (out) TX- (out)
DTR (input) RX+ (in) RX- (in)
25
Note 1: The Device Server can alternately be powered up via the serial port using one of these pins.
Note 2: The minus sign (-) is sometimes shown as A (TXA), and the plus sign is sometimes shown as B (TXB)
(Note 2)
RS-232/485 DB-25F
(Note 2)
1.6 RJ-45 Ethernet Interface
The UDS-10’s back panel contains a 9-30VDC power plug, a reset switch, and an RJ-45 (10Base-T) Ethernet port that supports up to 10 Mbps.
LEDs
Reset Switch
RJ-45 Ethernet Port
UDS-10 User Guide 1-7
Power Socket
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.
Orange + Whit e
Orange
Green + White
Blue
Blue + White
Green
Brown + White
Brown
View from Connector End
Ethernet
(RJ45)
Figure 2 - RJ-45 Connector
Table 1 - Ethernet Interface Signals
Signal Name DIR PIN Primary Function
TX+ Out 1 Transmit Data + TX- Out 2 Transmit Data ­RX+ In 3 Differential Ethernet Receive Data + RX- In 6 Differential Ethernet Receive Data -
1 8
1 - TX+ 2 - TX­3 - RX+ 6 - RX-
1-8
UDS-10 User Guide
Introduction
13
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.
25
GND
5
DTR
CTS
RTS
DSR
4
9
3
8
7 6
TXD
2
RXD
1
DTE, 9-Pin, FEMALE
RX(in)
TX(in)
5
4
3
2
DCE, 25-Pin, MALE
20
6
14
1
UDS-10 User Guide 1-9
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
Net Tx/Rx (Yellow) Blinks yellow to indicate network packets are
Collision (Red) Lights solid red to indicate network collisions. Diagnostic (Red)
Status (Green)
connected to the network.
transmitting and receiving.
Blinks or glows red in combination with the green Status LED to indicate error detection. Red solid, green (Status LED) blinking: 1x: EPROM checksum error 2x: RAM error 3x: Token Ring error 4x: EEPROM checksum error 5x: Duplicated IP address on the network Red blinking, green (Status LED) blinking: 4x: Faulty network connection 5x: No DHCP response received
Lights solid green to indicate that the physical serial port does not have a connection to or from the network. Blinks green to indicate that the physical serial port does have a connection to or from the network.
1-10
UDS-10 User Guide
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.
UDS-10B 00-20-4A-24-BB-42 Rev. D12 Made in USA
S/N:2447938
Serial Number Part Number MAC ID Revision
1.12 Software Support
DeviceInstaller is a powerful software utility for configuring device servers from a network connection. For more information, see Using DeviceInstaller on page 3-2.
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 port, the data is transmitted across the Ethernet network port using the TCP/IP protocol. For more information, see DeviceComm Manager on page 5-1.
UDS-10 User Guide 1-11
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 9­30VDC. The new power supply shipped with the product supplies voltage within the new 9­30VDC range. Please note that this new power supply should only be used with the 9-30VDC UDS-10 products. The correct input voltage is marked on a label above the power socket and on the back of the unit.
Power Socket
1.14 Reset Switch
The unit has a reset switch located next to the RJ-45 connector. This reset switch will reboot the UDS when pressed.
Reset Switch
1-12
UDS-10 User Guide
Introduction
1.15 Technical Specifications
Table 3 - Technical Specs
Category Description
CPU, Memory AMD 188ES CPU, 25MHz clock, 128kByte RAM
Flash, EPROM 512kByte Flash PROM Installable Serial Protocols
Serial Interface Female DB-25 connector (DCE pinout)
Reset Front panel recessed push button Power Supply External adapter for 9-30 VDC, 3 Watts Max Dimensions 2.3 cm (0.9 in) H, 6.4 cm (2.5 in) W, 9.0 cm (3.5 in) D Weight 204.12g (7.2oz) Temperature Operating range: 5° to +50° C (41to122° F)
Humidity 10% to 90% RH, non-condensing, 40% to 60% recommended Case Metal case with mounting flanges. (Not UDS-10B) Protocols Supported Auto IP, ARP, UDP/IP, TCP/IP, Telnet, ICMP, SNMP, DHCP,
Network Interface RJ-45 10Base-T Ethernet Data Rates 300 bps to 115,200 bps Serial Line Formats Characters: 7 or 8 data bits
Modem Control DTR, DCD, CTS, RTS, DSR Flow Control CTS/RTS (hardware)
Management Internal web server (Standard Tunneling only)
System Software Windows® 95/98/ME/NT/2000 based configuration software LEDs Link (green), Network transmit/receive (yellow), Collision (red),
Compatibility Ethernet: Version 2.0/IEEE 802.3 Isolation Ethernet: 1500 Vrms, Serial: 2000 Vrms Agency Approvals C/UL, TUV, FCC-B, CE
Standard Tunnel (UDS-10, and UDS-10-IAP), Modbus (UDS-10­IAP), DF1 (UDS-10-IAP)
Baud Rate selectable from 300 to 115kBaud Software selectable RS-232C or RS-422/485
Max temperature change per hour: 20° C (36° F) Storage range: -40° to +66° C (-40 to 151° F)
BOOTP, TFTP, and HTTP
Stop bits: 1,2 Parity: odd, even, none
XON/XOFF (software)
SNMP (read only) Serial login Telnet login
Diagnostic (red), Status (green)
UDS-10 User Guide 1-13
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. It can be configured to Ethernet-enable most serial devices such as barcode scanners, weigh scales, operator panels, data access devices, alpha numeric displays, and thousands of intelligent serial devices. For UDS-10-IAP users, see Industrial Automation Protocols on page 1-5
Loading industrial protocols to a UDS-10-IAP, such as IAP Modbus Bridge, may remove the web pages and change the configure dialogs. See the user manuals on individual protocols for protocol specific settings and configuration dialogs. Protocol manuals are found on the software CD. This section describes the setup and configuration dialogs for the Standard Tunnel Protocol.
Note: The following information is based on the condition that a UDS-10 is loaded with Standard Tunnel Protocol. The UDS-10-IAP with IAP Standard Tunnel Protocol may have different options available.
2.1 Addresses and Port Number
2.1.1 Ethernet (MAC) Address
The Ethernet address is also referred to as the hardware address or the 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.
00-20-4A-21-18-17 or 00:20:4A:21:18:17
2.1.2 Internet Protocol (IP) Address
Every device connected to an IP network must have a unique IP address. This address is used to reference the specific unit.
UDS-10 User Guide 2-1
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.2 Physically Connecting the Unit
The following diagram shows a typical hardware configuration for the UDS-10. Use one of the cables described in Serial Interface Connection on page 1-9 to connect a PC COM port to the UDS-10.
Ethernet
RS-232
Ethernet
9-30VDC
Figure 3 – UDS-10 Connected to Serial Device and Network
1. Connect a serial device to your unit. See Serial Interface Connection on page 1-9 for more information about cable and connector specifications.
2. Connect an Ethernet cable to the Ethernet port.
3. Supply power to your unit using a 9-30VDC source.
Note: The required input voltage is 9-30VDC (3 W maximum).
4. Supply power to the serial device.
Note: Connecting a device to an active Ethernet network can disrupt communications on the network. Make sure the device is configured for your application before connecting to an active network.
2-2
UDS-10 User Guide
Loading...
+ 109 hidden pages