Home

Lantronix Device Server UDS 10 User's Manual

image

Contents

1. Disconnect with EOT AD 1 1 The CoBox will send the Terminal Type upon an outgoing connection 2 A password is required for a connection to the serial port from the network 3 The TCP connection will close even if the remote site does not acknowledge the disconnection 4 When there is a network connection to or from the serial port the state LED will turn off instead of blink 5 When Ctrl D or Hex 04 are detected the connection is dropped Both Telnet mode and Disconnect with EOT must be enabled for Disconnect with EOT to function properly Ctrl D will only be detected going from the serial port to the network 6 When DTR on the CoBox UDS product transitions from a high state to a low state then the network connection to or from the serial port will drop Note See Table 35 Binary to Hexadecimal Conversion Table 8 12 UDS 10 User Guide 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 Use the following table to select Flush Mode options Table 29 Flush Mode Options Function 71 6 15 14 3 2 14 0 Input Buffer Serial to Network Clear with a connection that is initiated from the UDS to the network Clear with a connection initiated from the network to the UDS Clear when the network connection to or from the 1 UDS is disconnect
2. 9 14 UDS 10 User Guide Sendcharacter Trailing Idle Time Send Hex Defined by a Characters Force Immediately Transmit after Sendcharacter 2 Byte Sequence No 250ms Yes 32 2 Byte Sequence No 5sec Yes 33 2 Byte Sequence 1 12ms Yes 34 2 Byte Sequence 1 52ms Yes 35 2 Byte Sequence 1 250ms Yes 36 2 Byte Sequence 1 5sec Yes 37 2 Byte Sequence 2 12ms Yes 38 2 Byte Sequence 2 52ms Yes 39 2 Byte Sequence 2 250ms Yes 3A 2 Byte Sequence 2 5sec Yes 3B UDS 10 User Guide Binary to Hex 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 In the following explanations x stands for the host part of the IP address 10 1 Class A Network IP address 1 x x x to 127 x x x Only 127 different networks of this class exist These have a very large number of potential connected devices up to 16 777 216 Example 10 0 0 1 network 10 host 0 0 1 10 2 Class B Network IP address 128 0 x x to 191 255 x
3. LANTRONIX 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 communi
4. Medium Attachment Unit a device used to convert signals from one Ethernet medium to another Mbps Megabits per second MIB Management Information Base a database of network parameters used by SNMP and CMIP Common Management Information Protocol to monitor and change network device settings It provides a logical naming of all information resources on the network that are pertinent to the network s management Media Independent Interface New standard developed for Fast Ethernet in IEEE 802 3u specification The Fast Ethernet equivalent to the AUI in 10 Mbps Ethernet allowing different types of Fast Ethernet media to be connected to a Fast Ethernet device via a common interface MJ Modular Jack A jack used for connecting voice cables to a faceplate as for a telephone MMJ Modified Modular Jack These are the 6 pin connectors used to connect serial terminal lines to terminal devices MMJs can be distinguished from the similar RJ12 jacks by having a side locking tab rather than a center mounted one UDS 10 User Guide 11 9 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 t
5. 3 6 13 Telnet Terminal Type This parameter appears only if the terminal type option is enabled in Disconnect Mode see DisConnMode on page 3 21 above If this option is enabled you can use the terminal name for the Telnet terminal type Enter only one name If the terminal type option is enabled the unit also reacts to the EOR end of record and binary options which can be used for applications like terminal emulation to IBM hosts 3 6 14 Channel Port Password This parameter appears only if the channel port password option is enabled in Disconnect Mode see DisConnMode on page 3 21 If set you can set a password on the serial port 3 24 UDS 10 User Guide Configure 3 7 Expert Settings 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 ls 65s Os disable 0 3 7 1 TCP Keepalive time in s This option allows you to change how many seconds the unit will wait during a silent connection before attempting to see if the currently connected network device is still on the network If the unit then gets no response it will drop that connection 3 8 Security Settings Disable SNMP N Not with IAP SNMP Community Name public Not with IAP Disable Telnet Setup N Disable TFTP Firmware Update N Disable Port 77FEh N Disable Web Server N Enable Enhanced Password N 3 8 1 Disable SNMP
6. Autostart 45 With DTR None quiet UDP 4C With DTR Character No active startup 50 With DTR Character Any character 51 With DTR Character Active DTR 52 With DTR Character CR 0x0D 53 With DTR Character Manual connection 54 With DTR Character Autostart 55 With DTR Character UDP N A Unconditionally None quiet No active startup co Unconditionally None quiet Any character C1 Unconditionally None quiet Active DTR C2 Unconditionally None quiet CR 0x0D C3 Unconditionally None quiet Manual connection C4 Unconditionally None quiet Autostart C5 Unconditionally None quiet UDP CC Unconditionally Character No active startup DO 9 2 UDS 10 User Guide Accept Serial Active Connection Hostlist Hex Incoming Response Startup Connections Upon Connection Unconditionally Character Any character D1 Unconditionally Character Active DTR D2 Unconditionally Character CR 0x0D D3 Unconditionally Character Manual connection D4 Unconditionally Character Autostart D5 Unconditionally Character UDP DC Never None quiet No active startup Hostlist N A Never None quiet Any character Hostlist 21 Never None quiet Active DTR Hostlist 22 Never None quiet CR 0x0D Hostlist 23 Never None quiet Manual connection Hostlist N A Never None quiet Autostart Hostlist 25 Never None quiet UDP Hostlist Never Charact
7. Nothing quiet Character response Startup No active startup with any character with active DTR Inactive with CR 0x0D only Manual Connection Autostart Modem Mode Dedicated Connection Remote IP Address rrr Remote Port OO Local Port for o Remote IP Address user selectable Remote Port user selectable Local Port 10001 default 10001 user selectable UDS 10 User Guide 3 7 Configure Flush Mode Input Buffer Line to Network On Active Connection On Passive Connection At Time To Disconnect Flush Mode Input Buffer Network to Line On Active Connection On Passive Connection At Time To Disconnect Disable x Disable 5 Disable x Disable x Disable A Disable x On Active Connection Enable Disable On Passive Connection Enable Disable At Time of Disconnect Enable Disable Packing Algorithm Packing Algorithm Idle Time Trailing Characters Send Immediate After Sendchars Sendchar Define 2 Byte Sequence Send Character 01 Send Character 02 Disable x Force Transmit 12m None X Disable z 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 U
8. When Ctrl D or Hex 04 are detected the connection is dropped Both Telnet mode and Disconnect with EOT must be enabled for Disconnect with EOT to function properly Ctrl D will only be detected going from the serial port to the network 6 When DTR on the CoBox UDS product transitions from a high state to a low state then the network connection to or from the serial port will drop UDS 10 User Guide 3 21 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 Table 13 Flush Mode Options Function Input Buffer Serial to Network Clear with a connection that is initiated from the UDS to the network Clear with a connection initiated from the network to the UDS Clear when the network connection to or from the UDS is disconnected Output Buffer Network to Serial Clear with a connection that is initiated from the UDS to the network Clear with a connection initiated from the network to the UDS Clear when the network connection to or from the UDS is disconnected Alternate Packing Algorithm Pack Control Enable 3 22 UDS 10 User Guide Configure 3 6 10 Pack Control Two firmware selectable packing algorithms define
9. 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 The properly configured device will respond by sending its setup record to the unit you are currently on This configuration will be displayed in Intel HEX format 8 Copy that HEX string and then issue the command SC Now paste the copied string The unit will not reboot on its own You must reboot the unit before the settings take effect To build the setup record in software 1 Create a 120 byte setup record 2 Convert it to an Intel Hex record see The Intel Hex Format on page 8 5 3 Copy the setup record into a text file and save it for future use To request the setup record of a properly configured Device Server via UDP 1 Configure a Device Server with the desired parameters and place it on the network 2 From a host PC send the F8 datagram to the Device Server see Network Configuration using UDP on page 8 1 The Device Server responds with the F9 datagram which includes its setup record 3 Senda previously saved setup record from a host PC via UDP 8 2 2 Sending a Setup Record There are also a number of ways to send a setup record to a Device Server e Send a previously saved setup record via Monitor Mode easiest method e Send the setup record of a properly configured Device Server to another Device Server
10. 0 3 Byte Command Parameters Notes be set to the string because the serial number is unique It IP SETUP Hex 49 provides one method to set the IP address 50 2D 53 45 54 55 of the Device Server if is on the local 50 network and the serial number is known Remember broadcasts are only heard on Next 2 bytes have the subnet on which they are generated No to be set to 00 reply is sent by the Device Server which restarts using the new IP address after the Next 2 bytes must block is received contain the serial number Example all in Hex 49 50 2D 63 45 54 55 50 00 00 2A 12 81 Next 4 bytes have 00 01 02 to be the new IP IP address of the node with serial number address 42 18 set to 129 0 1 2 FD Set Same as FA but n a Configuration changes IP address 8 2 UDS 10 User Guide 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 See Setup Records on page 8 7 and The Intel Hex Format on page 8 5 for information about setup records and converting them to Intel Hex format 20000010AC10C81D0000100000000000
11. 6 UDS 10 User Guide Getting Started 3 Inthe Enter IP Address to assign field enter the unit s IP address in XXX XXX XXX XXX format 4 Inthe PC Network Class section select the class subnet mask Most users select Class 5 Click the Set IP Address button IP is assigned pinged and tested 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 x 1 Click the Ping icon Zl The Ping Device window displays R Ping Device Ofix m Target Enter IP Address 192 168 100 077 Y ANa Clear Status Status Pinging 192 168 100 077 with 32 bytes of data 1 time ms 2 time ms 3 time ms 4 time Gms Reply received bytes 32 ICMP seq Reply received bytes 32 ICMP seq Reply received bytes 32 ICMP seq Reply received bytes 32 ICMP seq Figure 7 Ping Device Window 2 Confirm that Reply received messages display in the window indicating that the IP address has been entered successfully 3 Click the Back button to return to the Device Installer window UDS 10 User Guide 2 7 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 A icon The Search Network window displays Fl Search
12. 8 UDS 10 User Guide 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 13 pis 25 GND C 5 7 j pTR_ g C 20 CTS 8 3 TxD 6 RTS Boe 7 2 RXD L4lo e RX in 3 DSR _ 4 TX in 2 14 i DTE 9 Pin FEMALE DCE 25 Pin MALE UDS 10 User Guide 1 9 Introduction 1 9 LEDs The device contains the following LEDs m link E net Tx Rx HE collision HE diagnostic m status Table 2 UDS 10 LED Functions LED Meaning L Green Lights solid green to indicate network port is connected to the network Net Tx Rx Yellow Blinks yellow to indicate network packets are transmitting and receiving Collision Red Lights solid red to indicate network collisions Diagnostic Red 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 Status Green Lights solid green to indicate th
13. Device Management window is a common page for gaining access to different menus 1 Start DevicelInstaller Click the Search for network for devices icon oe The Search Network window displays Click the Start Search button A list of all active units displays 3 Click the Save button Click OK for the confirmation message Click the Back button 4 Click the Manage device configuration icon ip to open the Device Management window T Device Management Olx Web Configuration FE Get Configuration Set Configuration Telnet to Device 5 For Web configuration click the Web Configuration icon to start your browser A small Web Configuration window appears showing the IP address Go to Web Manager Page on page 3 4 for a summary of the menu selections 3 2 UDS 10 User Guide 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 27 Configuration information can be read from a device and saved in a file 8 To Set the configuration of a specific device see Set Configuration on page 3 28 A device can be configured by reading a configuration file and sending the information to the
14. Hostlist Hex Incoming Response Startup Connections Upon Connection Unconditionally Character Any character Hostlist F1 Unconditionally Character Active DTR Hostlist F2 Unconditionally Character CR 0x0D Hostlist F3 Unconditionally Character Manual connection Hostlist N A Unconditionally Character Autostart Hostlist F5 Unconditionally Character UDP Hostlist N A The following connect mode options are for when you use modem emulation Table 37 Connect Mode Options for Modem Emulation Accept Incoming Response Hex Connections Never Echo 16 Never Without echo 6 Never 1 character response 7 With DTR Echo 56 With DTR Without echo 46 With DTR 1 character response 47 Unconditionally Echo D6 Unconditionally Without echo C6 Unconditionally 1 character response C7 UDS 10 User Guide 9 2 Disconnect Mode Options Table 38 Disconnect Mode Options Binary to Hex Disconnect Telnet Mode and Channel port Hard State LED Disconnect Hex with DTR Terminal Type Password Disconnect Off with with EOT D Drop Setup Connection Note Enable 0 Enable Enable 10 Enable Enable 20 Enable Enable Enable 30 Enable Enable 40 Enable Enable Enable 50 Enable Enable Enable 60 Enable Enable Enable Enable 70 Enable Enable 80 Enable Enable Enable 90 Enable Enable Enable AO Enable Enable En
15. Message Reason Solution When you issue the ARP S command in Windows The ARP entry addition failed 5 message displays Your currently logged in user does not have the correct rights to use this command on this PC Have someone from your IT department log you in with sufficient rights 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 into port 1 on the UDS CoBox you are only assigning a temporary IP address When you Telnet into port 9999 and do not press Enter quickly the UDS CoBox will reboot causing it to lose the IP address Telnet back into Port 1 Wait for it to fail then Telnet to port 9999 again Make sure you press Enter quickly When you Telnet to port 9999 the message Press Enter to go into Setup Mode displays However nothing happens when you press Enter or your connection is closed You did not press Enter quickly enough You only have 5 seconds to press Enter before the connection is closed Telnet to port 9999 again but press Enter as soon as you see the message Press Enter to go into Setup Mode When you Telnet to port 1 to assign an IP address to the UDS CoBox the Telnet window does not respond for a long time You may have entered the Ethernet address incorre
16. O O01 Go Po jo 255 255 248 0 N wl 255 128 0 0 255 0 0 0 N BK 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 If your network is connected or will be connected to the Internet or if you intend to operate the Device Server on an intranet you should use one of the reserved sub networks Consult your network administrator with questions about IP address assignment 8 4 7 Network RFCs For more information about IP addresses refer to the following documents which can be located on the World Wide Web using one of the following directories or indices e RFC 950 Internet Standard Subnetting Procedure e RFC 1700 Assigned Numbers e RFC 1117 Internet Numbers e RFC 1597 Address Allocation for Private Networks 8 16 UDS 10 User Guide 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 To convert a binary value for example 0010 0011 to a hexadecimal representation the upper and lower four bits are treated separately resulting in a two digit hexadecimal nu
17. R2H filename This will create a filename hex file that you can load via the serial port To download firmware from a computer via the unit s serial port 1 Enter Monitor Mode via the serial port see Monitor Mode on page 7 1 2 Download the firmware to the unit using the DL command 3 Select Send Text File and select the HEX file to be downloaded The downloaded file must be the HEX ASCII version 4 After the final record is received the unit checks the integrity of the firmware image before programming the new firmware in the flash ROM The following message displays when the firmware upgrade is complete NodeSet 2 0 O gt DL 02049 lines loaded 4 6 UDS 10 User Guide 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 Conversely data into the serial port of the Device Server is sent back over the network to the DeviceComm Manager The DeviceComm Manager then presents the data to the customer application as if it were from a local serial COM port Local Customer Serial Ap
18. ad0100 rom NA MultiMaster IAP only AM Modbus AM0144 rom NA Bridge IAP only AQ Standard Standard Tunnel aq0100 rom Standard Tunnel_aq0100wb6 cob IAP only or cbxw300 cob UDS10 Itx45 rom cbxw300 cob UDS 10 User Guide 4 1 Firmware 4 2 1 Via Devicelnstaller After downloading the firmware to your computer or locating the file on your software CD you can use Devicelnstaller 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 Devicelnstaller Device Installer The Device Installer window displays T Devicelnstaller Bik File Edit View Tools Help N P i A IP Address Hardware Address Name Group Fimware Display Group All X Exit Figure 14 Device Installer 4 2 UDS 10 User Guide Firmware 3 Click the Search the network for devices icon y The Search Network window displays Fl Search Network BBE Search Network for Devices Start Search Figure 15 Search Network Window 4 Click the Start Search button A list of all active units on the local network displays 5 Click the Save button A confirmation message displays 6 Click OK 7 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 yo
19. connection Disconnect Disconnect 4 Active connection Disconnect 14 Passive connection Disconnect 24 Active connection Disconnect 34 Passive connection Disconnect Disconnect 44 Active connection Disconnect 54 Disconnect Passive connection Disconnect 64 Disconnect Active connection Disconnect 74 Passive connection Disconnect Disconnect Enable 84 Active connection Disconnect Enable 94 Passive connection Disconnect Enable A4 Active connection Disconnect Enable B4 Passive connection Disconnect Disconnect Enable C4 UDS 10 User Guide Binary to Hex 9 9 Binary to Hex Serial to Network Network to Serial Alternate Hex Packing Clear input buffer upon Clear output buffer upon Algorithm Active connection Disconnect Enable D4 Disconnect Passive connection Disconnect Enable E4 Disconnect Active connection Disconnect Enable F4 Passive connection Disconnect Active connection 5 Disconnect Active connection Active connection 15 Disconnect Passive connection Active connection 25 Disconnect Active connection Active connection 35 Passive connection Disconnect Disconnect Active connection 45 Disconnect Active connection Active connection 55 Disconnect Disconnect Passive connection Active connection 65 Disconnect Disconnect Active connection Active connection 75 Passive connection Disconnect Disconnect Active connection Enable 85 Di
20. of Connect Mode Options in the Binary to Hexadecimal chapter When connecting to the Web Manager within the UDS CoBox the message No Connection With CoBox displays Your computer is not able to connect to port 30718 77FEh on the UDS CoBox Make sure that port 30718 77FEh is not blocked with any router that you are using on the network Also make sure that port 77FEh is not disabled within the Security settings of the UDS CoBox UDS 10 User Guide 6 5 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 Instead of typing three x keys however type zzz or xxl to enter Monitor Mode with network connections Type yyy or yyy to enter Monitor Mode without network connections 3 A 0 gt prompt indicates that you have successfully entered Monitor Mode 7 1 2 Entering Monitor Mode Via the Network Port To enter Monitor Mode using a Telnet connection 4 First establish a Telnet session to the configuration port 9999 The following message appears Serial
21. rather than a large network This method allows the hosts to negotiate with each other and assign addresses in effect creating a small network See Auto lP on page 2 4 Serial Port Login You initially configure the unit through a serial connection See Serial Port Login on page 2 12 These methods are described in the remaining sections of this chapter UDS 10 User Guide 2 3 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 If no DHCP server exists the unit responds with a diagnostic error the red Diagnostic LED blinks continuously and the green Status LED blinks five times This blinking only continues for about 15 seconds You can use the DeviceInstaller software to search the network for the IP your unit has been assigned by the DHCP server and add it to the managed list See Add the Unit to the Manage List later in this chapter 2 3 2 AutolP The unit ships with a default IP address of 0 0 0 0 which automatically enables Auto IP within the unit 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 r
22. the Unit cccccccsceesseesecsecseceseceseceeeeeeeseeeseeeeeseetees 2 2 2 3 Methods of Assigning the IP Address csceecceseeeceereeseceeeeseeeeeceaeeaeeeeenaeeaeees 2 3 DS DHCP searect pa tectsa cet A saat eese 2 4 232 Autol P een ene decsets sustebedag cddivei vexuvecsdecteraevaveeeisbecd iebexseccastecddeacos es 2 4 2 4 Devices ille saaa A 2 5 2 4 1 Install DeviceInstaller Software ccccccccccessscceesssceceesseeeeessaeeeessaaes 2 5 2 4 2 Assign IP Address and Network Class ccccesccssceseeeseeeeeeeseeeseenees 2 6 2 4 3 Test the IP Address ccsicsescraisseccaaisvesatascoeacadsosstassoosatssoosantdeonuaas 2 7 UDS 10 User Guide i Contents 2 4 4 Add the Unit to the Manage List c ce ccccceccseesceesseeteeeeeeeteeseeeeeeeeses 2 8 2 4 5 Opening a Configuration WindOw cccccccsceeseetseeseeeteeetseeteeneees 2 10 25 ARPand Telnet ive a A ccnesbezuaauasonvunsssysvuesgenevansdees ys 2 11 2 6 IEI AOI nA OT a1 E A A A T E tabinedvondustta vets 2 12 3 Configuring the UNniit sccccscscsscssssscssscescccsssccecssssessccsesccessccssssseessessesccessscessscssesees 3 1 3 1 Configuring via Web BrowSer ccccccccssessseesseesseessecssecnseceseceseenseeseeseeeseeeeeneenaes 3 1 3 2 Using Devicelinstaller irinenn esa E A Ea e eA 3 2 3 3 Web Manager Pagere A E EE a R T 3 4 3 3 1 Unit Configuration ccccccccccccscecssecssecssecsecssecesecesecsseeseeeseeeeeeeeeseennes 3 5 3 32 Server Pr
23. 3 17 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 Table 9 Connect Mode Options Startup Connect Mode Option 5 4 3 2 1 0 Incoming Connection Never accept incoming 0 Accept incoming with DTR 0 Accept unconditional 0 Response Nothing quiet 0 Character response C connect 1 D disconnect N unreachable No active startup With any character With active DTR With CR 0x0D only Manual connection Autostart olojolojojo gt ojoj ojo oloj gt gt ojo l Ole O a o Datagram Type Directed UDP Full Verbose 1 1 0 0 Modem Mode 1 0 1 1 0 Without Echo 0 0 1 1 0 1 character Response 1 0 1 1 1 Manual Connection When you use manual connection you are not required to enter the entire IP address if the IP is already configured as the remote IP address in the unit For example if the remote IP address already configured in the unit is 129 1 2 3 then an example command string would be C3 7 This would connect to 129 1 2 3 and port 7 You may also use a different ending for the connection string For example C50 1 23 would connect you to 129 1 50 1 and port 23 UDS 10 U
24. 3 6 9 Flush Mode Buffer Flushing ccccccescceesceesceeceeeeeseeseeeeeeaeens 3 22 3 6 10 Pack Control sarcit iee rea E E EEEE E a 3 23 3 6 11 DisConnTime Inactivity Timeout 00 0 eesceeceeeteeeteeeteeeteeeneees 3 24 3 6 12 Send Characters 00 eccccecesscsseceseseeeecesecaeeeeceaecaeeeeeeeecaeeseseeeeaeeaeees 3 24 3 6 13 Telnet Terminal Type cccccccssccsseceseceseceeeeeeeceeeeeeeeeeseeeseeeaeesaees 3 24 3 6 14 Channel Port Password c ccccccsscesecessceeeceeeceeeeeeeeeeseesseceseenseens 3 24 357 Expert Settings E A desta een tiatetbedtaviebinnerbe teats 3 25 3 7 1 TCP Keepalive time if Soeren e a 3 25 3 8 Security Settings cece cccccscecsceeseeeseeeseeensecseeceseceseceseceeeseeeeeeeeeseeeeeeeeeaeeaees 3 25 37801 Disable SNM P reteta aaen teasee eae aa aaa aa T a 3 25 ji UDS 10 User Guide Contents 3 8 2 SNMP Community Name cccccsccsseceteceseeeeeeeeeeeseeeseeeseeeeeeaeenaees 3 25 3 8 3 Disable Telnet Setup 0 0 ccccccccccccssecsseceneceeceeceeeeseeeeeeeeseeseseeeeeensees 3 26 3 8 4 Disable TFTP Firmware Upgrade cccccccsccesscesceeseeeeeeeeeeeeeesseetees 3 26 3 8 5 Disable Port 77FE Hex ccccccescesecsseceseceseceeeeseeeeeeeeeseeeeeeeeeeeeenaes 3 26 3 8 6 Disable Web Server ceccceccccscecsseessecsteceteceeceecseceeeeeeeeseeeseeeeeseenaees 3 26 3 8 7 Enable Enhanced Password cccccsccsscsssceseceteeeeeeeseeeeeeeeeseeeseeenaees 3 26 3 9 Factory Defa ltS arrie ton
25. 5 DISABLED COM16 DISABLED gt About M Enable Connection Status Status Meaning DISABLED Unused port on your system N A Port being used by other hardware software on your system IDLE An IP address and port number have been associated with the COM port CONNECTED 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 IV Enabled Cancel di Host fi 72 20 197 50 Port fi 0001 4 Select the Enabled check box 5 Type in the IP address of the target device server in the Host section UDS 10 User Guide 5 3 Firmware 6 Enter the Port number of the target device server in the Port section Click OK when done Please Note Because this is a raw mode redirector 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 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 Increasing the Read Network Timeout and the Write Network Timeout values may help the situation Network latency varies depending on a number of factors You can get a rough idea of the delay at a given time by pinging the device server from
26. AC10010B4C0200001127000000000000C000 000011 gt 2Z0002Z010000000000000000000000000000000000000000000000000000000000000 0000B0 200040104C0200001227000000000000c00000000000000000000000000000000000 000049 1800601000000000000000000000000000000000000000000000000078 00000001FF Figure 20 Sample Setup Record in Intel Hex Format 8 2 1 Acquiring a Valid Setup Record There are a number of ways to acquire a valid setup record e Copy the setup record of a properly configured Device Server via Monitor Mode easiest method e Request the setup record of a properly configured Device Server via another Device Server on the network Build the setup record in software e From a host PC request the setup record of a properly configured Device Server via UDP To copy the setup record of a properly configured Device Server 1 Configure a master Device Server with the desired parameters 2 Enter Monitor Mode on the master Device Server see Monitor Mode on page 7 1 3 At the prompt enter GC followed by a carriage return The Device Server will respond with its setup record in Intel Hex format 4 Copy the setup record into a text file and save it for future use UDS 10 User Guide 8 3 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
27. AP 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 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
28. DS 10 User Guide 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 Use the following table to select Connect Mode options Table 27 Connect Mode Options Connect Mode Option 7 6 5 4 3 2 1 0 Incoming Connection Never accept incoming 0 0 0 Accept incoming with DTR 0 1 0 Accept unconditional 1 1 0 Response Nothing quiet 0 Character response C conn D disconn N unreachable Startup No active startup 0 0 0 0 With any character 0 0 0 1 With active DTR 0 o 1 0 With CR 0x0D only 0 0 1 1 Manual connection 0 1 0 0 Autostart 0 1 0 1 Datagram Type Directed UDP 1 1 0 0 Full Verbose 1 0 1 1 0 Without Echo 0 0 1 1 0 1 character Response 1 0 1 1 1 Note See Table 35 Binary to Hexadecimal Conversion Table UDS 10 User Guide 8 11 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 17 6 5 14 13 12 1 JO Disconnect with DTR drop 14 Ignore DTR 0 Telnet mode and terminal type setup Channel port password 1 Hard disconnect 0 Disable hard disconnect 1 ae LED off with connection
29. Messages Request Configuration from 192 168 100 77 Received 124 Bytes from 192 168 100 77 Received 130 Bytes from 192 168 100 77 Settings successfully received The Device IP Address is shown in the first field This is the device selected in the Devicelnstaller main window In the Configuration File field click the Open File button to select a filename for the configuration file Click the Get button and the file information is read from the device and saved in the selected file UDS 10 User Guide 3 27 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 T Set Configuration x Target Device IP Address 192 168 100 77 Configuration File C Program Files Devicelnstallerstest cfg C Status Messages Bytes Received 4 Bytes from 192 168 100 77 Configuration of 192 168 100 77 successfull has The Device IP Address is shown in the first field This is the device selected in the Devicelnstaller main window In the Configuration File field click the Open File button to select a configuration file Click the Set button and the file information is read and stored in the device 3 28 UDS 10 User Guide Firmware 4 Updatin
30. Network SEI Search Network for Devices Start Search PC Network Class G Response from 192 168 100 77 Figure 8 Search Network Window 2 Select the PC Network Class Class C is the default 3 Click the Start Search button A list of all active units displays 4 Click the Save button A confirmation message displays 5 Click OK 2 8 UDS 10 User Guide Getting Started 6 Click the Back button to return to the Devicelnstaller window The Devicelnstaller 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 F Devicelnstaller B x File Edit View Tools Help N EA ee ee gt EPRIEERT 00 20 44 72 46 71 Display Group fa X Exit Figure 9 Devices in a Group Now you can manage configure the unit so that it works with the serial device on the network UDS 10 User Guide 2 9 Getting Started 2 4 5 Opening a Configuration Window 1 Click the Manage icon il The Device Management window displays T Device Management ie E 3 Web Configuration Gl Get Configuration Set Configuration ad Telnet to Device le Figure 10 Device Management Window 2 Do one of the following iF e To configure the unit via a Web browser click the Web Configuration icon GE The Lantronix Web Manager window displays in your browser For Web Configuration se
31. Number 1400280 MAC address 00 20 4A 14 01 18 Software Version 4 3 xxxxxx Press Enter to go into Setup Mode 5 Type M upper case A 0 gt prompt indicates that you have successfully entered Monitor Mode 7 1 3 Monitor Mode Commands The following commands are available in Monitor Mode Many commands have an IP address as an optional parameter xxx xxx xxx xxx If the IP address is given the command is applied to another Device Server with that IP address If no IP address is given the command is executed locally UDS 10 User Guide 7 1 Monitor Mode Table 17 Monitor Mode Commands Command Command Name Function DL Download Download firmware to the Device Server via the serial port in hex format SF X X X X Send Firmware Send firmware to Device Server with IP address X X X X VS X X X X Version Query software header record 16 bytes of Device Server with IP address x x x x GC x X X X Get Configuration Get configuration of Device Server with IP address x x x x as hex records 120 bytes SC X X X X Send Configuration Set configuration of Device Server with IP address X X X X from hex records PI x x xX x Ping Ping Device Server with IP address x x x x to check device status AT ARP Table Show the Device Server s ARP table entries TT TCP Connection Shows all incoming and outgoing TCP Table connections NC Network Connection Shows the Device Server s IP configura
32. P 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 The range of AutoIP addresses is not to be used over the Internet Auto Negotiate Clause 28 of the IEEE 802 3u standard specifies a MAC sublayer for the identification of the speed and duplex mode of connection being supported by a device Support of this feature is optional for individual vendors Auto sense Ability of a 10 100 Ethernet device to interpret the speed or duplex mode of the attached device and to adjust to that rate Official term is Auto Negotiation in Clause 28 of the IEEE 802 3u standard AUI Attachment Unit Interface A 15 pin shielded twisted pair Ethernet cable used optionally to connect between network devices and a MAU Autobaud Automatic determination and matching of transmission speed Backbone The main cable in a network Bandwidth on Demand Feature that allows a remote access device to initiate a second connection to a particular site to increase the amount of data transferred to that site to increase the desired threshold The network manager configuring the remote access server will specify a number of bits or a percentage of connection bandwidth threshold which will trigger the secondary connection Multilink PPP is an emerging standard to allow this feature to be i
33. The following table demonstrates how to build some common Interface Mode settings Table 24 Common Interface Mode Settings Option Binary Hex RS 232C 8 bit No Parity 1 stop bit 0100 1100 4C RS 232C 7 bit Even Parity 1 stop bit 0111 1000 78 RS 485 2 Wire 8 bit No Parity 1 stop bit 0100 1111 4F RS 422 8 bit Odd Parity 2 stop bits 1101 1101 DD 1 The UDS 10 requires you to choose the correct setting in the IF mode Note See Table 35 Binary to Hexadecimal Conversion Table UDS 10 User Guide 8 9 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 Hex bps 38400 00 19200 01 9600 02 4800 03 2400 04 1200 05 600 06 300 07 115200 08 57600 09 8 3 4 Flow Control Flow control sets the local handshaking method for stopping serial input output Generally flow control is not required if the connection is used to pass a blocked protocol with block sizes less than 1k ACK NAK and or speeds of 19200 or less Use the following table to select Flow Control options Table 26 Flow Control Options Option Hex No flow control 00 XON XOFF flow control 01 Hardware handshake with RTS CTS lines 02 XON XOFF pass characters to host 05 U
34. This setting allows you to disable the SNMP protocol on the unit for security reasons 3 8 2 SNMP Community Name This option allows you to change the SNMP Community Name on the unit This allows for ease of management and possibly some security If someone tries to violate security but doesn t know what community to connect to that person will be unable to get the SNMP community information from the unit UDS 10 User Guide 3 25 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 hex file over the serial port of the unit 3 8 5 Disable Port 77FE Hex Port 77FE is a setting that allows DevicelInstaller Web Pages and custom programs to configure the unit remotely You may wish to disable this capability for security purposes For more information about remote configuration see the Lantronix Embedded Integration Kit user guide on the Lantronix Web site www lantronix com The default setting is the N No option which enables remote configuration You can configure the unit by using Devicelnstaller Web pages Te
35. Two s Complement ccccccescceseceteceteeeeeeeeeeeeeeeaes 8 6 8 3 Setup RECOLSs ss tsavestapcts Sedastascdsseveachuagcansoiaessnendagessentetuanesdeusseoenaa E a E AR 8 7 8 371 Channel Parameters ivin aneen e aiae e tees 8 8 UDS 10 User Guide iii Contents 8 3 2 Interface Mode aain ATEA 8 9 8 3 3 Baud RAE e a S 8 10 SoA Flow Cono enia eR AEEA A ee 8 10 eK EE iT E EE E E O A E E E A AS 8 11 8 3 6 Disconnect Mole sisiraan s a aA aaa 8 12 8 3 7 Flush Mode Buffer Flushing JKE Check the modifications to 3 6 98 13 8 3 8 Pack Control aee a a Se T AOE 8 13 8 4 IP Addresses ucraniana A A NN ES 8 14 8 4 1 Network Portions merir euna E E A E 8 14 8 42 Subnet POTON ungaran na na a e RAAE aS 8 14 8 43 Host PONO a AEn e T A E A aes 8 15 8 4 4 Network Address encarir aia 8 15 8 4 5 Broadcast Address cccccccccssscccessssceceessececeeseeecseseeeceestseeeseneeeeens 8 15 8 4 6 Private IP Networks and the Internet cece ceceecccceesseceeeeneeeeeens 8 16 8 47 Network RECSi22 scitind bite betel S eee dnd aiid 8 16 9 Binary to Hex Conversion esssesssesssecssecsseossoossecssocssocssoossoossoossoossoossoosssosssosssosssosssosssse 9 1 9 1 Connect Mod Options ieoten a ana akioa a Ea aE ee 9 2 9 2 Disconnect Mode Options ccccccssesssesseeesceesceeeeceecsseceseceseceseeneeeseeeneeeeeneeenes 9 5 9 3 Flush Mode Buffer Flushing Options ccccccsccssscsteceteceteeeeeceeeeeseeeeeeesneeene
36. VDC can be used You can order the UDS 10 with a 11OVAC UDS 10 01 or 230VAC UDS 10 02 power supply Ne s 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 Standard Tunnel UDS 10 and UDS 10 IAP Modbus UDS 10 Protocols IAP 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 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 20z Temperature Operating range 5 to 50 C 41to122 F Max temperature change per hour 20 C 36 F Storage range 40 to 66 C 40 to 151 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 BOOTP TFTP and HTTP Network Interface RJ 45 10Base T Ethernet Data Rates 300 bps to 115 200 bps Serial Line Formats C
37. able Enable BO Enable Enable Enable co Enable Enable Enable Enable DO Enable Enable Enable Enable E0 Enable Enable Enable Enable Enable FO Enable Enable 1 Enable Enable Enable 11 Enable Enable Enable 21 Enable Enable Enable Enable 31 Enable Enable Enable 41 Enable Enable Enable Enable 51 Enable Enable Enable Enable 61 Enable Enable Enable Enable Enable 71 Enable Enable Enable 81 Enable Enable Enable Enable 91 Enable Enable Enable Enable A1 Enable Enable Enable Enable Enable B1 Enable Enable Enable Enable C1 Enable Enable Enable Enable Enable D1 Enable Enable Enable Enable Enable E1 Enable Enable Enable Enable Enable Enable F1 Disable 8 Enable Disable 18 Disable Enable 28 Enable Disable Enable 38 UDS 10 User Guide 9 5 Binary to Hex Disconnect Telnet Mode and Channel port Hard State LED Disconnect Hex with DTR Terminal Type Password Disconnect Off with with EOT 4D Drop Setup Connection Note Enable Disable 48 Enable Enable Disable 58 Enable Disable Enable 68 Enable Enable Disable Enable 78 Enable Disable 88 Enable Enable Disable 98 Enable Disable Enable A8 Enable Enable Disable Enable B8 Enable Enable Disable C8 Enable Enable Enable Disable D8 Enable Enable Disable Enable E8 Enable Enable Enable Disable Enable F8 Disable Enable 9 Enable Disable Enable 19 Disable Enable Enable 29 Enable Disable Enable Ena
38. age 2 3 for more information about IP addressing 3 5 2 Set Gateway IP Address The gateway address or router allows communication to other LAN segments The gateway address should be the IP address of the router connected to the same LAN segment as the unit The gateway address must be within the local network 3 12 UDS 10 User Guide 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 Table 4 Standard IP Network Netmasks Network Class Host Bits Netmask A 24 255 0 0 0 B 16 255 255 0 0 C 8 255 255 255 0 Table 5 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 gt 2 0 0 N OD oO AJOJN O Nh oO 255 128 0 0 255 0 0 0 N UDS 10 User Guide 3 13 Configure 3 5 4 Change Telnet configuration password Setting the Telnet configuration password prevents unauthorized access of the setup menu via a Teln
39. ange Setup not IAP firmware Server configuration Channel 1 configuration 0 1 5 Expert settings not IAP firmware 6 Security 7 Factory defaults 8 Exit without save 9 Save and exit Your choice Figure 13 Setup Mode Window UDS 10 User Guide 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 You have one second to enter three lowercase x characters xxx 10 At this point the screen display is the same as when you use a Telnet connection To continue with a serial port login go to Using a Telnet Connection on page 3 10 3 5 Server Configuration Network Configuration These are the unit s basic network parameters The following parameters are displayed when you select Server configuration IP Address 000 000 000 000 Set Gateway IP Address N Netmask Number of Bits for Host Part 0 default 00 Change telnet config password N 3 5 1 IP Address The IP address must be set to a unique value in your network See Methods of Assigning the IP Address on p
40. ange of IP addresses from 169 254 0 1 to 169 254 255 254 has been explicitly reserved for AutoIP enabled devices The range of Auto IP addresses is not to be used over the Internet If your unit cannot find a DHCP server and you have not manually assigned an IP address to it the unit automatically selects an address from the AutoIP reserved range Then your unit sends out a ARP request to other nodes on the same network to see whether the selected address is being used If the selected address is not in use then the unit uses it for local subnet communication e Ifanother device is using the selected IP address the unit selects another address from the AutoIP range and reboots itself After reboot the unit sends out another ARP request to see if the selected address is in use and so on AutoIP is not intended to replace DHCP The unit will continue to look for a DHCP server on the network If a DHCP server is found the unit will switch to the DHCP server provided address and reboot 2 4 UDS 10 User Guide 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 Devicelnstaller You can manually assign the IP address using DevicelInstaller 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 Devicelnstall
41. at 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 UDS 10 User Guide Introduction 1 10 Dimensions The UDS 10 dimensions are shown in the following drawing 6 4cm 2 5 in lt _ aS S K a aaa Ne cm 3 5 in N aia My N 2 3 cm 0 9 in N WN his ia 1 11 Product Information Label The product information label contains important information about your specific unit S N 2447938 N _ Serial Number UDS 10B Part Number 00 20 4A 24 BB 42 MAC ID Rev D12 Revision Made in USA 1 12 Software Support Devicelnstaller is a powerful software utility for configuring device servers from a network connection For more information see Using Devicelnstaller 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 30
42. atagram 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 U 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 LOBASE T connector is available for Ethernet access It will support network speeds of 10Mbps The UDS 10B board comes with various power supply options e a power jack for 9 30 VDC or 9 24 VAC with maximum 140mA e po
43. ble 39 Enable Disable Enable 49 Enable Enable Disable Enable 59 Enable Disable Enable Enable 69 Enable Enable Disable Enable Enable 79 Enable Disable Enable 89 Enable Enable Disable Enable Enable 99 Enable Disable Enable Enable A9 Enable Enable Disable Enable Enable B9 Enable Enable Disable Enable c9 Enable Enable Enable Disable Enable D9 Enable Enable Disable Enable Enable E9 Enable Enable Enable Disable Enable Enable F9 9 6 UDS 10 User Guide Binary to Hex 9 3 Flush Mode Buffer Flushing Options Table 39 Flush Mode Options Serial to Network Network to Serial Alternate Hex Packing Clear input buffer upon Clear output buffer upon Algorithm None 0 Active connection 10 Passive connection 20 Active connection 30 Passive connection Disconnect 40 Active connection 50 Disconnect Passive connection 60 Disconnect Active connection 70 Passive connection Disconnect Enable 80 Active connection Enable 90 Passive connection Enable AO Active connection Enable BO Passive connection Disconnect Enable Co Active connection Enable DO Disconnect Passive connection Enable EO Disconnect Active connection Enable FO Passive connection Disconnect Active connection 1 Active connection Active connection 11 Passive connection Active connection 21 Active connection Active connection 31 Passive connection Disconnect Active connection 41 Active connection Active con
44. bnet and the host 8 4 1 Network Portion The network portion of the IP address is determined by the network type Class A B or C Table 31 Network Portion of IP Address Network Class Network Portion of Address Class A First byte 2nd 3rd and 4th bytes are the host Class B First 2 bytes 3rd and 4th bytes are the host Class C First 3 bytes 4th byte is the host In most network examples the host portion of the address is set to zero Table 32 Available IP Addresses Class Reserved Available A 0 0 0 0 1 0 0 0 to 126 0 0 0 127 0 0 0 B 128 0 0 0 128 1 0 0 to 191 254 0 0 191 255 0 0 C 192 0 0 0 192 0 1 0 to 223 255 254 0 223 255 255 0 D E 224 0 0 0 to 255 255 255 254 None Check this 255 255 255 255 Consider the IP address 36 1 3 4 This address is a Class A address therefore the network portion of the address is 36 0 0 0 and the host portion is 1 3 4 8 4 2 Subnet Portion The subnet portion of the IP address represents which sub network the address is from Sub networks are formed when an IP network is broken down into smaller networks using a subnet mask 8 14 UDS 10 User Guide 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 o
45. cables described in Serial Interface Connection on page 1 9 to connect a PC COM port to the UDS 10 Ethernet 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 4 Supply power to the serial device 2 2 UDS 10 User Guide 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 Devicelnstaller You manually assign the IP address using a graphical user interface Recommended GUI on a PC attached to a network See Devicelnstaller on page 2 5 ARP and Telnet You manually assign the IP address and other network settings at a command prompt using a UNIX or Windows based system Only one person at a time can be logged into the configuration port port 9999 This eliminates the possibility of several people simultaneously attempting to configure the unit See ARP and Telnet on page 2 11 AutolP This automatic method is appropriate when you have a small group of hosts
46. cations 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 amp 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 Al 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 amp Interrupts Test L V D Directive 73 23 EEC Supplementa
47. ce character this option helps to adapt frame transmission to the frame boundary UDS 10 User Guide 3 23 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 3 6 11 DisConnTime Inactivity Timeout Use this parameter to set an inactivity timeout The connection is dropped if there is no activity on the serial line before the set time expires Enter time in the following format mm ss where m is the number of minutes and s is the number of seconds To disable the inactivity timeout enter 00 00 3 6 12 Send Characters You can enter up to two characters in hexadecimal representation in the parameters sendchar If a character received on the serial line matches one of these characters it is sent immediately along with any awaiting characters to the TCP connection This minimizes the response time for specific protocol characters on the serial line for example ETX EOT etc Setting the first sendchar to 00 disables the recognition of the characters Alternatively the two characters can be interpreted as a sequence see Pack Control on page 3 23
48. ctly with the ARP command Confirm that the Ethernet address that you entered with the ARP command is correct The Ethernet address may only include numbers 0 9 and letters A F In Windows and usually in Unix the segments of the Ethernet address are separated by dashes In some forms of Unix the Ethernet address is segmented with colons The IP address you are trying to assign is not on your logical subnet Confirm that your PC has an IP address and that it is in the same logical subnet that you are trying to assign to the UDS CoBox The UDS CoBox may not be plugged into the network properly Make sure that the Link LED is lit If the Link LED is not lit then the UDS CoBox is not properly plugged into the network When you try to assign an IP with Device Installer you get the following message No response from device Verify the IP Hardware address and Network Class Please try again The cause is most likely one of the following The Hardware address you specified is incorrect The IP address you are trying to assign is not a valid IP for your logical subnet You did not choose the correct subnet mask Double check the parameters that you specified Tip You cannot assign an IP address to a UDS CoBox through a router UDS 10 User Guide 6 3 Troubleshooting Problem Message Reason Solution No LEDs are lit The unit or its power supply is Change power s
49. data for network users and provides network access to that data UDS 10 User Guide 11 5 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 Forwarding Process whereby an Ethernet switch or bridge reads the contents of a packet and then passes that packet on to the appropriate attached segment A forwarding rate is the time that it takes the device to execute all of the steps Flash ROM See ROM Framing Dividing data for transmission into groups of bits and adding a header and a check sequence to form a frame FTP File Transfer Protocol a TCP IP protocol for file transfer Full Duplex Independent simultaneous two way transmission in both directions as opposed to half duplex transmission Gateway A device for interconnecting two or more dissimilar networks It can translate all protocol levels from the Physical layer up through the Applications layer of the OSI model and can therefore interconnect entities that differ in all details Hardware Address See Network Address Header The initial part of a data packet or frame c
50. des 1 OBASE2 1 OBASES 1 OBASE FL and 1OBASE T Ethernet implementations Internet A series of interconnected local regional national and international networks linked using TCP IP Internet links many government university and research sites It provides E mail remote login and file transfer services Internetworking General term used to describe the industry composed of products and technologies used to link networks together IP Address See Network Address UDS 10 User Guide 11 7 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 Its Open Systems Interconnection OSI reference model specifies how dissimilar computing devices such as Network Interface Cards NICs bridges and routers exchange data over a network The model consists of seven layers From lowest to highest they are Physical Data Link Network Transport Session Presentation and Application Each layer performs services for the layer above it Jabber Network error caused by an interface card placing corrupted data on the network Or an error condition due to an Ethe
51. device UDS 10 User Guide 3 3 Configure 3 3 Web Manager 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 ZJ Lantronix WEB Manager Microsoft Internet Explorer File Edt View Favorites Tools Help a H a iy a 6 ala u 3 Ey Back Forward Stop Refresh Home Search Favorites Histo Mail Print Address hitp 132 168 100 77 7 Go Links ve LANTRONIX Lantronix Web Manager Tech Support Back to Web Manager Version 3 0 FTP Site Contact Us Selected Channel 1 Server Configuration Product antoni Universal Device Server Server Properties Menu Model Eremt2hanm L PotProperies Firmware Version Moo o e yia uber paa o Facto Settings Hardware Address masen s p aes pasea Select Channel subnet Mask mss Channett Gateway Address pmo _ nenet Figure 11 Lantronix Web Manager Web Manager 3 0 has the following buttons Unit Configuration Server Properties Port Properties Factory Settings1 also Factory Settings2 for devices with two serial channels Update Settings Channel 1 also Channel 2 for devices with two serial channels Tech Support FTP Site Back to Web Manager Contact Us 1 Use the menu pushbuttons to navigate to sub pages where you can configure ser
52. dia 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 docume
53. duplicate IP address on the network the LEDs on the UDS CoBox should flash a sequence that tells you this If you do not get a response use the serial port to verify that Telnet is not disabled With Device Installer you get the Wrong Password error when you try to upgrade the firmware You have chosen the incorrect setting for the Existing Firmware field Try upgrading the firmware again but make sure to use the correct setting in the field of Existing Firmware field UDS 10 User Guide 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 Another possibility is that the UDS CoBox is not set up correctly to make a good socket connection to the network You can check to see whether there is a socket connection to or from the UDS CoBox by looking at the Status LED If the Status LED is blinking consistently then there is a good socket connection If the Status LED is solid green then the socket connection does not exist Use the Connect Mode option CO for making a connection to the UDS CoBox from the network Use Connect Mode option C1 or C5 for a connection to the network from the UDS CoBox See the full list
54. e 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 sin
55. e Web Manager Page on page 3 4 e To configure the unit via a Telnet session click the Telnet to Device icon The Setup Mode window displays For Telnet Configuration see Using a Telnet Connection on page 3 10 3 Continue with the appropriate configuration procedure described in the next chapter To Get Configuration information see Get Configuration on page 3 27 To Set Configuration of a specific device see Set Configuration on page 3 28 2 10 UDS 10 User Guide 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 Ona UNIX or Windows based host create an entry in the host s ARP table using the intended IP address and the hardware address of the unit which is found on the product label on the bottom of the unit Some UNIX hosts use colons between hardware octets and some use dashes All Windows hosts use dashes arp s 191 12 3 77 00 20 4a xx xx xx 2 Ifyou are using Windows 95 type ARP A at the DOS command prompt to verify that there is at least one entry in the ARP table If the local machine i
56. e with a serial port login go to Using a Telnet Connection on page 3 10 2 12 UDS 10 User Guide 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 e Use a standard Web browser to access the unit s internal Web pages and configure the unit over the network This is the easiest and preferred method e Use a Telnet connection to configure the unit over the network e Usea terminal or terminal emulation program to access the serial port locally The unit s configuration is stored in nonvolatile memory NVRam and is retained without power You can change the configuration at any time The unit performs a reset after the configuration has been changed and stored 3 1 Configuring via Web Browser Open your JAVA enabled web browser and enter the IP address The Lantronix Web Manager page will display Go to Web Manager Page for a summary of the menu selections UDS 10 User Guide 3 1 Configure 3 2 Using Devicelnstaller Devicelnstaller 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
57. ection RMON SNMP based standard for reporting various network conditions RMON has 10 different management groups which provide detailed information about a network Rlogin Rlogin is an application that provides a terminal interface between UNIX hosts using the TCP IP network protocol Unlike Telnet Rlogin assumes the remote host is or behaves like a UNIX machine ROM Read Only Memory a memory device that retains its information even when power to it is removed A ROM version of a network device does not need to download since the ROM contains the entire executable code and thus never needs to reload it Frequently the ROM is provided as flash ROM which can be reprogrammed by downloading if the user chooses UDS 10 User Guide 11 13 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 Server A computer that provides resources to be shared on the network such as files file server or terminals terminal server Session A connection to a network service Shared Ethernet Ethernet configuration in which a number of segments are bound together in a single collisi
58. ed Output Buffer Network to Serial Clear with a connection that is initiated from the 1 UDS to the network Clear with a connection initiated from the network 1 to the UDS Clear when the network connection to or from the 1 UDS is disconnected Alternate Packing Algorithm Pack Control Enable 1 Note See Table 35 Binary to Hexadecimal Conversion Table 8 3 8 Pack Control Alternate packing algorithm settings are enabled in Flush Mode Use the following table to select Pack Control options Table 30 Pack Control Options Option 7 6 5 4 3 2 11 0 Idle Time Force transmit 12ms Force transmit 52ms Force transmit 250ms Force transmit 5sec Trailing Characters None 010 One Two 110 Send Characters Sendchars Define 2 Byte Sequence 1 Send Immediately After Sendchars 1 lolo O j o UDS 10 User Guide 8 13 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 anumber from 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 su
59. ed in standard decimal dot notation si Network Bits Host Bits Netmask Classa 8 24 255 0 0 0 Casse 24 8 255 255 255 0 gs 255 255 255 252 2 255 255 255 248 3 10 11 Bo o T 3 ao aaa 255 128 0 0 2 255 0 0 0 24 10 2 UDS 10 User Guide 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 If you have any questions about IP assignment consult your Network Administrator 172 16 x x 192 168 0 x 10 8 Network RFCs For more information regarding IP addressing see the following documents These can be located on the World Wide Web using one of the directories or indices RFC 950 Internet Standard Subnetting Procedure RFC 1700 Assigned Numbers RFC 1117 Internet Numbers RFC 1597 Address Allocation for Private Internets UDS 10 User Guide 10 3 Glossary of Terms 11 Glossary of Terms 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 AutolP AutolP is an alternative to DHC
60. eeeeeceeeeeeeseeeseeesaessaeesaees 3 21 Table 13 Flush Mode Options c cccsccssscssecssecenscessceeeseeesseeesecesesesenessnessusesseessuesauesenees 3 22 Table 14 Pack Control Options ccccccsseessecsseceseceseceseceseenseceeeeseeeseneeeeeseseeeseeeseesaeenaees 3 23 Table 15 Protocol Firmware ccceccesesesseceseeseeeecsecaeeeecesceaecaeeeceseeceaeeaeeeeeaecaeeereeaeenaeenees 4 1 Table 16 Problems and Error Messages ccsccssscssseeeseeeeeeeeeeseeeeeeesseecseecsaecaesereneeeenneeaes 6 3 Table 17 Monitor Mode Commands ccsccescesecessceeeeeseeeeceeeneeeseeeseecseecsaecuecnaeeneenaeeaas 7 2 Table 18 Command Response Codes c cccssesssesseceseeseeeeseeseeeeeneeeseesseecseecaaecaeenaeenteeeneeaes 7 2 Table 19 UDP Confietirationisss ssss cei ssacscctatevs cea sstvasceavetacanguvseaadesutecsasoeid ostaevaceupacecedseoune case 8 1 Table 20 Block Types nrerin ee e EE EEE cade soaceasctsseleatestececadecadtanesoveceut 8 5 Table 21 Setup Record Comnstruction cccccecccesscesecessesesceseeeeeeeeeeeeseeeseecseecsaecaeceseenaeenaeeaes 8 7 Tabl e 22 Channel Parameters 23 c sa3ccatcoadestesndaessedsstes thane cheds shuteaveaadanstediouneductech ovasacneteaneauls 8 8 Table 23 Interface Mode Options ccccsccsssceseceseceseceeeceseeseceseseeesecsaecaeceaeceaeeereseeeeneeeass 8 9 Table 24 Common Interface Mode Settings c ccesccsscssececeeeseeeeeeseecseecssecseeenseenaeense
61. eeeeeseeeseeeseecsaecssecnsesnaeenaeenes 1 6 tA IP AGALGSS sic ccscreseceeesestecrascctesiennedectescte deus buesceusvedectacsdeetiauvedeedcascecesshetes 1 6 tA Port INUIMDER ansaa TAO 1 6 LS Serial Interi CE ae R T OAT OAOA OOO 1 7 1 6 RJ 45 Ethernet Interface cece ccccccccesscceceessececeessececsesseeecseseeeceesteeeceerteeeesens 1 7 LF Bthermet Cables E E E E E A E N E A N 1 8 1 8 Serial Interface Connection s rers irri irii A E E OERA ANEAN 1 9 S20 3 DY ape EE EE EEI AE E A EE E E T 1 10 KIO Dmna N 1 11 1 11 Product Information Label 0 cece cccecscccssssceceesssceceesssceceesssseceesseseeeesseseees 1 11 1 12 Software Supportaci iiiaae aE e E E E ESS 1 11 1 13 Power Requirement csssceceaseo ieasenessdaas aageuasetascshsonesadas ervedadowasgeasboiacdadoonce 1 12 FIAR oN E rE E hovustascaveasisdecteeabaeneusasteceteabaeteloasdestntebectensaiee 1 12 1 15 Technical Specifications 2 0 ccccccecssecssecsseceeceeceseceseeseeneeeseeeeeseseseeseeeeessaes 1 13 2 Getting Started oncsiissseciscesssssesssnecssoosssssconsneescesnsesssvappecoseonsanssuasscsecoossedssaushevobsossesssaansesecehoe 2 1 2 1 Addresses and Port Number cucrcnnacacinrenann 2 1 2 1 1 Ethernet MAC Address 0 cccccccccccsssceesseceesecesseccsseesesseseeseeceseeeesas 2 1 2 1 2 Internet Protocol IP ACress cccccccccesseceesccceseceesseceessecesseceseeeeses 2 1 Dell Port NUMBER sisccdcssicssia ch ianades Gadain beled N 2 2 2 2 Physically Connecting
62. en Parity 1 stop bit 0111 1000 78 RS 485 2 Wire 8 bit No Parity 1 stop bit 0100 1111 4F RS 422 8 bit Odd Parity 1 stop bit 0101 1101 5D 1 The UDS 10 requires you to choose the correct setting in the IF mode UDS 10 User Guide Configure 3 6 3 Flow Flow control sets the local handshake method for stopping serial input output Table 8 Flow Control Options Flow Control Option Hex No flow control 00 XON XOFF flow control 01 Hardware handshake with RTS CTS lines 02 XON XOFF pass characters to host 05 3 6 4 Port Number The setting represents the source port number in TCP connections and is the number used to identify the channel for remote initiating connections Default setting for Port 1 is 10001 Range 0 65535 except for the following reserved port numbers Port Numbers Reserved for 1 1024 Reserved well known ports 9999 Telnet setup 14000 14009 Reserved 30718 Reserved 77FEh Recommended ports should be used for DeviceComm calles tite Manager COM1 COM256 or direct socket connections The port number functions as the TCP UDP source port number for outgoing packets Packets sent to the unit with this port number are received to this channel The port number selected is the Incoming TCP UDP port and Outgoing TCP UDP source port Port 0 is used when you want the outgoing source port to change with each connection UDS 10 User Guide
63. eneaes 5 2 Figure 20 Sample Setup Record in Intel Hex Format sssseseeseesseesssseeeesrserereessssesrresees 8 3 UDS 10 User Guide V Contents List of Tables Table 1 Ethernet Interface Signals ccccccccssecsseceseceseceseceeeseeeseeeeseecseecsaecnaeenseenseenseenes 1 8 Table 2 UDS 10 LED Functions ree iii E a EKE ENEE EERE 1 10 Table 3 Technical Spets wx sieccieccrcctevecewnenundcatssatesusteswecssaeszeeseaces IE E RE REEE 1 13 Table 4 Standard IP Network NetmaskS ccccesccesecesscessceeeeeeeeeeeeeeeeeeeeesaeesseeeeeeeeeaaees 3 13 Table 5 Netmask Examples cccccscccssessseessecssecsseceaecnseceseceseeneeseeeseeeseaeeeseeeseeeeessaeeaeens 3 13 Table 6 Interface Mode Options cccccccssecssecstecsteceseceseceseceseeneeeseeeseeeseseeeseeeseeeeeeaeeaaees 3 15 Table 7 Common Interface Mode Settings ccccsscssecsseceseceneeeeeeeeeeseeeeseeeseeseeeseeensees 3 16 Table 8 Flow Control Options ccccecccecscessseeseeescecceeseceseceseeneeeseeeseeeseeeesseeeseeeeecsaeenaees 3 17 Table 9 Connect Mode Options cccccccssecssecsteceseceseceseceseceseeeeeeseeeseeeseseeeaeeeseeesaesaeeaaees 3 18 Table 10 Manual Connection Address Example c cscescceceeseeesceeceeeeeeeeeceaeeaeeeneeaeenee 3 19 Table 11 Modem Mode Commands eseeceeseeseeseeeseesecseeeceeseceaeeaeseceaeeaesereeaeceeeneeaeenee 3 20 Table 12 Disconnect Mode Options cccssccsseceseceseceseceeceeceeees
64. enes 8 9 Table 25 Baud Rate Settings 20 0 0 ccccccscccseessecsecsseceseceseceseceseeseeeseeeseeeseseseseeeseeeaeessaeeaaees 8 10 Table 26 Flow Control Options seessesesssessessrosesseesseseessessrssessensrosseseessesoessessesseesosseeee 8 10 Table 27 Connect Mode Options cccccssccssecsseceseceseceseceseceeeeeeeeseeeseeeseeeseaeeeseeeaeesaeeaaees 8 11 Table 28 Disconnect Mode Options ccccssecssecsseceeceseceeceseceeeeseeeeeeeseeeseaeeeseeeaeessaeesaees 8 12 Table 29 Flush Mode Options sesimin oin R E A TEA 8 13 Table 30 Pack Control Options 0 cccccecssecssecssecseceseceseceseceseeneeseeeseeeseeeseaeeeseeeaeeeaeesaees 8 13 Table 31 Network Portion of IP Address ccccesccesscesscessceeeeeeeeeeeeseeeeseeesaeensecnasenseenaeens 8 14 Table 32 Available IP Addresses cccescesseescesessseeseesecseeeseeseceaeeseeseceeceaesaeeeeeaecaeeeneeaeenee 8 14 Table 33 Standard IP Network Netimasks c cccsccescesscessceeeceeeeeeeeeeeeeeeeesaeesseeeeeeaeeaaees 8 15 Table 34 Netmask Examples 3 ociisisscdocsleeedtotescbessdoaceesaaaesaesebsaneehaesdoedaveastiasaecdnenganlentelonees 8 16 Table 35 Binary to Hexadecimal Conversion Table cccecccecsseeseeseecseenecseeeeenteenaeenes 9 1 Table 36 Connect Mode Options ccccesccesecesscessceeceecseeeseeeesseceaeecseecseecseecaeenaeenseenseenes 9 2 Table 37 Connect Mode Options for Modem Emulation c cccccccsceesseee
65. er Guide Firmware 4 Inthe Destination File field enter the current internal operational code or WEBS for the internal Web interface For UDS 10 IAP AQ Standard Tunnel AM Modbus AD DF1 For UDS 10 3Q Standard Tunnel 5 Inthe 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 3 Via Another Unit To distribute firmware to another unit over the network 1 Enter the host unit s Monitor Mode see Monitor Mode on page 7 1 2 Send the firmware to the receiving unit using the SF command where x x x x is the receiving unit s IP address SF X X X X The receiving unit performs a power reset after the firmware has been loaded and stored UDS 10 User Guide 4 5 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 ROM file into the same directory on a PC then open a DOS Window to that directory and type C
66. er No active startup Hostlist N A Never Character Any character Hostlist 31 Never Character Active DTR Hostlist 32 Never Character CR 0x0D Hostlist 33 Never Character Manual connection Hostlist N A Never Character Autostart Hostlist 35 Never Character UDP Hostlist N A With DTR None quiet No active startup Hostlist N A With DTR None quiet Any character Hostlist 61 With DTR None quiet Active DTR Hostlist 62 With DTR None quiet CR 0x0D Hostlist 63 With DTR None quiet Manual connection Hostlist N A With DTR None quiet Autostart Hostlist 65 With DTR None quiet UDP Hostlist N A With DTR Character No active startup Hostlist N A With DTR Character Any character Hostlist 71 With DTR Character Active DTR Hostlist 72 With DTR Character CR 0x0D Hostlist 73 With DTR Character Manual connection Hostlist N A With DTR Character Autostart Hostlist 75 With DTR Character UDP Hostlist N A Unconditionally None quiet No active startup Hostlist N A Unconditionally None quiet Any character Hostlist E1 Unconditionally None quiet Active DTR Hostlist E2 Unconditionally None quiet CR 0x0D Hostlist E3 Unconditionally None quiet Manual connection Hostlist N A Unconditionally None quiet Autostart Hostlist E5 Unconditionally None quiet UDP Hostlist N A Unconditionally Character No active startup Hostlist N A UDS 10 User Guide Binary to Hex 9 3 Binary to Hex Accept Serial Active Connection
67. er Software 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 deviceinstaller exe e g E deviceinstaller exe gt Lantronix UDS CoBox CD LANTRONIX UDS CoBox Device Servers Device Comm Manager Documentation ei Device Installer BE Firmware ei Browse the CD Contact Us me visit us on the Web i Exit CD Figure 4 CD Main Window 2 Click the Device Installer button The installation wizard window displays 3 Respond to the installation wizard prompts When prompted to select an installation type select Typical UDS 10 User Guide 2 5 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 p Devicelnstaller IP Address Hardware Address Name Group Fira Figure 5 DeviceInstaller Window 1 Click the IP icon The Assign IP Address window displays Rl Assign IP Address 00 20 44 72 46 71 192 168 100 07 ae Figure 6 Assign IP Address Window 2 Inthe 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 2
68. erred Quiet Mode no echo refers to the modem not sending an answer to the commands received or displaying what was typed To disconnect a connection using Modem Mode commands e There must be 1 second guardtime no data traffic before sending There must not be a break longer that 1 second between s There must be another 1 second guardtime after the last is sent The unit acknowledges with an OK to indicate that it is in command mode Enter ATH and press Enter It is echoed if echo is enabled ATH is acknowledged by another OK UDS 10 User Guide 3 19 Configure Table 11 Modem Mode Commands Modem Mode Function Command ATDTX x x x pppp or Makes a connection to an IP address x x x x and a remote port ATDTxX x x x pppp number pppp ATDTXX X x 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 ATDO 0 0 0 f na number are defined within the unit Forces the unit into monitor mode if a remote IP address and port ATD d a number are not defined within the unit ATDX X x x Makes a connection to an IP address x x x x and the remote port number defined within the unit ATH Hangs up the connection Entered as ATH Enables or disables connections from the network going to the serial port n 0 disables the ability to make a connection from the network to ATSO n the serial po
69. et 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 5 DHCP Naming There are 3 methods for assigning DHCP names to these products 1 Default DHCP name If you do not change the DHCP name and you are using an IP of 0 0 0 0 then the DHCP name will default to CKXXXXX XXXXXX is the last 6 digits of the MAC address shown on the label on the bottom side of the unit For example if the MAC address is 00 20 4A 12 34 56 then the default DHCP name is C123456 2 Custom DHCP name You can create your own DHCP name on these products If you are using an IP address of 0 0 0 0 then the last option in Server configuration will be Change DHCP device name The Change DHCP device name option will allow you to change the DHCP name to an alpha numeric name Change DHCP device name not set N Y Enter new DHCP device name LTX 3 Numeric DHCP name You are able to change the DHCP name by specifying the last octet of the IP address When you use this method the DHCP name will be LTXYY where YY is what you chose for the last octet of the IP address If the IP address you specify is 0 0 0 12 then the DHCP name will be LTX12 This method will only work with 2 digit numbers 0 99 3 14 UDS 10 User Guide Con
70. f 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 5 Broadcast Address A host address with all host bits set to 1 is the broadcast address meaning for for every station 192 168 0 255 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 IP Subnet Mask An IP subnet mask divides IP address differently than the standards defined by the classes A B and C An IP subnet mask defines the number of bits to be taken from the IP address as the network or host sections The Device Server prompts for the number of host bits to be entered and then calculates the netmask which is displayed in standard decimal dot notation for example 255 255 255 0 when saved parameters are displayed Table 33 Standard IP Network Netmasks Network Class Network Bits Host Bits Netmask A 8 24 255 0 0 0 B 16 16 255 255 0 0 C 24 8 255 255 255 0 UDS 10 User Guide 8 15 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 00 NN
71. figure 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 CO 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 1 Baudrate The unit and attached serial device such as a modem must agree on a speed or baud rate to use for the serial connection Valid baud rates are 300 600 1200 2400 4800 9600 default 19200 38400 57600 and 115200 bits per second 3 6 2 I F Interface Mode The Interface I F Mode is a bit coded byte that you enter in hexadecimal notation Table 6 Interface Mode Options I F Mode Option 7 6 5 4 3 2 RS 232C RS 422 485 ejO O alalolo RS 485 2 wire 7 Bit 1 0 8 Bit 1 1 No Parity 0 i0 Even Parity Odd Parity o 1 1 Stop bit O 1 2 Stop bit 1 1 1 The UDS 10 requires you to choose the correct setting in the IF mode UDS 10 User Guide 3 15 Configure The following table demonstrates how to build some common Interface Mode settings Table 7 Common Interface Mode Settings Common I F Mode Setting Binary Hex RS 232C 8 bit No Parity 1 stop bit 0100 1100 4C RS 232C 7 bit Ev
72. g 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 You can obtain the most up to date protocol firmware and release notes for the unit from the Lantronix Web site www lantronix com or by using anonymous FTP ftp lantronix com Once you load a vendor specific protocol you must reference the user manual associated with that protocol since many of the setup and configuration dialogs will be changed Some features such as web pages may not be available with certain vendor protocols 4 2 Reloading Protocol Firmware There are several ways to update the unit s internal operational code ROM via Devicelnstaller the preferred way via TFTP via another unit or via the serial port You can also update the unit s internal Web interface COB via TFTP or Devicelnstaller The firmware files are located on the software CD in the firmware folder Here is a list of typical names for those files Check the Lantronix web site for the latest versions and release notes Table 15 Protocol Firmware Folder Name ROM File COB AD DF1 DF1 Multi master
73. gle 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 ZP 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 se
74. gnetic 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 amp T Several versions exist e g the Berkeley version UTP Unshielded twisted pair one or more cable pairs surrounded by insulation UTP is commonly used as telephone wire Wide Area Network WAN A network using common carrier transmission services for transmission of data over a large geographical area Workgroup Switching Configuration in which a number of users are connected to an Ethernet network via a switch Switching allows each user to get greater throughput than would be available through a hub X 25 Gateway Access Protocol Allows a node not directly connected to a public data network to access the facilities of that network through an intermediary gateway node X 25 is the protocol standard governing packet switched networks UDS 10 User Guide 11 17
75. haracters 7 or 8 data bits Stop bits 1 2 Parity odd even none Modem Control DTR DCD CTS RTS DSR Flow Control CTS RTS hardware XON XOFF software Management Internal web server Standard Tunneling only SNMP read only Serial login Telnet login System Software Windows 95 98 ME NT 2000 based configuration software LEDs Link green Network transmit receive yellow Collision red Diagnostic red Status green Compatibility Ethernet Version 2 0 IEEE 802 3 Isolation Ethernet 1500 Vrms Serial 2000 Vrms Agency Approvals C UL TUV FCC B CE UDS 10 User Guide 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 I
76. he example above again 100 E2 1E It may help to use a scientific calculator 8 6 UDS 10 User Guide 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 IP address of the unit x x x x 04 Reserved 0 05 Flag BYTE Bit 7 Reserved 0 Bit 6 Set 1 for AUI 0 for 1OBASE T CoBox Micro only Bits 5 0 Reserved 0 06 Number of host bits for subnetting if 0 matching standard netmask for Class A B C is used 07 Reserved 0 08 11 Telnet configuration password 0 if not used 12 15 Gateway IP address 0 0 0 0 if not used 16 63 48 byte Channel 1 parameters parameter setup Channel 1 see Table E 4 Channel Parameters 64 111 48 byte Channel 2 parameters parameter setup Channel 2 see Table E 4 Channel Parameters 112 119 Reserved 0 UDS 10 User Guide 8 7 UDP 8 3 1 Channel Parameters Use the following table to select setup record parameters for Channels 1 Table 22 Channel Parameters Byte s Function Channel 1 16 Interface Mode see Table 23 Interface Mode Options 17 Line Speed Bits 7 5 Reserved Bits 4 0 Baud Rate see Table 25 Baud Rate Settings 18 Fl
77. he network by a host Multilink PPP The ability of a dialup device to allocate more than one channel of bandwidth to a particular connection Generally this is termed to be the ability of an ISDN device to bond two B channels together into a single data pipe but some vendors can perform the same function with asychronous dial up connections over modems by having a second connection initiated to support the additional bandwidth requirements Multiplexer A device that allows several users to share a single circuit It funnels different data streams into a single stream At the other end of the communications link another multiplexer reverses the process by splitting the data stream back into the original streams Multiplexing Transmitting multiple signals simultaneously on a single channel Multiport Repeater A repeater either standalone or connected to standard Ethernet cable for interconnecting up to eight Thinwire Ethernet segments Name Server Software that runs on network hosts charged with translating or resolving text style names into numeric IP addresses NetWare A Novell developed Network Operating System NOS Provides file and printer sharing among networks of Personal Computers PCs Each NetWare network must have at least one file server and access to other resources is dependent on connecting to and logging into the file server The file server controls user logins and access to other network clients
78. hics Unlike line ASCII printers which print character input verbatim PostScript printers accept and interpret an entire PostScript page before printing it PPP Point to Point Protocol The successor to SLIP PPP provides router to router and host to network connections over both synchronous and asynchronous circuits Print Server A dedicated computer that manages printers and print requests from other nodes on the network PROM Programmable ROM a read only memory whose data content can be altered 11 12 UDS 10 User Guide 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 Remote Node Form of remote access where the device dialing in acts as a peer on the target network Used with both IP and IPX protocols Repeater A repeater is a network device that repeats signals from one cable onto one or more other cables while restoring signal timing and waveforms Ring A network topology in which the nodes are connected in a closed loop Data is transmitted from node to node around the loop always in the same dir
79. 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 Adjusting parameters in this mode can economize the network data stream Pack control settings are enabled in Flush Mode Set this value to 00 if specific functions are not needed Note See Table 35 Binary to Hexadecimal Conversion Table Table 14 Pack Control Options Option 7 16 5 4 3 12 4 e Idle Time Force transmit 12ms Force transmit 52ms Force transmit 250ms Force transmit 5sec Trailing Characters None O 0 One 0 Two 1 10 Send Characters 2 Byte Send Character Sequence Send Immediately After 1 Send chars gt Oj o Idle Time Idle time to Force transmit defines how long the unit should wait before sending accumulated characters This wait period is between characters If there is an idle period between characters equal to the force transmit set then the unit will package up the serial data currently in the buffer and send it to the network Trailing Characters In some applications CRC Checksum or other trailing characters follow the end of sequen
80. ication with the node the following block types are defined Table 20 Block Types Option Hex Data block program memory firmware 00 End record 01 Data block configuration memory 10 UDS 10 User Guide 8 5 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 The checksum is calculated by summing the value of the data on the line and taking the two s complement of the sum Example 0300300002337A1E Record length 03 3 bytes of data Address 0030 the 3 bytes will be stored at 0030 0031 and 0032 Record Type 00 normal data Data 02 33 7A Checksum 1E 03 00 30 00 02 33 7A E2 The two s complement of E2 is 1E See Calculating the Two s Complement below 8 2 5 Calculating the Two s Complement The two s complement of a number is the value that must be added to the number to reach a Hexadecimal value of 100 256 in decimal In the example above E2 1E 100 You can also calculate the two s complement by subtracting the sum from 100 Using t
81. inary to Hex 9 5 Pack Control Options Table 41 Pack Control Options Sendcharacter Trailing Idle Time Send Hex Defined by a Characters Force Immediately Transmit after Sendcharacter 1 Byte Sequence No 12ms 0 1 Byte Sequence No 52ms 1 1 Byte Sequence No 250ms 2 1 Byte Sequence No 5sec 3 1 Byte Sequence 1 12ms 4 1 Byte Sequence 1 52ms 5 1 Byte Sequence 1 250ms 6 1 Byte Sequence 1 5sec 7 1 Byte Sequence 2 12ms 8 1 Byte Sequence 2 52ms 9 1 Byte Sequence 2 250ms A 1 Byte Sequence 2 5sec B 2 Byte Sequence No 12ms 10 2 Byte Sequence No 52ms 11 2 Byte Sequence No 250ms 12 2 Byte Sequence No 5sec 13 2 Byte Sequence 1 12ms 14 2 Byte Sequence 1 52ms 15 2 Byte Sequence 1 250ms 16 2 Byte Sequence 1 5sec 17 2 Byte Sequence 2 12ms 18 2 Byte Sequence 2 52ms 19 2 Byte Sequence 2 250ms 1A 2 Byte Sequence 2 5sec 1B 1 Byte Sequence No 12ms Yes 20 1 Byte Sequence No 52ms Yes 21 1 Byte Sequence No 250ms Yes 22 1 Byte Sequence No 5sec Yes 23 1 Byte Sequence 1 12ms Yes 24 1 Byte Sequence 1 52ms Yes 25 1 Byte Sequence 1 250ms Yes 26 1 Byte Sequence 1 5sec Yes 27 1 Byte Sequence 2 12ms Yes 28 1 Byte Sequence 2 52ms Yes 29 1 Byte Sequence 2 250ms Yes 2A 1 Byte Sequence 2 5sec Yes 2B 2 Byte Sequence No 12ms Yes 30 2 Byte Sequence No 52ms Yes 31
82. isplays x k Lantronix Universal Device Server Serial Number 7218033 MAC address 00 20 4A 72 46 71 Software version 04 5 011025 Press Enter to go into Setup Mode 4 To enter the Setup Mode you must press Enter within 5 seconds The configuration settings will appear See Figure 13 Setup Mode Window Model Device Server Plus Firmware Code AQ 5 Select an option on the menu by entering the number of the option in the Your choice field and pressing Enter 6 To enter a value for a parameter type the value and press Enter or to confirm a current value just press Enter 7 When you are finished save the new configurations option 9 The unit will reboot 3 10 UDS 10 User Guide basic parameters Configure Hardware Ethernet Autodetect IP addr 0 0 0 0 DHCP BOOTP AutoIP no gateway set DHCP device name no KKKKKKKKKKKKKKKKK Sec SNMP is SNMP Community Name Telnet Setup is TFPT Download is Port 77Feh is Web Server is t set urity enabled enabled enabled enabled enabled KKKKK KKK KKK KKK KK not IAP firmware not IAP firmware Enhanced password is disabled KKKKKKKKKKKKKKEKKK Channel 1 KKKKKKKKK KKK KKK Baudrate 9600 I F Mo Port 10001 Remote IP Adr no de 4C ne mem Flow 00 Port 00000 Connect Mode CO Disconn Mode 00 Flush Mode 00 KKKKKKK KK KKK KKK KKK Expert KKKKKK KKK KK KKK KK KKK TCP Keepalive Os Ch
83. le C2 Active connection Passive connection Enable D2 Disconnect Passive connection Passive connection Enable E2 Disconnect Active connection Passive connection Enable F2 Passive connection Disconnect Active connection 3 Passive connection Active connection Active connection 13 Passive connection Passive connection Active connection 23 Passive connection Active connection Active connection 33 9 8 UDS 10 User Guide Serial to Network Network to Serial Alternate Hex Packing Clear input buffer upon Clear output buffer upon Algorithm Disconnect Active connection 43 Passive connection Active connection Active connection 53 Disconnect Passive connection Passive connection Active connection 63 Disconnect Passive connection Active connection Active connection 73 Passive connection Passive connection Disconnect Active connection Enable 83 Passive connection Active connection Active connection Enable 93 Passive connection Passive connection Passive connection Enable A3 Active connection Active connection Active connection Enable B3 Passive connection Passive connection Disconnect Active connection Enable C3 Passive connection Active connection Active connection Enable D3 Disconnect Passive connection Passive connection Active connection Enable E3 Disconnect Passive connection Active connection Active connection Enable F3 Passive connection Passive
84. lnet or serial configuration The Y Yes option disables remote configuration and Web pages 3 8 6 Disable Web Server This setting defaults to the N option The Y Yes option disables the use of the Web Page Configuration tool that is built into the unit 3 8 7 Enable Enhanced Password This setting defaults to the N option which allows you to set a 4 character password that protects the Configuration Menu via Telnet and Web pages The Y Yes option allows you to set an extended security password of 16 characters for protecting Telnet access 3 9 Factory Defaults Select 7 to reset the unit s Channel 1 and Enhanced Security to the factory default settings The server configurations IP address information remain unchanged 3 26 UDS 10 User Guide 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 R Get Configuration x Target Device IP Address 192 168 100 77 Configuration File C Program Files Devicelnstallerstest cfg Status
85. m independent link level communications facility on top of the Physical layer and is divided into two sublayers medium access control MAC and logical link control LLC DHCP Short for Dynamic Host Configuration Protocol a protocol for assigning dynamic IP addresses to devices on a network With dynamic addressing a device can have a different IP address every time it connects to the network In some systems the device s IP address can even change while it is still connected DHCP also supports a mix of static and dynamic IP addresses Dynamic addressing simplifies network administration because the software keeps track of IP addresses rather than requiring an administrator to manage the task This means that a new computer can be added to a network without the hassle of manually assigning it a unique IP address Many ISPs use dynamic IP addressing for dial up users DHCP client support is built into Windows 95 and NT workstation NT 4 server includes both client and server support Dial on Demand When a router detects the need to initiate a dial up connection to a remote network it does so automatically according to pre defined parameters set by the network manager 11 4 UDS 10 User Guide 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 associa
86. manding 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 Th
87. mber in this case 4C Use the following table to convert values from binary to hexadecimal Table 35 Binary to Hexadecimal Conversion Table Decimal Binary Hex 0 0000 0 1 0001 1 2 0010 2 3 0011 3 4 0100 4 5 0101 5 6 0110 6 7 0111 7 8 1000 8 9 1001 9 10 1010 A 11 1011 B 12 1100 C 13 1101 D 14 1110 E 15 1111 F UDS 10 User Guide 9 1 Binary to Hex 9 1 Connect Mode Options Note Character response codes are C conn D disconn N unreachable Table 36 Connect Mode Options Accept Serial Active Connection Hostlist Hex Incoming Response Startup Connections Upon Connection Never None quiet No active startup N A Never None quiet Any character 1 Never None quiet Active DTR 2 Never None quiet CR 0x0D 3 Never None quiet Manual connection 4 Never None quiet Autostart 5 Never None quiet UDP Cc Never Character No active startup 10 Never Character Any character 11 Never Character Active DTR 12 Never Character CR 0x0D 13 Never Character Manual connection 14 Never Character Autostart 15 Never Character UDP 1c With DTR None quiet No active startup 40 With DTR None quiet Any character 41 With DTR None quiet Active DTR 42 With DTR None quiet CR 0x0D 43 With DTR None quiet Manual connection 44 With DTR None quiet
88. nce coaxial Examples are standard Ethernet cable and Thinwire Ethernet cable Collision The result of two network nodes transmitting on the same channel at the same time The transmitted data is not usable Collision Detect A signal indicating that one or more stations are contending with the local station s transmission The signal is sent by the Physical layer to the Data Link layer on an Ethernet IEEE 802 3 node UDS 10 User Guide 11 3 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 All network devices contend equally for access to transmit If a device detects another device s signal while it is transmitting it aborts transmission and retries after a brief pause Data Link A logical connection between two nodes on the same circuit Data Link Layer Layer 2 of the seven layer OSI reference model for communication between computers on networks This layer defines protocols for data packets and how they are transmitted to and from each network device It is a mediu
89. nection 51 Disconnect Passive connection Active connection 61 Disconnect Active connection Active connection 71 Passive connection Disconnect Active connection Enable 81 UDS 10 User Guide Binary to Hex Passive connection Passive connection Serial to Network Network to Serial Alternate Hex Packing Clear input buffer upon Clear output buffer upon Algorithm Active connection Active connection Enable 91 Passive connection Active connection Enable A1 Active connection Active connection Enable B1 Passive connection Disconnect Active connection Enable C1 Active connection Active connection Enable D1 Disconnect Passive connection Active connection Enable E1 Disconnect Active connection Active connection Enable F1 Passive connection Disconnect Passive connection 2 Active connection Passive connection 12 Passive connection Passive connection 22 Active connection Passive connection 32 Passive connection Disconnect Passive connection 42 Active connection Passive connection 52 Disconnect Passive connection Passive connection 62 Disconnect Active connection Passive connection 72 Passive connection Disconnect Passive connection Enable 82 Active connection Passive connection Enable 92 Passive connection Passive connection Enable A2 Active connection Passive connection Enable B2 Passive connection Disconnect Passive connection Enab
90. neeaecaeseneeneeaeenaeeneeeees 2 6 Figure 7 Ping Device Window ccesesseesceseesseeseesecseeeseeseceaesaeeseceaecaeeeesaecaeeeneeaecaeeaeeneeeees 2 7 Figure 8 Search Network Window cceccesccssesseeeeceseeseeeecaecaeeeecaecaeeeneeaecaeeaeeeceaeeaeeeneeas 2 8 Figure 9 Devices if Group eceeceseeseeeecesecseeeeeesecaeeeceaeceaeeaeeseceaeeaesaeseeceaecaeeeeeeaecaeeaeeeees 2 9 Figure 10 Device Management Window c cssccsseseseeeeesecaceeeeesecaeeaeeeeeeaecaeeeneeseeneeeaees 2 10 Figure 11 Lantronix Web Manager ceccceseecesecsseeseeseceeeeseeeceaecaeeeeceaecaeseeeeaecaeeaeeaeeeeen 3 4 Figure 12 Server Properties Configuration on the Web Browser cscceseeseeeeeeeereeeeees 3 6 Figure 13 Setup Mode Window c ccccecccesseseseesseeeeeceeceeesseeeseecseecsaeceaeeeseeeseeneeseeeseeeeaes 3 11 Figure 14 Device Installer ccccecccesccesecessceseeeeeceeceeeseeeseeeaeecsaecaaecsaeceaeceeeeeeeenseeessesaeeaaees 4 2 Figure 15 Search Network Window ccceccssseseesecsseeseesececeeseeecaecaeeeeceaecaeeeeeeaecaeeaeeneeeeen 4 3 Figure 16 Devices in a Group eecceseesceescesesseeeseesecaeeeeeeseceaeeaeeeeceaecaeeeeesaecaecaeeeneeaeenaeeneeeees 4 3 Figure 17 Upgrade Firmware cisc5 sccdaseexdoradeasttaas E EE A E R 4 4 Figure 18 TFTP Dialog Box ismeroi osiin A E R ER R E 4 4 Figure 19 UDS CoBox Main Window ccccccssssssceseeseeesceseeseeeeceaecaeeeeeeseceaeeaeeeceaeeaee
91. nnection Passive connection Enable D6 Disconnect Disconnect Passive connection Passive connection Enable E6 Disconnect Disconnect Active connection Passive connection Enable F6 Passive connection Disconnect Disconnect Active connection 7 Passive connection Disconnect Active connection Active connection 17 Passive connection Disconnect Passive connection Active connection 27 Passive connection Disconnect Active connection Active connection 37 Passive connection Passive connection Disconnect Disconnect Active connection 47 Passive connection Disconnect Active connection Active connection 57 Disconnect Passive connection Disconnect UDS 10 User Guide Binary to Hex Binary to Hex Passive connection Disconnect Passive connection Disconnect Serial to Network Network to Serial Alternate Hex Packing Clear input buffer upon Clear output buffer upon Algorithm Passive connection Active connection 67 Disconnect Passive connection Disconnect Active connection Active connection 77 Passive connection Passive connection Disconnect Disconnect Active connection Enable 87 Passive connection Disconnect Active connection Active connection Enable 97 Passive connection Disconnect Passive connection Active connection Enable A7 Passive connection Disconnect Active connection Active connection Enable B7 Passive connection Passive connection Disconnect Disconnect Acti
92. nt 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 De DMAOMUCHON ciscessiesssceisscesssess coosssssceonteseosovisssssenecivecessesesnentscessevvscdansteedoessessosswenteseedsexessens 1 1 DD TS So eet akc a A TE A E N 1 2 L2 UDS OBa A A N 1 3 1 3 UDS 10 IAP Device Server c cceccccccccesscccceessececeessecceesseeecsesseeccsenseecesssseesessuas 1 4 1 3 1 Industrial Automation Protocols cccccceesseceeessceceesssceceesssseseesseese 1 5 14 Network ProtoGols vii eiecsoascicstandidesganiecceagdn dinds gan icaeasanelunssanieteeganalutsganientesawetaessannete 1 6 1 4 1 Packing Al gorithm 000 0 ccccesceseceseceeeeeeee
93. nteroperable but right now the only way to ensure correct operation is to use devices on both end from the same vendor UDS 10 User Guide 11 1 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 As opposed to Source language forms of programs Binary Characteristic of having only two states such as current on and current off The binary number system uses only ones and zeros Bit The smallest unit of data processing information A bit or binary digit assumes the value of either or 0 Block A block is a variable size piece of memory that a task can acquire Blocks are allocated from heaps Related Buffer heap BNC A standardized connector used with Thinnet and coaxial cable BOOTP A TCP IP network protocol that lets network nodes request configuration information from a BOOTP server node bps Bits per second units of transmission speed Bridge A networking device that connects two LANs and forwards or filters data packets between them based on their destination addresses Bridges o
94. on domain Hubs produce this type of configuration where only one node can transmit at a time SLIP Serial Line Internet Protocol a protocol for running TCP IP over serial lines SNA Systems Network Architecture IBM s layered protocols for mainframe communications SNMP Simple Network Management Protocol allows a TCP IP host running an SNMP application to query other nodes for network related statistics and error conditions The other hosts which provide SNMP agents respond to these queries and allow a single host to gather network statistics from many other network nodes Source Code Programs in an uncompiled or unassembled form Spanning Tree An algorithm used by bridges to create a logical topology that connects all network segments and ensures that only one path exists between any two stations 11 14 UDS 10 User Guide 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 SQE Ethernet defined signal quality test function frequently called heartbeat Switch Multiport Ethernet device designed to inc
95. on the network e Send a previously saved setup record from a host PC via UDP 8 4 UDS 10 User Guide 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 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 To send a previously saved setup record to a Device Server via UDP from a host PC send the FA or FD datagram to the target Device Server see Network Configuration using UDP on page 8 1 8 2 3 The Intel Hex Format With this format 8 bit binary data can be sent and received as ASCII text The transmission is blocked in records and every record has its own checksum The record begins with a colon and consists of a block length 2 character Hex a 16 bit address 4 character Hex and a block type 2 character Hex It is built by adding all binary 8 bit values and taking the complement so adding all byte values including length address and type should yield zero Example 00000001FF End record type 01 length 00 address 00 00 checksum FF 01002000805F Data record consisting of one byte value 80 Hex for address 0020 32 decimal For commun
96. ontaining identifying information such as the source of the data its destination and length 11 6 UDS 10 User Guide 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 HTTP defines how messages are formatted and transmitted and what actions Web servers and browsers should take in response to various commands For example when you enter a URL in your browser this actually sends an HTTP command to the Web server directing it to fetch and transmit the requested Web page HTTP is called a stateless protocol because each command is executed independently without any knowledge of the commands that came before it This is the main reason that it is difficult to implement Web sites that react intelligently to user input This shortcoming of HTTP is being addressed in a number of new technologies including ActiveX Java JavaScript and cookies IEEE 802 3 The IEEE Institute of Electrical and Electronic Engineers standard that defines the CSMA CD media access method and the physical and data link layer specifications of a local area network Among others it inclu
97. opertie S lt pssyccassn etei ire E E EE E E 3 6 3 3 3 Port Properties urei ae naai keia oana aa aine 3 7 3 3 4 Technical Supports sistori net anria aa ot anae eaeoe raias 3 9 3 3 5 Update Setting Soesan A E a A 3 9 3 4 Configuring via the Setup Mode Window cccesccesssessceeceeeeeeeeteeeteeesseesees 3 10 3 4 1 Using a Telnet Connection cc cccccccccseessceeeeeeeeeeeeeseeeeeeeeeeeeestees 3 10 3 4 2 Using the Serial Portieren eere ia e E E EEE 3 12 3 5 Server Configuration Network Configuration cccccccseesseesceesteenteceteeeeees 3 12 3 5 LDP AGOTESS 5 a a a a a a iee 3 12 3 5 2 Set Gateway IP Address ccccccescesecesecessceeeceeeeeseeeeeeteestecnseseaeens 3 12 3 5 3 Netmask Number of Bits for Host Part cccccecccesseeseetteetteeneees 3 13 3 5 4 Change Telnet configuration password c cccccesceesseeseetteetteensees 3 14 3 5 5 DHCP NAMIN E oaan eea EE E R deities is E E 3 14 3 6 Channel 1 Configuration Serial Port Parameters csccsseesseesseetteetteeneees 3 15 3 6 1 Bar ate situna a eaa a ae ae aa aae Saa a a aa as saa 3 15 3 6 2 V F Interface ModE saa a Aai 3 15 Bs OSS PLOW E T EOE E E E E vans iataate one 3 17 3 04 Port N MBET icenen a T A E E E 3 17 3 65 Conect Modereer aneirin eae i e ee 3 18 336 6 Remote IP Addresser toe e a a aa os eE E a Soan 3 21 3 0 7 Remote Poft cscarnir atin Bele E E E EE 3 21 3 6 8 DisC nn Mode sorsien resena as a ae aE E aa a aE 3 21
98. osnsoeasseeoneseencdonsa soSueasesicesdasoonsasdooesesdaneduos 6 1 6 1 Technical Supporti i3 c ccsessaneccheceacasssesncedaevanstcapeaetcdesaccnadduaaecegeateadieseactlaevtecuse 6 1 6 1 1 Technical Support ccccecccccseceseceseceseceeeceeeeseeceseecseecsaecssecsseenaeenseenes 6 1 7 MOMitOr MOde scccsccssccsscssscsssenscsesscsscsssscssscssssnessnsssnessesssssssesssessscscssssescsesseessnessoes 7 1 PA Monitor Mode snena host esetens seca tas leo es A eel aes eee 7 1 7 1 1 Entering Monitor Mode Via the Serial Port ci cceeseeceeseeeeeeeeeeeeeee 7 1 7 1 2 Entering Monitor Mode Via the Network Port ccceeseseeeeereeteeeee 7 1 7 1 3 Monitor Mode Commands cccesccesscessceesceeeeeeeeseecaeetecnseceaeenseenes 7 1 8 Network Configuration using UDP ssccsssssssssccssscsscsssscssscssscssscsssssssssesssessssesones 8 1 SPUDP Data cr armis seenen a a ies sns casas a aaoi 8 1 8 2 Configuring Multiple Devices ccccecccesseesceesseeseecnsecesecnseceseceseeseeseeeseeeeeneenses 8 3 8 2 1 Acquiring a Valid Setup Record 0 ccccecsccesseesteestecsteceteceteesteesteenaes 8 3 8 2 2 Sending a Setup Record 0 ccecccecscessseeseeeneesteceecesecsseeeeeeeeeeseeeeeneenees 8 4 8 2 3 The Intel Hex Format ccccccecssecsseestecseceecesecesecsseeseeseeeseeeseneeeaes 8 5 8 2 4 Calculating the Checksum ccceccceccseesseesseesseesseessecsseensecneenseeeneenaes 8 6 8 2 5 Calculating the
99. ourth byte selects the function as described in the following table Table 19 UDP Configuration Byte Command Parameters Notes 03 Node Reset 2 bytes software These 2 bytes are used to prevent type accidental reset of the Device Server Value for standard CoBox firmware 33 51 Hex 3Q F6 Query for None The Device Server responds with the F7 Firmware block below Version F7 Firmware First 16 bytes of the The first 16 bytes of the firmware image Information firmware image contain the software type offset 4 5 and and 4 bytes device checksum offset 14 15 The last two bytes information and of the device information contain the serial serial number number F8 Query for None The Device Server responds with the F9 Setup Record block below FQ Configuration 120 byte setup n a Readback record see Setup Records on page E 7 FA Set 120 byte setup The IP address byte 0 3 will not be Configuration record see Setup overridden using FA See FD for this Records on page E functionality 7 FB Configuration None This block is sent back to the host Change requesting a configuration change FB Acknowledge After sending out this block the Device Server resets and uses the new configuration sent with the FA command FC Set IP Address First 8 bytes must This block can be sent as a broadcast UDS 10 User Guide 8 1 UDP and IP Address as well bytes
100. ow Control see Table 26 Flow Control Options 19 Reserved 20 21 Own TCP port low byte high byte Intel 22 23 Remote TCP port low byte high byte Intel 24 27 Remote IP address low high low high 28 Connect Mode see Table 27 Connect Mode Options 29 Disconnect Mode see Table 28 Disconnect Mode Options 30 Disconnect w inactivity time out minutes 00 if unused 31 Disconnect w inactivity time out seconds 00 if unused 32 33 Characters to trigger send immediately sendchar 34 Flush mode see Table 29 Flush Mode Options 35 Pack Control see Table 30 Pack Control Options 36 47 Reserved 0 48 63 a Terminal name for Telnet terminal type option 15 characters max 0 terminated If set and Bit 6 in Disconnect Mode is set Telnet connection will be assumed b Password for Passworded Socket Connection Bit 4 in Disconnect Mode Set 8 8 UDS 10 User Guide 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 7 6 5 4 3 2 RS 232C RS 422 485 RS 485 2 wire 7 Bit 1 0 8 Bit 1 1 No Parity o 0 Even Parity 1 Odd Parity O l1 1 Stop bit O l1 2 Stop bits 1 1 1 The UDS 10 requires you to choose the correct setting in the IF mode O O lolo
101. perate at the data link level or MAC layer of the OSI reference model and are transparent to protocols and to higher level devices like routers 11 2 UDS 10 User Guide 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 Brouter A device that routes specific protocols such as TCP IP and IPX and bridges other protocols thereby combining the functions of both routers and bridges Bus A LAN topology in which all the nodes are connected to a single cable All nodes are considered equal and receive all transmissions on the medium Byte A data unit of eight bits Channel The data path between two nodes CHAP Challenge Handshake Authentication Protocol Authentication scheme for PPP where the password not only is required to begin connection but also is required during the connection failure to provide correct password during either login or challenge mode will result in disconnect Coaxial Cable An electrical cable with a solid wire conductor at its center surrounded by insulating materials and an outer metal screen conductor with an axis of curvature coinciding with the inner conductor he
102. plication H COM Remote Port Serial Data Serial Data eats to from erver Device Comm Eth t Network Attached Manager ernet Networ Device PC This powerful 32 bit Windows utility allows any commercially available or application specific software to communicate with networked devices as if they were directly attached to the PC s COM ports To the user this means that when they network enable a serial device with a Lantronix Device Server they can retain their existing PC based applications software without having to undertake the additional time and expense of developing new software Using simple on screen menus users can map up to 255 COM ports directly to IP addresses assigned to Lantronix Device Servers Once COM ports are mapped any networked PC with DeviceComm Manager software installed can access devices on the network via Lantronix Device Servers Both the software application and the serial device operate normally as if they were still directly connected Lantronix Device Server and the DeviceComm Manager utility do all the work in between to keep data flowing smoothly The DeviceComm Manager utility consists of a Control Panel applet a device driver and a Windows service e Eliminates the need for the users to develop or modify their existing application software No understanding of how to develop networking software is required Everything is totally transparent to the serial device the application software and the u
103. quire you to enter the new IP address in the browser to reload the page Server Properties IP Address fisztesi0077 C S SCSC lt 272 O Subnet Mask 52552550 o Gateway Address poo oS Telnet Password ROSS 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 The password is limited to 4 characters An enhanced password setting of 16 characters is available under Security Settings on the Telnet Setup Mode window 3 6 UDS 10 User Guide 3 3 3 Port Properties Serial Port Settings Serial Protocol ps2 Speed o Character Size es Parity Noe Uv Stopbit fd Flow Control Nene H Serial Protocol RS232 RS422 485 4 wire RS485 2 wire Speed 1200 2400 4800 9600 19200 38400 57600 115200 Character Size 8 7 Parity None Even Odd Stop Bit 1 2 Flow Control None XON XOFF XON XOFF Pass Characters to Host CTS RTS Hardware Connect Mode Settings UDP Datagram Mode Dissble S UDF Datagram Type Sy henge Aadress Table Incoming Connection Accept unconditional o A Response Nothing quiet z Startup No Active Connection Startup H UDP Datagram Mode Enable Disable UDP Datagram Type User selectable Configure Incoming Connection Accept unconditional Accept Incoming DTR Inactive Never accept incoming Response
104. rease network performance by allowing only essential traffic on the attached individual Ethernet segments Packets are filtered or forwarded based upon their source and destination addresses T Connector A T shaped device with two female and one male BNC connectors TCP IP Transmission Control Protocol TCP and Internet Protocol IP are the standard network protocols in UNIX environments They are almost always implemented and used together and called TCP IP Telnet Telnet is an application that provides a terminal interface between hosts using the TCP IP network protocol It has been standardized so that telnetting to any host should give one an interactive terminal session regardless of the remote host type or operating system Note that this is very different from the LAT software which allows only local network access to LAT hosts only 10BASE2 Ethernet running on thin coax network cable 10BASES Ethernet running on Thickwire network cable 10BASE T Ethernet running on unshielded twisted pair UTP cable Note that 1OBASE T is a point to point network media with one end of the cable typically going to a repeater hub and the other to the network device UDS 10 User Guide 11 15 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
105. rial port that supports RS232 and RS485 422 serial standards firmware selectable up to 115 2 Kbps 114 S TX out a 2 TX out Je RTS Gora o RS 232 485 Note 2 CTS output z DSR output e 5 DB 25F GND Rog RBE R N pe eg 4 ei amp HRX in Ne Reg 9 30VDC Note 1 ov DB 25 Serial Port 13 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 SO S LEDs aa Power Socket Reset Switch RJ 45 Ethernet Port UDS 10 User Guide 1 7 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 ore whe TT Torenge l cren wnte J Blue y b MLN Biue wnite Ill Green L Brown wnite II Brown Brown Ethernet UI View from RJ45 Connector End 0505050 Figure 2 RJ 45 Connector Table 1 Ethernet Interface Signals 1 TX 2 TX 3 RX 6 RX 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
106. rnet node transmitting longer packets than allowed Kbps Kilobits per second Kermit A popular file transfer and terminal emulation program LAN Local Area Network a data communications system consisting of a group of interconnected computers sharing applications data and peripherals The geographical area is usually a building or group of buildings LAT Local Area Transport a Digital Equipment Corporation proprietary network communication protocol The protocol is based on the idea of a relatively small known number of hosts on a local network sending small network packets at regular intervals LAT will not work on a wide area network scale as TCP IP does Latency The delay incurred by a switching or bridging device between receiving the frame and forwarding the frame 11 8 UDS 10 User Guide 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 Logical Link A temporary connection between source and destination nodes or between two processes on the same node MAU
107. rror that is not described in this chapter or if you are unable to fix the error you may e Check our online knowledge base at www lantronix com support e F mail us at E mail support lantronix com e Callus at 800 422 7044 Domestic 949 453 7198 International 949 450 7226 Fax Our phone lines are open from 6 00AM 5 30 PM Pacific Time Monday through Friday excluding holidays Firmware downloads FAQs and the most up to date documentation are available at www lantronix com support Technical Support Europe Middle East and Africa 49 0 7720 3016 20 57 eu_techsupp lantronix com UDS 10 User Guide 6 1 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 following problems make sure that the DR1 is powered up and the Link L LED is lit solid green If the Link LED is not lit then the physical network connection is bad Confirm that you are using a good network connection 6 2 UDS 10 User Guide Table 16 Problems and Error Messages Troubleshooting Problem
108. rt n 1 9 enables the ability to make a connection from the network to the serial port n gt 1 9 is invalid Enables or disables character echo and responses ATEn n 0 disables character echo and responses n 1 enables character echo and responses Enables 1 character response or full verbose ATVn n 0 enables 1 character response n 1 enables full verbose 3 20 UDS 10 User Guide 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 3 6 8 DisConnMode Table 12 Disconnect Mode Options Disconnect Mode Option 7 16 5 4 13 12 14 0 Disconnect with DTR drop 4 Ignore DTR 0 Telnet mode and terminal type setup g Channel port password 1 Hard disconnect 0 Disable hard disconnect 1 pale LED off with connection Disconnect with EOT AD 1 1 The CoBox will send the Terminal Type upon an outgoing connection 2 A password is required for a connection to the serial port from the network 3 The TCP connection will close even if the remote site does not acknowledge the disconnection 4 When there is a network connection to or from the serial port the state LED will turn off instead of blink 5
109. ry 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 me
110. s 9 7 9 4 Interface Mode Options 0 cccccccsseeseeseeseecseceseceseceseceeeseeeeaeecseeeaeeaeceaeeeaeees 9 13 9 5 Pack Control Options cccccccecsseesseeseeesecssecesecesecesecsseeseeeeeeeeeseeeseeeeeeaeeagees 9 14 10 IP Addr sseS isciceciscecececdeckccstsdsccctscsesscscsseucvsssvseses tetessndseessseetssenscaeeseses eneosesdeeessseseseesecss 10 1 LOsl Class A Naw Ena a e NAE atdnes AA E 10 1 t02 Class PRNews a T E A 10 1 103 Clas C NENO K aone oaa AN N OAE EROAN 10 1 10A Network Adae nei E N oibiseeePiwides 10 2 10 5 Broadcast Address sorone aoaea aaa a a EEA 10 2 10 6 IP N tmask aaka EA E NA 10 2 10 7 Private IP Networks and the Internet 0 0 ccc cecssececeessececessseeecsssseeesenes 10 3 IOS NGtwork RECS ssscostesitp cosets scaleaia eed seven casdats Gobevens E aR 10 3 VL Glossary Of Terns icievissciecessccccesissscesasscscenssedercssssesoonsdesences A T 11 1 UDS 10 User Guide Contents List of Figures Figure t UDS 1 O TAP isc 0 3 cosa ceantach eas steasciascateenicacautwadachenegtasouse oladloowe denne dececale ae NRN 1 4 Fig re 2 RJ 45 Comme Ctr sensis a E stangander ea E E S 1 8 Figure 3 UDS 10 Connected to Serial Device and Network c ceccccsccesseesseesteeeteeeteenaeens 2 2 Fig re4 CD M in WindOWos iiien tesisse iiie E aaea Ea a ana ESENE 2 5 Figure 5 DeviceInstaller WINdGOWissicitiineiniatsnni anaiai i 2 6 Figure 6 Assign IP Address Window cecccsssssssseesseeseesecceeseeseceaecaee
111. s Gutta dessus tags a a a tenes eaat a oent eves 3 26 3 10 Exit Configuration Mode 0 ccccccccsscesseessecssecesecesecesecsseeseseseeeeeneeeseeeeeeeeesaes 3 27 3 11 Get Conf guration cccsccs cesedovedotsasasadesseeddosdassaasvslecsiocstagiadevsencleesadsdglesdereavteaarse 3 27 3 12 S t Conf SuratiOn amp oc scceac3 decansclavzsaccddausesedbeaendhcasiapsccdezebaaadctagatacsseah ATE TS 3 28 4 Updating Protocol Firmware esseesseessocssoossoossoossoossoossooesoossoosssosssosesosssosesosesossssesssse 4 1 4 1 Protocol Firmware eot ai annnka a aaa oaa aae ade a a eE aiea 4 1 4 2 Reloading Protocol Firmware ccccsccesccessceseceeeeeeseeeseeeseeeseeeseecsaeeaeenseenseenaeees 4 1 4 2 1 Via Devicelinstaller i cccecccccedisceseccestassedoncesessentscsesduectoudsvedsowlesnssontese 4 2 iA D2 NA E A D AE EEA AT 4 4 4 23 Via Another Unit o cesseccearisecesdeiudecestasnedes a e E EEE oE ai 4 5 42 4 Viathe Serial Portis sce sasteessneb d e a ees ia aaas beia 4 6 5 DeviceComm Manager sssccsssssecccsccsccscesccesesscescecsesccesesccessessescccsescesssssessosesssseesoes 5 1 5 1 Installing DeviceComm Manager cccccssccssecesecesceeeeeeseeeseeeseecseeesaeensecnseenaeens 5 2 5 1 1 Install DeviceComm Manager ccccceeccessceesceeseeeseeeeeeseecseeneesseeees 5 2 DL 2 SOU a ai sh Wand becca vedas a a dein tedaen TA a wasivecceate ie 5 3 6 TrOUDIESHOOtING si cicsssccctscocsssscenseseessosesdenasccatasss
112. s the only entry ping another IP address on your network to build a new entry in the ARP table the IP address must be a host other than the machine on which you are working Once there is at least one additional entry in the ARP table use the following command to ARP an IP address to the unit arp s 191 12 3 77 00 20 4a xx xx xx 3 Open a Telnet connection to port 1 The connection will fail quickly but the unit will temporarily change its IP address to the one designated in this step telnet 191 12 3 77 2 4 Finally open a Telnet connection to port 9999 and press Enter within three seconds to go into Setup Mode If you wait longer than three seconds the unit will reboot and you will need to perform step 3 again telnet 191 12 3 77 9999 5 Set all required parameters UDS 10 User Guide 2 11 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 You have one second to enter three lowercase x characters 3 At this point the screen display is the same as when you use a Telnet connection To continu
113. sconnect Active connection Active connection Enable 95 Disconnect Passive connection Active connection Enable AS Disconnect Active connection Active connection Enable B5 Passive connection Disconnect Disconnect Active connection Enable C5 Disconnect Active connection Active connection Enable D5 Disconnect Disconnect Passive connection Active connection Enable E5 Disconnect Disconnect Active connection Active connection Enable F5 Passive connection Disconnect Disconnect Passive connection 6 Disconnect Active connection Passive connection 16 Disconnect Passive connection Passive connection 26 Disconnect 9 10 UDS 10 User Guide Serial to Network Network to Serial Alternate Hex Packing Clear input buffer upon Clear output buffer upon Algorithm Active connection Passive connection 36 Passive connection Disconnect Disconnect Passive connection 46 Disconnect Active connection Passive connection 56 Disconnect Disconnect Passive connection Passive connection 66 Disconnect Disconnect Active connection Passive connection 76 Passive connection Disconnect Disconnect Passive connection Enable 86 Disconnect Active connection Passive connection Enable 96 Disconnect Passive connection Passive connection Enable A6 Disconnect Active connection Passive connection Enable B6 Passive connection Disconnect Disconnect Passive connection Enable C6 Disconnect Active co
114. ser Redirects up to 255 COM ports simultaneously over TCP IP protocol Provides raw mode data only which means it will not change or modify the data being sent Supports Windows 2000 Windows NT4 0 and Windows XP Easy to install and even easier to configure UDS 10 User Guide 5 1 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 P Lantronix UDS CoBox CD LANTRONIX UDS CoBox s Device Servers Browse the CD Contact Us M visit us on theweb Exit CD Figure 19 UDS CoBox Main Window 2 Click the DeviceComm Manager button The installation wizard window displays Respond to the installation wizard prompts 5 2 UDS 10 User Guide Firmware 5 1 2 Setup 1 Open Control Panel 2 Double click on the DeviceComm Manager Icon OK Ports TCP Settings Status N A DISABLED ence DISABLED DISABLED COME DISABLED COMS DISABLED COMS DISABLED _Seting COM10 DISABLED COM11 DISABLED COM12 DISABLED Help COM13 DISABLED COM14 DISABLED COM1
115. ser Guide 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 Complete override connection is started with host 121 2 4 5 port 1 C5 Connect to 129 1 2 5 port 1234 C28 10 12 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 Datagram Type When selecting this option you will be prompted for the Datagram type Enter 01 for directed or broadcast UDP Modem Emulation Mode In Modem Mode the unit presents a modem interface to the attached serial device It accepts AT style modem commands and handles the modem signals correctly Normally there is a modem connected to a local PC and a modem connected to a remote machine A user must dial from the local PC to the remote machine accumulating phone charges for each connection Modem Mode allows you to replace modems with device servers and to use an Ethernet connection instead of a phone call without having to change communications applications and make potentially expensive phone calls To select Modem Mode set the Connect Mode to C6 no echo D6 echo with full verbose or D7 echo with 1 character response In Modem Mode echo refers to the echo of all of the characters entered in command mode it does not mean to echo data that is transf
116. ser Guide Configure Additional Settings Disconnect Mode Ignore DTA Check for CTRL D To Disconnect iie wy Port Password Disstle S Telnet Mode Dise ey Inactivity Timeout Enable Inactivity Timer poo ooo Port Password LoS 7 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 You can use the Tech Support button to link directly to the Lantronix Tech Support web page the FTP Site button will link you to the web page for downloading new firmware manuals and other files The Contact Us button will link you to the Contact Information page 3 3 5 Update Settings Click the Update Settings button to send all changed settings to the device UDS 10 User Guide 3 9 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 1 From the Windows Start menu click Run and type the following command where X xX x X is the IP address and 9999 is the unit s fixed network configuration port number telnet x x x x 9999 2 Click OK 3 The Lantronix Universal Device Server window d
117. such as user PCs print servers modem fax servers disk file servers etc 11 10 UDS 10 User Guide 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 Most nodes also have protocol specific addresses assigned by a network manager Network Management Administrative services for managing a network including configuring and tuning maintaining network operation monitoring network performance and diagnosing network problems NIC Network Interface Card an adapter card that is inserted into a computer and contains the necessary software and electronics to enable the station to communicate over the network Node Any intelligent device connected to the network This includes terminal servers host computers and any other devices such as printers and terminals that are directly connected to the network A node can be thought of as any device that has a hardware address NOS Network Operating System the software for a network that runs in a file server and controls access to files and other resources from multiple users It provides securit
118. ted 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 Domain Name A domain name is a text name appended to a host name to form a unique host name across internets Download The transfer of a file or information from one network node to another Generally refers to transferring a file from a big node such as a computer to a small node such as a terminal server or printer End Node A node such as a PC that can only send and receive information for its own use It cannot route and forward information to another node Ethernet The most popular LAN technology in use today The IEEE standard 802 3 defines the rules for configuring an Ethernet network It is a 10 Mbps CSMA CD baseband network that runs over thin coax thick coax twisted pair or fiber optic cable FDDI Fiberoptic Data Distribution Interface A cable interface capable of transmitting data at 100 Mbps Originally specified for fiber lines FDDI can also operate over twisted pair cable for short distances Fiber Optic Cable A transmission medium composed of a central glass optical fiber cable surrounded by cladding and an outer protective sheath It transmits digital signals in the form of modulated light from a laser or LED light emitting diode File Server A computer that stores
119. teesteeeteeeseeneeees 9 4 vi UDS 10 User Guide Contents Table 38 Disconnect Mode Options cccccceesccesscessceesceeeeeeeeeeeeeeseeeseeeseecseeessecuecnseenseenaeees 9 5 Table 39 Flush Mode Options cccsccssscssscesscseeceeeeeeseeeseeeseecsaecsaeneeseeeseeeseaeeeseeeeeeaessaees 9 7 Table 40 Interface Mode Options ccccesccessceesceeeeeeseeeseeeseecseecsaecsaecaeceseceaeeneeeseeeeneeeags 9 13 Table 41 Pack Control Options cccccesccesscesscsssceeeeeeeeeeseeeseeeseecsaecsaecaeceseceaeeseeseeeeneeeags 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 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 d
120. 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 Thinwire Thin coaxial cable similar to that used for television video hookups Throughput The amount of data transmitted between two points in a given amount of time e g 10 Mbps Token The character sequence or frame passed in sequence from node to node to indicate that the node controlling it has the right to transmit for a given amount of time Token Ring Developed by IBM this 4 or 16 Mbps network uses a ring topology and a token passing access method Topology The arrangement of the nodes and connecting hardware that comprises the network Types include ring bus star and tree Transceiver The actual device that interfaces between the network and the local node The term generally refers to any connector such as a MAU that actively converts signals between the network and the local node Transceiver Cable Cable that attaches a device either to a standard or thin coax Ethernet segment 11 16 UDS 10 User Guide 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 electroma
121. the PC and looking at the time column You may also find the PC command tracert helpful See your Windows OS documentation for more details on these commands Both ping and tracert are DOS prompt commands Settings All Ports x Read Network Timeout milliseconds ae fl Write Network Timeout milliseconds 8 Click Ok to close the Settings dialog box 9 Select the Enable Connection Status checkbox at the bottom of the DeviceComm Manager screen if you wish to be notified via screen pop up when the connection to the remote port is established If your application is very time sensitive regarding the initial connection or you do not wish to have a screen pop up leave this box unchecked 10 Click OK to complete the setup No other setup is required In the above example all data sent to COM4 will be sent across the network to the device server at 172 20 197 50 port 10001 5 4 UDS 10 User Guide 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 6 1 1 Technical Support If you are experiencing an e
122. tion RS Reset Resets the Device Server s power Sl Send Set IP Remotely assign an IP address to a Device XXX XXX XXX XXX Address Server where xxx xxx xxx xxx is the IP address yyy Yyy yyy yyy and yyyy yyy yyyy yyy is the two part identification number at the bottom of the label converted to decimal and written twice QU Quit Exit diagnostics mode GO G1 Ge Get configuration Gets a memory page of configuration information Gf from memory page from the device SO 1 5e Sf Set configuration to Sets a memory page of configuration information memory page on the device Responses to some of the commands are given in Intel Hex format see The Intel Hex Format on page 8 5 Note Entering any of the commands listed above will generate one of the following command response codes Table 18 Command Response Codes Response Meaning 0 gt OK no error 1 gt No answer from remote device 2 gt Cannot reach remote device or no answer 8 gt Wrong parameter s 9 gt Invalid command 7 2 UDS 10 User Guide 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 The f
123. u are updating F Devicelnstaller Bi ks File Edit View Tools Help N r lade e aac Adstess_INeme Coup _ Frwete gt TEPRIEERTR 00 20 44 72 46 71 Display Group fa X Exit Figure 16 Devices in a Group UDS 10 User Guide 4 3 Firmware 3 8 Select the desired unit and click the Upgrade Firmware file ROM icon ail The Upgrade Firmware window displays r Target Enter IP Address 192 168 100 77 or Name Existing Firmware Standard Tunnel 7 Figure 17 Upgrade Firmware 9 Inthe 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 Click the Update FW File button Upgrade status process messages display in the lower part of the window When the process is complete the File upgrade successful message displays 12 Click OK 4 2 2 Via TFTP To download new firmware from a computer 1 Use a TFTP client to send a binary file to the unit ROM to upgrade the unit s internal operational code and COB to upgrade its internal Web interface 2 Make sure the Put and Binary options at the top of the window are selected 3 Enter the full path of the firmware file in the Source File field 4 4 UDS 10 Us
124. upplies damaged The UDS CoBox will not power Various Consult the LEDs section in the up properly and the LEDs are flashing Introduction chapter or the Quick Start for the LED flashing sequence patterns Call Lantronix Technical Support if the blinking pattern indicates a critical error 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 The serial settings for the serial device and the UDS CoBox must match The default serial settings for the UDS CoBox are RS232 9600 Baud 8 Character Bits No Parity 1 Stop Bit No Flow Control When you try to enter the setup mode on the UDS CoBox via the serial port you get no response The issue will most likely be something covered in the previous problem or possibly you have Caps Lock on Double check everything in the problem above Confirm that Caps Lock is not on You can ping the UDS CoBox but not Telnet to the UDS CoBox on port 9999 There may be an IP address conflict on your network You are not Telneting to port 9999 The Telnet configuration port 9999 is disabled within the UDS CoBox security settings Turn the UDS CoBox off and then issue the following commands at the DOS prompt of your computer ARP D X X X X X X X X is the IP of the UDS CoBox PING X X X X X X X X is the IP of the UDS CoBox If you get a response then there is a
125. ve connection Enable C7 Passive connection Disconnect Active connection Active connection Enable D7 Disconnect Passive connection Disconnect Passive connection Active connection Enable E7 Disconnect Passive connection Disconnect Active connection Active connection Enable F7 9 12 UDS 10 User Guide 9 4 Interface Mode Options Table 40 Interface Mode Options Interface Bits Parity Stop Hex Bits RS 232C 7 No 1 48 RS 232C 7 No 2 C8 RS 232C 7 Even 1 78 RS 232C 7 Even 2 F8 RS 232C 7 Odd 1 58 RS 232C 7 Odd 2 D8 RS 232C 8 No 1 4C RS 232C 8 No 2 CC RS 232C 8 Even 1 7C RS 232C 8 Even 2 FC RS 232C 8 Odd 1 5C RS 232C 8 Odd 2 DC RS 422 485 7 No 1 49 RS 422 485 7 No 2 c9 RS 422 485 7 Even 1 79 RS 422 485 7 Even 2 F9 RS 422 485 7 Odd 1 59 RS 422 485 7 Odd 2 D9 RS 422 485 8 No 1 4D RS 422 485 8 No 2 CD RS 422 485 8 Even 1 7D RS 422 485 8 Even 2 FD RS 422 485 8 Odd 1 5D RS 422 485 8 Odd 2 DD RS 422 485 2 Wire 7 No 1 4B RS 422 485 2 Wire 7 No 2 CB RS 422 485 2 Wire 7 Even 1 7B RS 422 485 2 Wire 7 Even 2 FB RS 422 485 2 Wire 7 Odd 1 5B RS 422 485 2 Wire 7 Odd 2 DB RS 422 485 2 Wire 8 No 1 4F RS 422 485 2 Wire 8 No 2 CF RS 422 485 2 Wire 8 Even 1 7F RS 422 485 2 Wire 8 Even 2 FF RS 422 485 2 Wire 8 Odd 1 5F RS 422 485 2 Wire 8 Odd 2 DF UDS 10 User Guide Binary to Hex B
126. ver settings See explanations of the configuration parameters later in this chapter 2 When you are finished click the Update Settings button to save your settings 3 4 UDS 10 User Guide 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 W Lantronix WEB Manac Lantronix WEB Manager Microsoft Internet Explo Microsoft Internet Explorer Fare oar http 192 168 100 77 _ LANTRONIX Lantronix Web Manager 1 Version 3 0 Selected Channel 1 Server Configuration Product Model Firmware Version Serial Number Hardware Address IP Address Subnet Mask Gateway Address Selected Channel 1 Server Configuration Product Model Firmware Version Serial Number Hardware Address IP Address Subnet Mask Gateway Address UDS 10 User Guide 3 5 Configure Port Configuration Local Port Number poa Remote Port Number SE Serial Port Speed Boo Flow Control wooo Interface Mode C Connect Mode w Disconnect Mode p Flush Mode m Pack Control O UDF Datagram Type Not Supported By These Settings 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 re
127. wer 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 UDS 10 User Guide 1 3 Introduction 1 3 UDS 10 IAP Device Server 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 e CoBox DR1 IAP with a DIN rail interface for harsh environments or alongside controls instruments in electrical panels e CoBox FL IAP with fiber connectivity for long cable runs or electrically hazardous environments e UDS 10 IAP a compact Device Server for use in less de
128. xx xxx These networks are used for large company networks Every network can consist of up to 65 534 devices Example 172 1 3 2 network 172 1 host 3 2 10 3 Class C Network IP address 192 0 0 xxx to 223 255 255 xxx These network addresses are most common and are often used in small companies These networks can consist of a maximum number of 254 hosts Example 192 7 1 9 network 192 7 1 host 9 The remaining addresses 224 x x x 239 x x x are defined as class D and are used as multicast addresses The addresses 240 x x x 254 x x x are defined as class E and are reserved addresses UDS 10 User Guide 10 1 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 6 IP Netmask The netmask is used to divide the IP address differently from the standard defined by classes A B C A netmask defines how many bits from the IP address are to be taken as the network section and how many bits are to be taken as the host section When the number of host bits is entered the UDS 10 calculates the netmask The netmask is display
129. y and administrative tools Novell s NetWare Banyan s VINES and IBM s LAN Server are NOS examples Open System Interconnect OSI See ISO Packet A series of bits containing data and control information including source and destination node addresses formatted for transmission from one node to another UDS 10 User Guide 11 11 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 The Physical layer insulates Layer 2 the Data Link layer from medium dependent physical characteristics such as baseband broadband or fiber optic transmission Layer defines the protocols that govern transmission media and signals Point to Point A circuit connecting two nodes only or a configuration requiring a separate physical connection between each pair of nodes Port The physical connector on a device enabling the connection to be made Port Multiplier A concentrator providing connection to a network for multiple devices PostScript A printer display protocol developed by Adobe Corp PostScript is an actual printing and programming language to display text and grap

Download Pdf Manuals

image

Related Search

Related Contents

This guide will get you up to speed quickly on installing  EX16300, EX16350 - Promise Technology, Inc.  Philips SHL5105WT  Omega EP95 User's Manual  仕様書(PDF:146KB)  

Copyright © All rights reserved.
Failed to retrieve file