Lantronix Device Server UDS 10 User Manual

Other manuals for Device Server UDS 10: User Manual
Manual is about: UDS-10 User Guide

Summary of Device Server UDS 10

  • Page 1

    Uds-10 user guide revision d 07/15/02 part number 900-207.

  • Page 2

    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 i...

  • Page 3

    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 wi...

  • Page 4

    Declaration of conformity (according to iso/iec guide 22 and bs 7514) manufacturer’s name & address: lantronix, 15353 barranca parkway, irvine, ca 92618 usa declares that the following product: product name model: uds-10 universal device server conforms to the following standards or other normative ...

  • Page 5

    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 probl...

  • Page 6

    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...

  • Page 7: Table of Contents

    Contents uds-10 user guide i table of contents 1. Introduction ......................................................................................................................1-1 1.1 uds-10 ...........................................................................................................

  • Page 8

    Contents ii uds-10 user guide 2.4.4 add the unit to the manage list ........................................................ 2-8 2.4.5 opening a configuration window.................................................... 2-10 2.5 arp and telnet..............................................................

  • Page 9

    Contents uds-10 user guide iii 3.8.2 snmp community name .................................................................3-25 3.8.3 disable telnet setup .........................................................................3-26 3.8.4 disable tftp firmware upgrade ...................................

  • Page 10

    Contents iv uds-10 user guide 8.3.2 interface mode.................................................................................... 8-9 8.3.3 baud rate ......................................................................................... 8-10 8.3.4 flow control...................................

  • Page 11: List of Figures

    Contents uds-10 user guide v list of figures figure 1 – uds-10-iap .........................................................................................................1-4 figure 2 - rj-45 connector.....................................................................................................

  • Page 12: List of Tables

    Contents vi uds-10 user guide list of tables table 1 - ethernet interface signals....................................................................................... 1-8 table 2 - uds-10 led functions ...................................................................................... 1-10 tabl...

  • Page 13

    Contents uds-10 user guide vii table 38 - disconnect mode options.....................................................................................9-5 table 39 - flush mode options..............................................................................................9-7 table 40 - interfac...

  • Page 15: 1. Introduction

    Introduction uds-10 user guide 1-1 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 ...

  • Page 16

    Introduction 1-2 uds-10 user guide 1.1 uds-10 the uds-10 device server connects serial devices to ethernet networks using the ip protocol family (tcp for connection-oriented stream applications and udp for datagram applications). A few of the different types of serial devices supported are listed be...

  • Page 17

    Introduction uds-10 user guide 1-3 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....

  • Page 18

    Introduction 1-4 uds-10 user guide 1.3 uds-10-iap device server note: this section is for the uds-10-iap only. The lantronix industrial automation platform (iap) family of device servers allows a single network and protocol to connect multiple serial devices from many vendors. Iap provides the autom...

  • Page 19

    Introduction uds-10 user guide 1-5 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 flo...

  • Page 20

    Introduction 1-6 uds-10 user guide 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 conne...

  • Page 21

    Introduction uds-10 user guide 1-7 1.5 serial interface uds-10 has a female dce db-25 serial port that supports rs232 and rs485/422 serial standards (firmware selectable) up to 115.2 kbps. Leds db-25 serial port db-25f rs-232/485 tx (input) rx (output) rts (input) cts (output) dsr (output) tx+ (out)...

  • Page 22

    Introduction 1-8 uds-10 user guide 1.7 ethernet cable the next drawing shows a typical rj-45 connector. The color is not standard but very typical of an ethernet patch cable. Pin 1 is located at the top of the connector (orange + white). The view is from the end of the connector. Orange + white oran...

  • Page 23

    Introduction uds-10 user guide 1-9 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-s...

  • Page 24

    Introduction 1-10 uds-10 user guide 1.9 leds the device contains the following leds: link net tx/rx collision diagnostic status table 2 - uds-10 led functions led meaning l (green) lights solid green to indicate network port is connected to the network. Net tx/rx (yellow) blinks yellow to indicate n...

  • Page 25

    Introduction uds-10 user guide 1-11 1.10 dimensions the uds-10 dimensions are shown in the following drawing. Note: for uds-10 and uds-10-iap. 2.3 cm (0.9 in) 6.4cm (2.5 in) 9 cm (3.5 in) 1.11 product information label the product information label contains important information about your specific ...

  • Page 26

    Introduction 1-12 uds-10 user guide 1.13 power requirements the uds-10 is shipped with a 12vdc, 1a power supply, but any dc power supply between 9vdc and 30vdc can be used. You can order the uds-10 with a 110vac (uds-10-01) or 230vac (uds-10-02) power supply. Note: the input voltage for all uds-10 p...

  • Page 27

    Introduction uds-10 user guide 1-13 1.15 technical specifications table 3 - technical specs category description cpu, memory amd 188es cpu, 25mhz clock, 128kbyte ram flash, eprom 512kbyte flash prom installable serial protocols standard tunnel (uds-10, and uds-10-iap), modbus (uds-10- iap), df1 (uds...

  • Page 29: 2.  Getting Started

    Getting started uds-10 user guide 2-1 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...

  • Page 30

    Getting started 2-2 uds-10 user guide 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 c...

  • Page 31

    Getting started uds-10 user guide 2-3 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...

  • Page 32

    Getting started 2-4 uds-10 user guide 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 a...

  • Page 33

    Getting started uds-10 user guide 2-5 autoip can be disabled by setting the unit’s ip address to 0.0.1.0. This setting enables dhcp but disables autoip. 2.4 deviceinstaller you can manually assign the ip address using deviceinstaller software, which is found on the product cd. If you want to use a s...

  • Page 34

    Getting started 2-6 uds-10 user guide 2.4.2 assign ip address and network class click the start button on the task bar and select programs \device installer \device installer . The device installer window displays. Figure 5 - deviceinstaller window 1. Click the ip icon . The assign ip address window...

  • Page 35

    Getting started uds-10 user guide 2-7 3. In the enter ip address to assign field, enter the unit’s ip address in xxx.Xxx.Xxx.Xxx format. 4. In the pc network class section, select the class (subnet mask). (most users select class c). 5. Click the set ip address button. (ip is assigned, pinged, and t...

  • Page 36

    Getting started 2-8 uds-10 user guide 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 icon. The search network window displays. Figure 8 - search networ...

  • Page 37

    Getting started uds-10 user guide 2-9 6. Click the back button to return to the deviceinstaller window. The deviceinstaller window now lists all of the devices in the group, including the unit you are setting up. The hardware address and firmware release number for the unit display. Figure 9 - devic...

  • Page 38

    Getting started 2-10 uds-10 user guide 2.4.5 opening a configuration window 1. Click the manage icon . The device management window displays. Figure 10 - device management window 2. Do one of the following: note: to assign expert settings and security settings, you must use the setup mode window in ...

  • Page 39

    Getting started uds-10 user guide 2-11 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 reso...

  • Page 40

    Getting started 2-12 uds-10 user guide 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 bau...

  • Page 41: 3. Configuring The Unit

    Configure uds-10 user guide 3-1 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 ...

  • Page 42

    Configure 3-2 uds-10 user guide 3.2 using deviceinstaller deviceinstaller is a powerful software utility for configuring device servers from a network connection. This section uses the utility to demonstrate the various methods of configuring a device. The device management window is a common page f...

  • Page 43

    Configure uds-10 user guide 3-3 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 t...

  • Page 44

    Configure 3-4 uds-10 user guide 3.3 web manager page note: the uds-10-iap may not have a web page or may use a different format web page. You can start a web browser for configuration by opening your java enabled web browser and entering the ip address or by clicking the web configuration button on ...

  • Page 45

    Configure uds-10 user guide 3-5 3.3.1 unit configuration click the unit configuration button to display the following dialog box. This page contains the server configuration and the port configuration settings. These are static settings read from the device. Note: the following screen shots represen...

  • Page 46

    Configure 3-6 uds-10 user guide 3.3.2 server properties you can change the server properties by editing any of the fields. Lingering over one of the fields will display operator messages. Changing the ip address will require you to enter the new ip address in the browser to reload the page. Figure 1...

  • Page 47

    Configure uds-10 user guide 3-7 3.3.3 port properties 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 (...

  • Page 48

    Configure 3-8 uds-10 user guide on active connection: enable, disable on passive connection: enable, disable at time of disconnect: enable, disable packing algorithm: enable, disable idle time: force transmit 12 ms, force transmit 52 ms, force transmit 250 ms, force transmit 5000 ms trailing charact...

  • Page 49

    Configure uds-10 user guide 3-9 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 passwor...

  • Page 50

    Configure 3-10 uds-10 user guide 3.4 configuring via the setup mode window 3.4.1 using a telnet connection to configure the unit over the network, establish a telnet connection to port 9999. Note: if you use the telnet to device icon on the device installer device management window or a serial port ...

  • Page 51

    Configure uds-10 user guide 3-11 *** basic parameters hardware: ethernet autodetect ip addr – 0.0.0.0/dhcp/bootp/autoip, no gateway set dhcp device name : not set ***************** security ***************** snmp is enabled (not iap firmware) snmp community name: (not iap firmware) telnet setup is e...

  • Page 52

    Configure 3-12 uds-10 user guide 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 bau...

  • Page 53

    Configure uds-10 user guide 3-13 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, t...

  • Page 54

    Configure 3-14 uds-10 user guide 3.5.4 change telnet configuration password setting the telnet configuration password prevents unauthorized access of the setup menu via a telnet connection to port 9999 or via web pages. The password is limited to 4 characters. An enhanced password setting of 16 char...

  • Page 55

    Configure uds-10 user guide 3-15 3.6 channel 1 configuration (serial port parameters) using this option, define how the serial port will respond to network and serial communications . Baudrate (9600) i/f mode (4c) flow (00) port no (10001) connectmode (c0) remote ip address : (000).(000).(000).(000)...

  • Page 56

    Configure 3-16 uds-10 user guide 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 (1) 0100 1100 4c rs-232c, 7-bit, even parity, 1 stop bit (1) 0111 1000...

  • Page 57

    Configure uds-10 user guide 3-17 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...

  • Page 58

    Configure 3-18 uds-10 user guide 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 mod...

  • Page 59

    Configure uds-10 user guide 3-19 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,...

  • Page 60

    Configure 3-20 uds-10 user guide table 11 - modem mode commands modem mode command function atdtx.X.X.X,pppp or atdtx.X.X.X/pppp makes a connection to an ip address (x.X.X.X) and a remote port number (pppp). Atdtx.X.X.X makes a connection to an ip address (x.X.X.X) and the remote port number defined...

  • Page 61

    Configure uds-10 user guide 3-21 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 conne...

  • Page 62

    Configure 3-22 uds-10 user guide 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 tabl...

  • Page 63

    Configure uds-10 user guide 3-23 3.6.10 pack control two firmware-selectable packing algorithms define how and when packets are sent to the network. The standard algorithm is optimized for applications in which the unit is used in a local environment, allowing for very small delays for single charac...

  • Page 64

    Configure 3-24 uds-10 user guide 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 inc...

  • Page 65

    Configure uds-10 user guide 3-25 3.7 expert settings note: you can change these settings via telnet or serial connections only, not on the web- manager. Note: the expert settings option does not appear with uds-10-iap. These parameters should only be changed if you are an expert and definitely know ...

  • Page 66

    Configure 3-26 uds-10 user guide 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 th...

  • Page 67

    Configure uds-10 user guide 3-27 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 ...

  • Page 68

    Configure 3-28 uds-10 user guide 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 windo...

  • Page 69

    Firmware uds-10 user guide 4-1 4. Updating protocol (firmware) 4.1 protocol firmware you can update the unit's internal operational code to a newer revision, or change the code to operate with a specific vendor. The uds-10-iap was designed to allow loading of vendor specific protocol firmware. This ...

  • Page 70

    Firmware 4-2 uds-10 user guide 4.2.1 via deviceinstaller after downloading the firmware to your computer, or locating the file on your software cd, you can use deviceinstaller to install it. 1. Download the updated firmware files from www.Lantronix.Com or ftp.Lantronix.Com and store them in a subfol...

  • Page 71

    Firmware uds-10 user guide 4-3 3. Click the search the network for devices icon . The search network window displays. 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 display...

  • Page 72

    Firmware 4-4 uds-10 user guide 8. Select the desired unit and click the upgrade firmware file (.Rom) icon . The upgrade firmware window displays. Figure 17 - upgrade firmware 9. In the existing firmware list box, select the firmware type that is currently in the unit. This selection must match the f...

  • Page 73

    Firmware uds-10 user guide 4-5 4. In the destination file field, enter the current internal operational code or web5 for the internal web interface. (for uds-10-iap, aq = standard tunnel, am = modbus, ad = df1. For uds-10, 3q = standard tunnel) 5. In the remote host field, enter the ip address of th...

  • Page 74

    Firmware 4-6 uds-10 user guide 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 r...

  • Page 75: 5. Devicecomm Manager

    Firmware uds-10 user guide 5-1 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 por...

  • Page 76

    Firmware 5-2 uds-10 user guide 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 di...

  • Page 77

    Firmware uds-10 user guide 5-3 5.1.2 setup 1. Open control panel. 2. Double click on the “devicecomm manager” icon . 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...

  • Page 78

    Firmware 5-4 uds-10 user guide 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...

  • Page 79: 6. Troubleshooting

    Troubleshooting uds-10 user guide 6-1 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...

  • Page 80

    Troubleshooting 6-2 uds-10 user guide 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) • de...

  • Page 81

    Troubleshooting uds-10 user guide 6-3 table 16 - problems and error messages problem/message reason solution when you issue the arp –s command in windows, “the arp entry addition failed: 5" message displays. Your currently logged-in user does not have the correct rights to use this command on this p...

  • Page 82

    Troubleshooting 6-4 uds-10 user guide problem/message reason solution no leds are lit. The unit or its power supply is damaged. Change power supplies. The uds/cobox will not power up properly, and the leds are flashing. Various consult the leds section in the introduction chapter or the quick start ...

  • Page 83

    Troubleshooting uds-10 user guide 6-5 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 ...

  • Page 85: 7. Monitor Mode

    Monitor mode uds-10 user guide 7-1 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...

  • Page 86

    Monitor mode 7-2 uds-10 user guide 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 hea...

  • Page 87

    Udp uds-10 user guide 8-1 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 por...

  • Page 88

    Udp 8-2 uds-10 user guide byte command parameters notes be set to the string ip-setup (hex 49 50 2d 53 45 54 55 50). Next 2 bytes have to be set to 00. Next 2 bytes must contain the serial number. Next 4 bytes have to be the new ip address. Because the serial number is unique. It provides one method...

  • Page 89

    Udp uds-10 user guide 8-3 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 c...

  • Page 90

    Udp 8-4 uds-10 user guide to request the setup record of a properly configured device server via another device server on the network: 5. Make sure that both units are plugged onto the network properly. 6. Enter monitor mode (with network support enabled) on the unit that is not properly configured....

  • Page 91

    Udp uds-10 user guide 8-5 to send a setup record via monitor mode: 1. Configure a “master” device server with the desired parameters and place it on the network. 2. Place another device server (the “target”) on the network. 3. Enter monitor mode (with network support enabled) on the master device se...

  • Page 92

    Udp 8-6 uds-10 user guide 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 abov...

  • Page 93

    Udp uds-10 user guide 8-7 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) fu...

  • Page 94

    Udp 8-8 uds-10 user guide 8.3.1 channel parameters use the following table to select setup record parameters for channels 1: table 22 - channel parameters byte(s) (channel 1) function 16 interface mode (see table 23 - interface mode options ) 17 line speed bits 7-5: reserved bits 4-0: baud rate (see...

  • Page 95

    Udp uds-10 user guide 8-9 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 1 0 rs-232c (1) 0 0 rs-422/485 (1) 0 1 rs-485 2-wire (...

  • Page 96

    Udp 8-10 uds-10 user guide 8.3.3 baud rate the device server and attached serial device must agree on a speed or baud rate to use for the serial connection. Use the following table to select baud rate settings: table 25 - baud rate settings speed (bps) hex 38400 00 19200 01 9600 02 4800 03 2400 04 1...

  • Page 97

    Udp uds-10 user guide 8-11 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 incomin...

  • Page 98

    Udp 8-12 uds-10 user guide 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 7 6 5 4 3 2 1 0 disconnect with dtr drop (6) 1 ignore dtr 0 te...

  • Page 99

    Udp uds-10 user guide 8-13 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 -...

  • Page 100

    Udp 8-14 uds-10 user guide 8.4 ip addresses each tcp/ip node on a network host has a unique ip address. This address provides the information needed to forward packets on the local network and across multiple networks if necessary. Ip addresses are specified as x.X.X.X , where each x is a number fro...

  • Page 101

    Udp uds-10 user guide 8-15 a router is required between all networks and all sub-networks. Generally, hosts can send packets directly only to hosts on their own sub-network. All packets destined for other subnets are sent to a router on the local network. 8.4.3 host portion the host portion of the i...

  • Page 102

    Udp 8-16 uds-10 user guide table 34 - netmask examples netmask host bits 255.255.255.252 2 255.255.255.248 3 255.255.255.240 4 255.255.255.224 5 255.255.255.192 6 255.255.255.128 7 255.255.255.0 8 255.255.254.0 9 255.255.252.0 10 255.255.248.0 11 ... ... 255.128.0.0 23 255.0.0.0 24 8.4.6 private ip ...

  • Page 103: 9. Binary to Hex Conversion

    Binary to hex uds-10 user guide 9-1 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 repres...

  • Page 104

    Binary to hex 9-2 uds-10 user guide 9.1 connect mode options note: character response codes are c=conn, d=disconn, n=unreachable table 36 - connect mode options accept incoming connections serial response upon connection active connection startup hostlist hex never none (quiet) no active startup n/a...

  • Page 105

    Binary to hex uds-10 user guide 9-3 accept incoming connections serial response upon connection active connection startup hostlist hex unconditionally character any character d1 unconditionally character active dtr d2 unconditionally character cr (0x0d) d3 unconditionally character manual connection...

  • Page 106

    Binary to hex 9-4 uds-10 user guide accept incoming connections serial response upon connection active connection startup hostlist hex unconditionally character any character hostlist f1 unconditionally character active dtr hostlist f2 unconditionally character cr (0x0d) hostlist f3 unconditionally ...

  • Page 107

    Binary to hex uds-10 user guide 9-5 9.2 disconnect mode options table 38 - disconnect mode options disconnect with dtr drop (note) telnet mode and terminal type setup channel (port) password hard disconnect state led off with connection disconnect with eot (^d) hex enable 0 enable enable 10 enable e...

  • Page 108

    Binary to hex 9-6 uds-10 user guide disconnect with dtr drop (note) telnet mode and terminal type setup channel (port) password hard disconnect state led off with connection disconnect with eot (^d) hex enable disable 48 enable enable disable 58 enable disable enable 68 enable enable disable enable ...

  • Page 109

    Binary to hex uds-10 user guide 9-7 9.3 flush mode (buffer flushing) options table 39 - flush mode options serial to network clear input buffer upon: network to serial clear output buffer upon: alternate packing algorithm hex none 0 active connection 10 passive connection 20 active connection passiv...

  • Page 110

    Binary to hex 9-8 uds-10 user guide serial to network clear input buffer upon: network to serial clear output buffer upon: alternate packing algorithm hex active connection active connection enable 91 passive connection active connection enable a1 active connection passive connection active connecti...

  • Page 111

    Binary to hex uds-10 user guide 9-9 serial to network clear input buffer upon: network to serial clear output buffer upon: alternate packing algorithm hex disconnect active connection passive connection 43 active connection disconnect active connection passive connection 53 passive connection discon...

  • Page 112

    Binary to hex 9-10 uds-10 user guide serial to network clear input buffer upon: network to serial clear output buffer upon: alternate packing algorithm hex active connection disconnect disconnect enable d4 passive connection disconnect disconnect enable e4 active connection passive connection discon...

  • Page 113

    Binary to hex uds-10 user guide 9-11 serial to network clear input buffer upon: network to serial clear output buffer upon: alternate packing algorithm hex active connection passive connection passive connection disconnect 36 disconnect passive connection disconnect 46 active connection disconnect p...

  • Page 114

    Binary to hex 9-12 uds-10 user guide serial to network clear input buffer upon: network to serial clear output buffer upon: alternate packing algorithm hex passive connection disconnect active connection passive connection disconnect 67 active connection passive connection disconnect active connecti...

  • Page 115

    Binary to hex uds-10 user guide 9-13 9.4 interface mode options table 40 - interface mode options interface bits parity stop bits hex 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...

  • Page 116

    Binary to hex 9-14 uds-10 user guide 9.5 pack control options table 41 - pack control options sendcharacter defined by a: trailing characters idle time force transmit: send immediately after sendcharacter hex 1-byte sequence no 12ms 0 1-byte sequence no 52ms 1 1-byte sequence no 250ms 2 1-byte seque...

  • Page 117

    Binary to hex uds-10 user guide 9-15 sendcharacter defined by a: trailing characters idle time force transmit: send immediately after sendcharacter hex 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 y...

  • Page 119: 10. Ip Addresses

    Binary to hex uds-10 user guide 10-1 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...

  • Page 120

    Binary to hex 10-2 uds-10 user guide 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....

  • Page 121

    Binary to hex uds-10 user guide 10-3 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 y...

  • Page 123: 11. Glossary of Terms

    Glossary of terms uds-10 user guide 11-1 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. Autoip autoip is an alternative to dhcp that allows hosts to automatically ...

  • Page 124

    Glossary of terms 11-2 uds-10 user guide 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 represe...

  • Page 125

    Glossary of terms uds-10 user guide 11-3 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 ...

  • Page 126

    Glossary of terms 11-4 uds-10 user guide 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 o...

  • Page 127

    Glossary of terms uds-10 user guide 11-5 dialback: a security feature that ensures people do not log into modems that they shouldn't have access to. When a connection is requested, the system checks the user name for validity, then "dials back" the number associated with that user name. Distributed ...

  • Page 128

    Glossary of terms 11-6 uds-10 user guide 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...

  • Page 129

    Glossary of terms uds-10 user guide 11-7 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 host...

  • Page 130

    Glossary of terms 11-8 uds-10 user guide 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" c...

  • Page 131

    Glossary of terms uds-10 user guide 11-9 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 ...

  • Page 132

    Glossary of terms 11-10 uds-10 user guide 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 com...

  • Page 133

    Glossary of terms uds-10 user guide 11-11 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 ...

  • Page 134

    Glossary of terms 11-12 uds-10 user guide 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 ...

  • Page 135

    Glossary of terms uds-10 user guide 11-13 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 whe...

  • Page 136

    Glossary of terms 11-14 uds-10 user guide 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' ...

  • Page 137

    Glossary of terms uds-10 user guide 11-15 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 ...

  • Page 138

    Glossary of terms 11-16 uds-10 user guide terminal server: a concentrator that facilitates communication between hosts and terminals. Terminator: used on both ends of a standard ethernet or thinwire ethernet segment, this special connector provides the 50 ohm termination resistance needed for the ca...

  • Page 139

    Glossary of terms uds-10 user guide 11-17 twisted-pair cable: inexpensive, multiple-conductor cable comprised of one or more pairs of 18 to 24 gauge copper strands. The strands are twisted to improve protection against electromagnetic and radio frequency interference. The cable, which may be either ...