Hide thumbs Also See for Digi TS W:
Table of Contents

Advertisement

Quick Links

User Guide
Digi TS W Family
9000329_B

Advertisement

Table of Contents
loading

Summary of Contents for Digi Digi TS W

  • Page 1 User Guide Digi TS W Family 9000329_B...
  • Page 2 Digi International Inc. 2003. All Rights Reserved. e Digi logo, PortServer, Connectware, Digi One, and RealPort are trademarks or registered trademarks of Digi International, Inc. 9000329_B...
  • Page 3: Table Of Contents

    Setup Overview ..................9 Step A: Plan......................9 Step B: Set Up the Hardware ................9 Step C: Install and Setup Digi Port Authority-Remote ........9 Step D: Configure an IP Address ............... 9 Step E: Configure Ports ..................9 Step F: Configure Other Features as Required ..........
  • Page 4 Configuring Outbound PPP Connections: Command Line....28 Filters for PPP Connections ................31 Chapter 7 Modem Emulation Modem Emulation (Digi One TS and PortServer TS 2/4 MEI only)..33 Common User Scenarios ..............33 Modem Emulation Cable Signals ............34 Originating, Answering, and Disconnecting Calls........ 35 Disconnecting Calls-Digi Device Server ............
  • Page 5 Chapter 9 Configuring IP Routing Configuring Static Routes..............53 Related Information ..................53 Procedure ......................53 Example: Route Using the Ethernet Interface ..........53 Example: Route Using a PPP Link ..............53 Configuring Dynamic Routes Using RIP..........54 Related Information ..................54 Starting Point ....................
  • Page 6 Chapter 11 Configuring the Digi Device for IA(Industrial Automation) Configuring Modbus ................63 Modbus Configuration Procedure ..............63 Configuring the User-Defined Protocol..........63 Modbus Configuration Procedure ..............64 Chapter 12 Configuring DNS About the Domain Name System ............65 Purpose of DNS....................65 DNS Components.....................
  • Page 7 FCC Part 15 Class A ..................81 Radio Frequency Interference (RFI) (FCC 15.105) .......... 81 Labeling Requirements (FCC 15.19) ..............82 Modifications (FCC 15.21) ................82 Cables (FCC 15.27)..................82 ICES 003 Class B ..................... 82 Digi Contact Information ..............82 Contents...
  • Page 8 Contents...
  • Page 9: Chapter 1 Introduction

    Software and Documentation CD. Step C: Install and Setup Digi Port Authority-Remote Digi Port Authority-Remote is a utility that provides one of the ways to configure an IP address and also provides port monitoring. See the Digi Port Authority-Remote Device Monitor Setup Guide, which is on the Software and Documentation CD.
  • Page 10: Step F: Configure Other Features As Required

    If you use the command line, you will find the commands needed within each chapter. For detail such as syntax, parameters, range, variables, or applications see the Digi One/PortServer TS 2/4 Command Reference found on the Software and Documentation CD.
  • Page 11: Digi One/Portserver Ts Command Reference

    Downloading a Configuration File With this method, you configure a Digi device and then do the following: 1. Download an existing configuration file to a host system. 2. Edit the file with specific configuration using a text editor.
  • Page 12: Configuration Prerequisites

    1. Connect a terminal or PC to a serial port on the device server. For a Windows HyperTerminal connection, use the cable that came in the package. 2. Configure the parameters of the terminal or terminal emulation software to work with the Digi serial port. The default port settings are: • VT 100 emulation •...
  • Page 13: Chapter 2 Configuring Wireless

    C o n f i g u r i n g W i r e l e s s Chapter 4 Configuration Considerations The PortServer TS 4 W works ONLY with the radio provided. You can use the wizard to configure your wireless device available on the Software and Documentation CD.
  • Page 14 Cancel and follow the remaining procedure to set up the IP address and configure the device through the web interface. 3. Select Discover Digi Device (from the CD). 4. Select the wireless device and assign the IP address.
  • Page 15 9. Click Network from the left navigation bar. 10. Enter parameters, click Apply to save then click Wireless LAN Settings. Chapter 4 Configuring Wireless...
  • Page 16 11. Enter the parameters and click Apply to save and Advanced Network Settings for more settings. Chapter 4 Configuring Wireless...
  • Page 17 12. Enter parameters, click Apply to save. 13. Unplug the Ethernet cable from the device server, disconnect the power, and power the unit up (reboot). Configuration is complete. Chapter 4 Configuring Wireless...
  • Page 18 Chapter 4 Configuring Wireless...
  • Page 19: Chapter 3 Configuring The Ip Address

    Not all Digi devices can use Digi Port Authority-Remote and ARP-Ping for IP address configuration. To determine if you can use these features, find the hardware label on your Digi device and then use the table below to determine whether this feature is available:...
  • Page 20: Procedure

    That your Digi device is connected to the Ethernet network Procedure 1. Record the MAC address of the Digi device. It’s on the back of the unit. 2. Access a server on the same subnet as the Digi device. 3. Manually update the server’s ARP table using the Digi device’s MAC address and the IP address you want assigned to the Digi device.
  • Page 21: Configuring The Ethernet Interface From The Command Line

    4. Ping the Digi device using the IP address just assigned. The following is an example: ping 143.191.2.1 The ping will probably time out before there is a response from the Digi device. 5. Wait a few seconds and then ping the Digi device again.
  • Page 22: Configuring An Ip Address Using Dhcp And Rarp

    boot action=reset Configuring an IP Address using DHCP and RARP About DHCP and RARP When the device server boots, it transmits a DHCP request and a RARP request. This continues until an address is assigned. Procedure To use RARP or DHCP follow these steps: 1.
  • Page 23: Chapter 4 Setting Up Realport

    S e t t i n g U p R e a l P o r t Chapter 6 About RealPort This section provides a brief introduction to RealPort. What is RealPort? RealPort is a feature that allows network-based host systems to use the ports of the device server as though they were the host system’s own ports, appearing and behaving as local ports to the network-based host.
  • Page 24 Chapter 6 Setting Up RealPort...
  • Page 25: Chapter 5 Configuring The Serial Ports

    C o n f i g u r i n g t h e S e r i a l P o r t s Chapter 7 Options for Configuring the Serial Ports The device server serial ports can be configured using the following methods: •...
  • Page 26: Configuring The Serial Port Settings From The Command Line

    Apply. Configuring the Serial Port Settings from the Command Line Use the set ports, set line, and set flow commands from the Digi One/ PortServer TS 2/4 Command Reference to set the serial port settings. Chapter 7 Configuring the Serial Ports...
  • Page 27: Chapter 6 Configuring Ppp

    • min for inbound only modem connections • mio for bidirectional modem connections. See the set ports command in the Digi One/PortServer TS Command Reference for more information. Example: set ports range=3 device=min 2. To configure flow control for the ports, enter the following command:...
  • Page 28: Configuring Outbound Ppp Connections: Command Line

    This section describes how to configure outbound PPP connections. Use it to configure outbound only connections or to configure the outbound portion of bidirectional connections. Note: CHAP authentication works between two Digi devices. CHAP will be negotiated to PAP for all other connections Chapter 8 Configuring PPP...
  • Page 29 Example: set line range=3 baud=115000 4. If you do not want to use the Digi-supplied dialer script (genmdm) and login script (loginscript), which work for most applications, use the set script command to create your own scripts. See the set script command in the Digi One/PortServer TS Command Reference for more information.
  • Page 30 0.0.0.0. , which means that the user will request an IP address from the remote server. • A specific IP address, which means that the Digi device will attempt to use this IP address. The remote server must agree to this request.
  • Page 31: Filters For Ppp Connections

    RIP maintained. packets. Causes the Digi device to Filter that causes an outgoing connection to be ini- bringup establish a connection. tiated whenever a packet specifying a particular IP...
  • Page 32 Chapter 8 Configuring PPP...
  • Page 33: Chapter 7 Modem Emulation

    Modem Emulation (Digi One TS and PortServer TS 2/4 MEI only) Modem emulation enables a system administrator to configure a networked Digi device server to act as a modem. The Digi device server emulates modem responses to a serial device and seamlessly sends and receives data over an Ethernet network instead of a PSTN (Public Switched Telephone Network).
  • Page 34: Modem Emulation Cable Signals

    192.168.25.30 Serial cable In Diagram B, two Digi device servers will replace modems on both sides of the connection. The initiation of the connection occurs with either of the Digi device servers. If both ends are Digi device servers, the TCP listening port number is 50001 for port 1.
  • Page 35: Originating, Answering, And Disconnecting Calls

    Originating, Answering, and Disconnecting Calls In the following table, an application requests a TCP session with the Digi device server. The table displays the responses of the Digi device server and application as they negotiate a TCP connection. Application AT Com-...
  • Page 36: Disconnecting Calls-Digi Device Server

    <P> represents a one second pause. Disconnecting Calls-Digi Device Server The Digi device server sends a NO CARRIER response to the serial port when the network connection is dropped. Chapter 9 Modem Emulation...
  • Page 37: Modem Emulation At Command Set

    This command initiates a hang up sequence. OK n=0 or 1 H0 : Disconnect the TCP session if the modem is currently on line. ERROR Otherwise H1 : If on-hook, the Digi Device Server will go off-hook and enter command mode. Chapter 9 Modem Emulation...
  • Page 38: Result Code

    Result Function Code Command Identification command I0 reports product code. Example: Digi Device server I1 reports 255 I2 reports “OK” OK n=0 or 9 I3 reports “OK” ERROR ATIn I4 reports DIGI DS_TS Otherwise I5 reports “OK” I6 reports “OK”...
  • Page 39 Accepted but ignored. (Soft Reset and restore Profile). ERROR Otherwise DCD Option. The Digi Device Server controls the DCD output in accor- dance with the parameter supplied. The parameter value, if valid is written OK n=0 or 1 to S21 bit 5.
  • Page 40 ERROR Otherwise RTS/CTS Option This selects how the Digi Device Server controls CTS. CTS is modified if hardware flow control is selected (see &K command). The parameter value, if valid, is written to S21 bit2. &R0CTS reflects the ability of the modem to transmit data. For example, OK n=0 or 1 CTS will drop during retrains.
  • Page 41 Result Function Code Command OK n=0 or 1 AT\Gn Accepted but ignored. ERROR Otherwise OK n=0 to 5 AT\Kn Accepted but ignored. ERROR Otherwise Operating Mode This command controls the preferred error correcting mode to be negotiated in a subsequent data connection. \N0 Selects normal speed buffered mode OK n=0 to 5 \N1 Serial interface selected - Selects direct mode...
  • Page 42: S-Registers

    Default Rings to Auto-Answer Sets the number of rings required before the 0-255 Rings Digi Device Server automatically answers a call. Setting this register to Zero disables auto- answer mode. Ring Counter S1 is incremented each time the modem 0-255 Rings detects a ring signal on the telephone line.
  • Page 43 Register Function Range Units Saved Default Reserved General Bit Mapped Options Status Indicates the status of command options. Default:138 (8Ah) (10001010b) Bit 0This bit is ignored. Bit 1Command echo (En) 0 =Disabled (E0) 1 =Enabled (E1) (Default.) Bit 2Quiet mode (Qn) 0 =Send result codes (Q0) (Default.) 1 =Do not send result codes (Q1) Bit 3Result codes (Vn)
  • Page 44 Register Function Range Units Saved Default General Bit Mapped Options Status Indicates the status of command options. Default:52 (34h) (00110100b) Bit 0Set by &Jn command but ignored other- wise. 0 =&J0 (Default.) 1 =&J1 Bit 1Reserved Bit 2CTS behavior (&Rn) 0 =CTS tracks RTS (&R0) 1 =CTS always on (&R1) (Default.) Bits 3-4DTR behavior (&Dn)
  • Page 45 Register Function Range Units Saved Default General Bit Mapped Options Status Indicates the status of command options. Default:62 (3Dh) (00111110b) Bit 0Grant RDL 0 =RDL not allowed (&T5) (Default.) 1 =RDL allowed (&T4) Bits 1-3DTE Rate 0 =0 - 300 bps 1 =600 bps 2 =1200 bps 3 =2400 bps...
  • Page 46 Register Function Range Units Saved Default General Bit Mapped Options Status Telnet support for modem emulation. Default:0 Bit 0-1 Send TCP transmit data timer 0 = 100ms 1 = 200 ms 2 = 300 ms 3 = 500 ms Bits 2-3 Service TCP transmit data watermark 0 = 256 1 = 512 2 =768...
  • Page 47: Result Codes

    Register Function Range Units Saved Default (Coun- Accepted but ignored. 0-15 depen- dent) (Country Accepted but ignored. 0-15 depen- dent) Accepted but ignored. * Register value may be stored in one of two user profiles with the &W command. Result Codes Short Long Form Short...
  • Page 48 Chapter 9 Modem Emulation...
  • Page 49: Chapter 8 Configuring Autoconnection

    6. To return to the main Ports menu, choose Ports from the Menu again. Commands for Configuring Autoconnection by Port or by User See the complete list of commands in the Digi One/PortServer TS Command Reference. The commands needed for autoconnection either by port or by user will be under the following commands in the Command Reference on your Software and Documentation CD.
  • Page 50: Configuring Tcp Socket Communication

    TCP socket communication enables serial devices to communicate with each other over an Ethernet network as though they were connected by a serial cable. This section describes how to use the web interface to configure this Digi device for the following: •...
  • Page 51: Procedure For Configuring Inbound Or Outbound Socket Communication

    Procedure for Configuring Inbound or Outbound Socket Communication 1. Access the web interface by entering the device server IP address in a browser’s URL window. 2. Log on to the Digi One/PortServer TS as root. The default password is dbps. 3. Click Serial Ports.
  • Page 52 Chapter 10 Configuring Autoconnection...
  • Page 53: Chapter 9 Configuring Ip Routing

    Configuring Static Routes This section describes how to configure device server for static routes. Related Information See the set route command in the Digi One/PortServer TS Command Reference. Procedure To configure a static route over a PPP link, enter the following command:...
  • Page 54: Configuring Dynamic Routes Using Rip

    This section describes how to configure the device server for dynamic routing. Related Information See the set forwarding command in the Digi One/PortServer TS Command Reference. Starting Point This procedure assumes that you have signed on as root and have or will configure modems, modem scripts, devices, and filters for routes that use serial lines.
  • Page 55: Configuring Proxy Arp

    Configuring Proxy ARP This section describes how to configure device server for Proxy ARP. Related Information See the set forwarding command in the Digi One/PortServer TS Command Reference. Starting Point This procedure assumes that you have signed on as root and have or will configure modems, modem scripts, devices, and filters for routes that use serial lines.
  • Page 56 Chapter 11 Configuring IP Routing...
  • Page 57: Chapter 10 Configuring Security Features

    Regular users can view some configuration tables and can change some configuration parameters related to their own sessions and passwords. See the Digi One/PortServer TS Command Reference for information on the limitations placed on regular users for each command.
  • Page 58: Example

    The default for outbound ports is unlimited access. Restricting Access to Outbound Ports Use the set auth command to restrict access to outbound ports. See the description of the set auth command in the Digi One/PortServer TS Command Reference for more information. CHAP Authentication for PPP Users CHAP authentication can be used to restrict PPP user access to outbound ports.
  • Page 59: Method 2: Menus

    Issuing User Passwords This section discusses how to issue user passwords. Related Information See the newpass and set user commands in the Digi One/PortServer TS Command Reference. Starting Point This procedure assumes that you have signed on as root and already configured the user to whom you will be issuing a password.
  • Page 60: Password Protection

    Making Reverse SSH Connections to Ports The convention used to identify a port for a reverse SSH connection to a Digi device is to use 2500 + the port number. See the examples that follow for more information. Example: Reverse SSH Connection to Port 1 ssh 192.1.2.3 2501...
  • Page 61: Service Levels

    Procedure Use this topic for information on using the web interface to turn services off. 1. Access the device server from a web browser by entering the Digi device’s IP address in the URL window. 2. Log on as root. The default password is dbps.
  • Page 62 Chapter 12 Configuring Security Features...
  • Page 63: Configuring Modbus

    TCP sockets, UDP sockets, and Modbus/TCP are all sup- ported. Use the protocol required by the master. Configuring the User-Defined Protocol Digi One\PortServer TS 2/4 MEI devices support what Digi calls the “user- defined” protocol, which is any IA serial-port protocol with the following attributes:...
  • Page 64: Modbus Configuration Procedure

    • Each protocol request is followed by a single response. Modbus Configuration Procedure Use the setia command from the See the Digi One/PortServer TS Command Reference for information. • Configure the serial port for serial communication parameters (baud rate, data bits, parity and stop bits) required by the connected IA device.
  • Page 65: Chapter 12 Configuring Dns

    C o n f i g u r i n g D N S Chapter 14 About the Domain Name System This section discusses key concepts of the domain name system. Purpose of DNS The domain name system maps domain names to information associated with these names, such as IP addresses.
  • Page 66: Configuration Procedures

    DNS name for device server • ip-address is the IP address of a name server Example: set config domain=digi.com myname=poe dns=204.221.1.4 Procedure for Using a Host File Use this section to configure the host table, which maps IP addresses to host names.
  • Page 67: Chapter 13 Configuring Snmp

    C o n f i g u r i n g S N M P Chapter 15 About SNMP and the Device Server Agent This section introduces SNMP and network management in TCP/IP networks and it describes the device server agent. It discusses the following: •...
  • Page 68: Message Support

    2. Log on to the device server as root. Note: The default password is dbps, which should be changed. See the newpass command in the Digi One/PortServer TS Command Reference for information on changing passwords. 3. Click SNMP under System from the menu.
  • Page 69: Chapter 14 Configuring Users

    You can configure users in the following ways: • With the web interface. • With the set user command. See the set user command in the Digi One/PortServer TS Command Reference. Common User Features This section discusses common user-related features. For a complete list, see the set user command in the Digi One/PortServer TS Command Reference.
  • Page 70: Configuring A User: Web Interface

    Connect, Telnet, Rlogin, and Kill as well as an SSH Public Key. Click Apply to save the settings. Commands for Configuring a User Use the commands listed below as well as find specific examples and complete parameters from the Digi One/PortServer TS Command Reference. • set user (name=) •...
  • Page 71: Chapter 15 Managing The Os And Configuration

    This section discusses copying the configuration to a remote host and from a remote host, which means you can configure the Digi device remotely by entering commands in a text file and then copying the file to the Digi device.
  • Page 72: Http Procedure

    Command Line If you want to use the command line to copy the configuration to and from a remote host, use the cpconf command. See the Digi One/PortServer TS Command Reference for more information. Resetting Device Server Configuration to Defaults Use this topic to reset the device server configuration to defaults.
  • Page 73: Commands For Resetting The Configuration To Defaults

    Commands for Resetting the Configuration to Defaults Use the revert command to reset the configuration to factory defaults or the latest version stored in NVRAM. See the Digi One/PortServer TS Command Reference for complete information. Note: You can also use the range field on this command to define a range of ports with the serial, port, line, flow, keys, and login options.
  • Page 74 Chapter 17 Managing the OS and Configuration...
  • Page 75: Chapter 16 Configuring Power Over The Serial Ports

    Ring Indicator (RI) power in accepts power into the Digi device server only on port one. Power in is available using the RI pin. The Digi device requires power in the range of 9-30 VDC @ 525mA (max). Ports 2, 3, and 4 can still supply power to a serial device through the RI or DTR pins for each port.
  • Page 76: Ri Power Out

    Configuring DTR Power Power Out Data Terminal Ready (DTR) power out is the factory default on the Digi device server. Total power budget for this feature is one watt not to exceed 9 volts @ up to 100mA to any single port.
  • Page 77: Serial Power Table

    instructions to reset. From the command line use the two examples below for additional information. display circuitbreaker Display the status of the circuit breaker set configuration circuitbreaker=reset Reset the circuit breaker Note: set configuration print will also give the status of the circuitbreaker state. Serial Power Table Use this table for summary information for a serial power setup.
  • Page 78 Chapter 18 Configuring Power Over the Serial Ports...
  • Page 79: Chapter 17 Reference And Certifications

    9-1-1 pattern 1-952-912-3444 or outside the U.S. (+011) 952-912-3444 Steady blinking Device seeking an IP address from DHCP server. On Digi One RealPort and PortServer TS 2/4 devices, this Solid means the boot completed sucessfully. Chapter 19 Reference and Certifications...
  • Page 80: Device Server Eia 232/422/485 Switch Settings

    Device Server EIA 232/422/485 Switch Settings Switch Settings Function EIA-232 Down Down Down EIA-422/485 Full-duplex Down Down If up, termination. If down, EIA-485 half-duplex Down Down no termination RJ-45 Pinouts RJ-45 EIA-422/485 EIA-485 Half- EIA-232 Full-Duplex Duplex TxD- TxD- RxD- RxD- RTS+ TxD+...
  • Page 81: Standard Models Specifications

    Standard Models Specifications Power Requirements (Standard Models) 2-contact barrel connector +9 to +30 VDC 525 mA (max) external power supply Environmental Ambient 0 to 50° Celsius temperature 32 to 131° Fahrenheit Relative 5% to 90% non-condensing humidity 0 to 12,000 feet Altitude 0 to 3,658 meters Mechanical...
  • Page 82: Labeling Requirements (Fcc 15.19)

    (2) this device must accept any interference received, including interference that may cause undesired operation. Modifications (FCC 15.21) Changes or modifications to this equipment not expressly approved by Digi may void the user's authority to operate this equipment. Cables (FCC 15.27) Shielded cables must be used to remain within the Class A limitations.
  • Page 83 Digi Contacts World Wide Web: http://digi.com email digi.info@digi.com Telephone (U.S.) 1-952-912-3444 Telephone (other locations) (+011) 952-912-3444 Chapter 19 Reference and Certifications...
  • Page 84 Chapter 19 Reference and Certifications...

Table of Contents