User Guide Digi One IA Digi One SP 92000326_D
Digi International Inc. 2003. Digi, Digi International, the Digi logo, the Digi Connectware, the Making Device Networking Easy logo, Digi One, and RealPort are trademarks or registered trademarks of Digi International, Inc. in the United States and other countries worldwide. All other trademarks are the property of their respective owners.
Contents Chapter 1 Introduction Introducing the Digi One IA ................................................................... 7 Digi One IA Overview ................................................................................ 7 Digi One IA Key Features .......................................................................... 8 Introducing the Digi One SP .................................................................. 8 Digi One SP Overview .........................................................
Chapter 4 Using the Web Interface Introduction.......................................................................................... 19 Getting Started .................................................................................... 19 Network Settings ................................................................................. 20 Serial Port Settings.............................................................................. 20 Basic Serial Settings ..........................................
Chapter 7 Troubleshooting Before contacting Tech Support, check the following:......................... 33 Introduction ............................................................................................... 33 Hardware .................................................................................................. 33 Power........................................................................................................ 33 Ethernet Cable ......................................................
Contents
Introduction Chapter 1 Introducing the Digi One IA Digi One IA Overview The Digi One IA device server easily enables any industrial device with a serial port to connect to the Ethernet. These devices include Programmable Logic Controllers, process and quality equipment, motors, drives, bar-code readers, operator displays, and other types of manufacturing equipment.
Digi One IA Key Features Here are some key Digi One IA features: • TCP/UDP socket services for broad device connectivity and application use • Support for RFC 2217 • RealPort (COM Port Redirection) • DB9M and screw terminals for serial port connection • Galvanically isolated (from earth ground) • Class 1, Div2 rated • Industry leading low latency • EIA-232/422/485 switch selectable • Easy configuration using the install CD through Setup wizard, web interface, or command line Introducing the
Part of Digi’s broad device server offering, the Digi One SP delivers standard Serial-to-Ethernet connectivity and is ideal for the following applications: • TCP socket and UDP socket Socket support includes serial bridging, which requires two device servers, each providing network connectivity for a serial device that would otherwise be limited to communication over a serial cable.
Chapter 1 Introduction
Configuring the IP Address Chapter 2 IP Address Configuration Methods An IP address can be assigned to the device server using any of the following methods: • • • • • Setup Wizard “Discovers” the device and then provides a method for assigning an IP address. See "Configuring the IP Address with the Setup Wizard" on page 11. DHCP The device server’s default configuration is as a DHCP client. See "Configuring the IP Address with DHCP" on page 12.
• • The CD will be used on a system running Microsoft Windows operating system or a Unix operating system The device server’s MAC address is recorded for later use in assigning an IP address Procedure 1. Insert the Digi CD in the CD drive. 2. If the CD does not start automatically, double-click My Computer > CD ROM Drive > setup.exe 3. The wizard will automatically pop up. Click Next. The Digi application finds and lists all of the Digi devices on your network. 4.
1. Access the command line. 2. Issue the following command: arp -s ip-address mac-address Example arp -s 192.168.2.2 00-40-9D-00-00-00 Ping the Digi device using the IP address just assigned. ping 192.168.2.2 The ping will probably time out before there is a response from the device server. Wait a few seconds and then ping the device server again. The device server will respond indicating that the IP address has been configured.
Chapter 2 Configuring the IP Address
Chapter 3 Setting Up RealPort (COM Port Redirection) What is RealPort Many serial devices, including barcode scanners and sensors, don’t have an Ethernet port. And even if they did, the applications that run them work on COM1. They know nothing of networking or TCP/IP. Many of these applications were written before TCP/IP and Internet were common. RealPort allows you to really network enable your device with our device servers. With a Digi device server, you can easily connect your device to the network.
2. Install the RealPort software on your PC. See "Installing RealPort on a System Running Microsoft Windows Operating System from the CD" on page 16. For UNIX RealPort software and documentation, see the Digi web site (www.digi.com). Configuring the Device Server for RealPort 1. Access the configuration by opening a web browser and entering the IP address in the URL address bar. 2. Log on as the root user (User Name root). The default password is dbps. 3.
3. 4. 5. 6. 7. Chapter 3 Click Drivers. Select your product. Select your operating system. Click Latest Driver. Download the driver and follow the ‘readme’ for download instructions.
Chapter 3 Setting Up RealPort (COM Port Redirection)
Using the Web Interface Chapter 4 Introduction This section describes the web interface that may be used to configure the device server. The interface is recommended for use if the wizard is unavailable or your application requires specific alterations not accessible on the wizard. Getting Started The wizard from the CD is designed to successfully configure the Digi device server.
Network Settings Network settings allow you to change the IP address. Advanced Network Settings allow you alter the Ethernet Interface speed and mode, TCP/IP settings, TCP keepalive settings, or DHCP settings. The screen below is the Advanced Network page.
Click Apply to save the profile. Basic Serial Settings After you select your port profile, the profile settings will appear. Click the appropriate features for your environment. The following information is a brief description of the fields within the Basic Serial Settings. The context sensitive Help link in the upper right hand corner can provide additional information. • Description -Specifies an optional character string for the port which can be used to identify the device connected to the port.
Click Apply to save the settings. Security The Security page allows you to change your password from the default password (username root, password dbps). To increase security for your device, change the password. System The System page allows you enter the Device name, Contact, and Location and change the Optimization from either Latency or Throughput. You can access the SNMP settings from this page as well.
Configuring Advanced Functions Chapter 5 Port Profiles The web interface allows users to configure a serial port based on the way the port will be used. Each profile displays the relevant settings for the configuration. There are 7 profile choices with Custom allowing the user to view all settings. 1. To configure any profile select Serial Ports 2. Click the port to be configured. 3. Click Change Profile 4. Select any profile and Click Apply. 5.
TCP Sockets Profile This profile allows serial devices to communicate over a TCP network. The TCP Server allows other network devices to initiate a TCP connection to the serial device attached to the serial port of the Digi device server. The TCP Client allows the Digi device server to automatically establish a TCP connection to an application or a network. Note: If using the RFC 2217 protocol, do not modify the port settings from the defaults.
Note: About TCP and UDP Port Numbers Digi device servers use the TCP and UDP port numbering conventions described in the following table: For this connection type... Use this Port Telnet to the serial port 2001 (TCP only) Raw connection to the serial port 2101(TCP and UDP) You must ensure that the application or device that initiates communication with the device server uses these ports.
Printer Profile This profile allows you to connect a printer to a serial port. Use this profile if you intend to print using the lpd protocol on your UNIX system. Note: Refer to your UNIX User Guide for tips on configuring the print spooler on your UNIX system. Terminal Profile This profile allows you to connect to a terminal to the serial port. Custom Profile This profile allows you to see all settings and set them accordingly.
Administration Chapter 6 Changing the Root Password For security reasons, we recommend you change the root password immediately. This procedure shows you how. Prerequisite This procedure assumes that you are the root user and that you know the current root password. Procedure 1. Open a web browser and enter the device server’s IP address in the URL window. 2. When the device server prompts you to log in, enter the following: • User Name is root • The root default password is dbps 3. Click Security. 4.
Procedure for Updating from a File on Your PC DO NOT close your browser until the update is complete and you have been prompted to reboot 1. Open a web browser and enter the device server’s IP address in the URL window. 2. When the device server prompts you to log in, enter the following: • User Name is root • The root default password is dbps 3. Click Upgrade Firmware from the main menu. 4. Select Firmware. 5. Click Browse to select the file. 6. Click Update. Procedure for TFTP 1.
3. Click Update Firmware. A screen appears with the options to update from a file or with a TFTP server. 4. Choose either: From a File • • • Select Boot/POST from the Update dropdown menu. Browse to locate the file. Click Update. From a TFTP Server • • • • Select Boot/POST from the Update dropdown menu. Enter the Firmware Image File name. Enter the TFTP Server’s IP. Click Update.
Resetting the Configuration Using the Reset Button 1. Power off the device server by unplugging the power. 2. Use a non-conducive, small diameter tool (such as wood or plastic) with a blunt end (NOT SHARP or the button could be damaged) to press gently and hold down the reset button. The flashing sequece of LEDs may take several seconds. The following figures help you locate the reset button. The first shows a Digi One IA. The second a Digi One SP. 3. While holding the reset button, power up the unit. 4.
Procedure 1. Open a web browser and enter the device server’s IP address in the URL window. 2. When the device server prompts you to log in, enter the following: • User Name is root • The root default password is dbps 3. Click Backup/Restore from the main menu. 4. Choose the appropriate option (Backup or Restore) and select your file. Viewing Port or Network Statistics and Settings Introduction Use this procedure to view port or network statistics and configuration settings. Procedure 1.
Chapter 6 Administration
Tr o u b l e s h o o t i n g Chapter 7 Before contacting Tech Support, check the following: Introduction Before contacting Tech Support there are several things you can do to identify if the problem is related to hardware, software, or firmware. The following sections will walk you through the basic diagnostic procedures. Hardware The following tests or procedures will help you determine if the problem is related to the hardware. Power Always check the power first.
• • • • Connected securely at both ends Pinned correctly Quality is sufficient for cable length and environment Ethernet hub is properly configured Refer to the Chapter 8 Reference for more information about LEDs. EIA 232/422/485 Switches Verify the EIA 232/422/485 switches are set to your peripheral device’s requirements. These settings are on the Digi One IA label, the Quick Start guide for the Digi One SP, and the reference section of this guide.
connections. If your device server is configured correctly but you are unable to communicate with your serial device connected to the device server port, check the cabling. Cabling Make sure you have the proper cabling from the Digi One IA (or SP) device server’s serial port to the connecting device. The Digi One is a DTE device. The DB9 pinout can be found on the Digi One IA device label or on the Quick Start Guide for the Digi One SP.
If HyperTerminal works with the loop back but you cannot communicate with your serial device, check the cabling. Do not leave your browser until you are prompted to reboot. 36 1. Download RealPort from the CD enclosed with the device server or from the Tech Support FTP site. 2. Verify you have the latest version of the driver installed. 3. Open up HyperTerminal and connect to the COM Port you want to test. 4. Plug the DB-9 Loop back (shipped with the product) into the serial port into the Digi device. 5.
Reference Chapter 8 Digi One IA LEDs LED Power LAN Diag Color Power Green Link Red TX/RX Green Diag State Indicates On Power detected off No power detected On No network detected Off Network detected On Network traffic Off No network traffic Blinking 1-1-1 Starting the EOS Blinking 1-3-1 Starting the TFTP process Blinking 1-5-1 Configuration returned to factory defaults Steady blinking Device seeking an IP address from a DHCP server Blinking 9-1-1 Contact Tech Support +1
DB9 and Screw Terminal Pinouts DB9 Pin EIA-232 EIA-422/485 Full-Duplex EIA-485 HalfDuplex Screw Terminal 1 2 DCD CTS- Not used 9 RxD RxD+ RxD+ 6 3 TxD TxD+ TxD+ 3 4 DTR RTS- Not used 2 5 GND GND GND 5 6 DSR RxD- RxD- 7 7 RTS RTS+ Not used 1 8 CTS CTS+ Not used 8 9 NA TxD- TxD- 4 FCC Class A Statement: Digi One IA These devices comply with part 15 of the FCC rules.
Digi One SP LEDs LED Color State Red (labeled PWR) Power Link Green ACT Yellow Indicates On Power detected Steady blinking Waiting for an IP address Blinking 1-1-1 Starting the EOS Blinking 1-3-1 Starting the TFTP process Blinking 1-5-1 Configuration returned to factory defaults Blinking 9-1-1 Contact Tech Support +1 (952) 912-3444 Off No power detected On Physical network detected Off No physical network detected On Bad initialization Off Ready Blinking Network activity Di
Digi One SP Safety • • UL 60950 3rd Ed. EN 60950 (European Union) • CSA C22.2, No. 60950 3rd Ed. (Canada) Device Server EIA 232/422/485 Switch Settings Switch Settings Function 1 2 3 4 Up Down Down Down EIA-422/485 Fullduplex Down Up Down EIA-485 half-duplex Down Down Up If up, termination. If down, no termination EIA-232 Important Safety Information To avoid contact with electrical current: Never install electrical wiring during an electrical storm.
such facilities. Telephone wiring must be at least 6 feet from bare power wiring or lightning rods and associated wires, and at least 6 inches from other wire (antenna wires, doorbell wires, wires from transformers to neon signs), steam or hot water pipes, and heating ducts. Before working with existing inside wiring, check all electrical outlets for a square telephone dial light transformer and unplug it from the electrical outlet. Failure to unplug all telephone transformers can cause electrical shock.
Chapter 8 Reference
Index C P certifications Digi One IA 38, 39 Digi One SP 39 Com redirection defined 15 setting up RealPort 15 configuration copying to a server 30 downloading from a server 30 resetting to defaults 29 configuring RealPort 16 configuring the IP address methods 11 using ARP-Ping 12 using DHCP 12 using setup 11 copying the configuration to a server 30 Custom Profile 26 password, changing the root password 27 pinouts, DB9 38 Port Profiles 23 port statistics 31 Printer Profile 26 D DB9 pinouts 38 default conf