Lantronix XSENSO 21A2, XSENSO 21R2, XSENSO 2100 User Manual

xSenso
User Guide
xSenso 2100 xSenso 21A2 xSenso 21R2
Part Number 900-629-R
Revision B March 2013
© 2013 Lantronix, Inc. 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.
Lantronix® is a registered trademark and DeviceInstaller and xSenso are trademarks of Lantronix, Inc.
Windows® and Internet Explorer® are registered trademarks of Microsoft Corporation. Mozilla® and Firefox® are registered trademarks of the Mozilla Foundation. Chrome™ is a trademark of Google. Opera™ is a trademark of Opera Software ASA. Tera Termâ is a registered trademark of Vector, Inc. All other trademarks and trade names are the property of their respective holders.

Warranty

For details on the Lantronix warranty policy, please go to our web site at
www.lantronix.com/support/warranty

Contacts

.
Lantronix Corporate Headquarters
167 Technology Drive Irvine, CA 92618, USA
Toll Free: 800-526-8766 Phone: 949-453-3990 Fax: 949-450-7249
Technical Support
Online: www.lantronix.com/support
Sales Offices
For a current list of our domestic and international sales offices, go to the Lantronix web site at
www.lantronix.com/about/contact

Disclaimer

The information in this guide may change without notice. The manufacturer assumes no responsibility for any errors that may appear in this guide.

Revision History

Date Rev. Comments
July 2012 A Initial document for firmware release 7.4.0.0. March 2013 B Updated for firmware release 7.6.0.0R10 and added xSenso 21A2 and
.
xSenso 21R2.
xSenso User Guide 2

Table of Contents

Copyright & Trademark ______________________________________________________2 Warranty _________________________________________________________________2 Contacts _________________________________________________________________2 Disclaimer ________________________________________________________________2 Revision History ___________________________________________________________2 List of Figures ____________________________________________________________10 List of Tables _____________________________________________________________11
1: Using This Guide 13
Purpose and Audience _____________________________________________________13 Summary of Chapters ______________________________________________________13 Additional Documentation ___________________________________________________14
2: Introduction 15
Key Features _____________________________________________________________15 Applications ______________________________________________________________16
Sample Applications ____________________________________________________16 Protocol Support _________________________________________________________17 Troubleshooting Capabilities _________________________________________________18 Configuration Methods _____________________________________________________18
Configuration Using the MGMT (USB) Port __________________________________18 xSenso Wiring Example ____________________________________________________19 Addresses and Port Numbers ________________________________________________20
Hardware Address _________________________________ ____________________20
IP Address ___________________________________________________________20
Port Numbers _________________________________________________________20 Product Information Label ___________________________________________________20
3: Installation of xSenso 22
Package Contents _________________________________________________________22 User-Supplied Items _______________________________________________________22 xSenso 2100 Isolation Block Diagram _________________________________________23 Hardware Components _____________________________________________________23
Front/Top Panel _______________________________________________________23
Right Side Panel _______________________________________________________25
Back Panel ___________________________________________________________26 Installing the xSenso _______________________________________________________26
xSenso User Guide 3
4: Installation of xSenso 21A2 28
Package Contents _________________________________________________________28 User-Supplied Items _______________________________________________________28 xSenso 21A2 Isolation Block Diagram _________________________________________29 Hardware Components _____________________________________________________29
Front/Top Panel _______________________________________________________29
Side Panels __________________________________________________________32
Back Panel ___________________________________________________________32 Installing the xSenso _______________________________________________________33
5: Installation of xSenso 21R2 34
Package Contents _________________________________________________________34 User-Supplied Items _______________________________________________________34 xSenso 21R2 Block Diagram ________________________________________________35 Hardware Components _____________________________________________________35
Front/Top Panel _______________________________________________________35
Side Panels __________________________________________________________38
Back Panel ___________________________________________________________38 Installing the xSenso _______________________________________________________39
6: Using DeviceInstaller 40
Accessing xSenso Using DeviceInstaller _______________________________________40 Device Detail Summary _____________________________________________________40
7: Configuration Using Web Manager 42
Accessing Web Manager ___________________________________________________42
xSenso Home and Device Status Pages ____________________________________45 Live Reading Pages and Configuration Pages ___________________________________46 Web Manager Components _________________________________________________47 Navigating Web Manager ___________________________________________________48
8: Network Settings 50
Network Interface Settings __________________________________________________50
To Configure Network Interface Settings ____________________________________51
To View Network Interface Status _________________________________________51 Network Link Settings __________________________________________________ ____52
To Configure Network Link Settings ________________________________________52
xSenso User Guide 4
9: Analog Input, Output and Relay Settings 53
DAQ Format _____________________________________________________________53
To Configure DAQ Settings ______________________________________________54 Analog Input _____________________________________________________________55
To Configure Analog Settings _____________________________________________56 Analog Output ____________________________________________________________56
To Configure Analog Output Settings _______________________________________57 Relay Output _____________________________________________________________57
To Configure Relay Settings ______________________________________________58
10: Chart 59
Data Chart Configuration ___________________________________________________60
To Configure Data Chart Settings _________________________________________60
11: Logging 61
Data Logging Configuration _________________________________________________63
To Configure Data Logging Settings _______________________________________63
12: Reading 64
Data Reading Configuration _________________________________________________65
To View Data Reading Settings ___________________________________________65
13: Action Settings 66
Alarms and Reports _______________________________________________________66 Actions Available for Alarms and Reports _______________________________________66
To Configure Terminal Block Power Alarm Settings ____________________________71
To Configure Barrel Connector Power Alarm Settings __________________________71
To Configure Input 1 and 2 Alarm Settings __________________________________72
To Configure Status Reports 1 and 2 Settings ________________________________72
To Configure Output 1 and 2 Alarm Settings _________________________________72
14: Tunnel and Modbus Settings 73
Tunnel Settings ___________________________________________________________73
Accept Mode ________________________________________________ __________73
To Configure Tunnel Accept Mode Settings __________________________________74 Modbus Settings __________________________________________________________75
To Configure Modbus Settings ____________________________________________75
Supported Modbus TCP/IP Functions and Registers ___________________________75
xSenso User Guide 5
15: Services Settings 77
DNS Settings _____________________________________________________________77
To View or Configure DNS Settings: _______________________________________77 FTP Settings _____________________________________________________________78
To Configure FTP Settings _______________________________________________78 Syslog Settings ___________________________________________________________78
To View or Configure Syslog Settings: ______________________________________79 HTTP Settings ________________________________ ____________________________79
To Configure HTTP Settings ___________________________________ __________80
To Configure HTTP Authentication _________________________________________81 RSS Settings _____________________________________________________________81
To Configure RSS Settings ______________________________________________82 SNMP Settings ___________________________________________________________82
To Configure SNMP Settings _____________________________________________83 SMTP Settings ___________________________________________________________83
To Configure SMTP Network Stack Settings _________________________________84
16: Security Settings 85
SSH Settings _____________________________________________________________85
SSH Server Host Keys __________________________________________________ 85
SSH Client Known Hosts ________________________________________________86
SSH Server Authorized Users ____________________________________________86
SSH Client Users ______________________________________________________87
To Configure SSH Settings ______________________________________________88 SSL Settings _____________________________________________________________88
Certificate and Key Generation ___________________________________________89
To Create a New Credential ______________________________________________89
Certificate Upload Settings _______________________________________________90
To Configure an Existing SSL Credential ____________________________________90
Trusted Authorities _____________________________________________________91
To Upload an Authority Certificate _________________________________________91
17: Maintenance and Diagnostics Settings 92
Filesystem Settings ________________________________________________________92
File Display ___________________________________________________________ 92
To Display Files _______________________________________________________92
File Modification _______________________________________________________93
File Transfer __________________________________________________________93
To Transfer or Modify Filesystem Files ______________________________________94 Protocol Stack Settings _____________________________________________________94
IP Settings ___________________________________________________________94
To Configure IP Network Stack Settings ____________________________________94
xSenso User Guide 6
ICMP Settings _________________________________________________________95
To Configure ICMP Network Stack Settings __________________________________95
ARP Settings _________________________________________________________95
To Configure ARP Network Stack Settings __________________________________95
SMTP Settings ________________________________________________________96
To Configure ARP Network Stack Settings __________________________________96 Diagnostics ______________________________________________________________96
Hardware ____________________________________________________________96
To View Hardware Information ____________________________________________96
IP Sockets ___________________________________________________________97
To View the List of IP Sockets ____________________________________________97
Ping ________________________________________________________________97
To Ping a Remote Host _________________________________________________97
Traceroute ___________________________________________________________98
To Perform a Traceroute ________________________________________________98
Log _________________________________________________________________98
To Configure the Diagnostic Log Output ____________________________________98
Memory ______________________________________________________________ 99
To View Memory Usage _________________________________________________99
Processes ____________________________________________________________ 99
To View Process Information _____________________________________________99 Threads ________________________________________________________________ 100
To View Thread Information _____________________________________________100 Clock __________________________________________________________________100
To Configure the Clock _________________________________________________101 System Settings _________________________________________________________101
To Reboot or Restore Factory Defaults ___________________ _________________101 Discovery and Query Port __________________________________________________102
To Configure Discovery ________________________________________________102
18: Advanced Settings 103
Email Settings ___________________________________________________________103
To View, Configure and Send Email _______________________________________103 Command Line Interface Settings ____________________________________________104
Basic CLI Settings ____________________________________________________104
To View and Configure Basic CLI Settings __________________________________104
Telnet Settings ____________________________________________________ ___105
To Configure Telnet Settings ____________________________________________105
SSH Settings ________________________________________________________105
To Configure SSH Settings _____________________________________________106 XML Settings ____________________________________________________________106
XML: Export Configuration ______________________________________________106
To Export Configuration in XML Format ____________________________________107
xSenso User Guide 7
XML: Export Status ____________________________________________________107
To Export in XML Format _______________________________________________107
XML: Import Configuration ______________________________________________108
Import Configuration from External File ____________________________________108
Import Configuration from the Filesystem ___________________________________108
To Import Configuration in XML Format ____________________________________108
19: Security in Detail 109
Public Key Infrastructure ___________________________________________________109 TLS (SSL) ______________________________________________________________109 Digital Certificates ________________________________________________________109 Trusted Authorities _________________________________________ ______________109 Obtaining Certificates _____________________________________________________110 Self-Signed Certificates ____________________________________________________110 Certificate Formats _______________________________________________________110 OpenSSL _______________________________________________________________ 110 Steel Belted RADIUS _____________________________________________________111 Free RADIUS ___________________________________________________________111
20: Updating Firmware 112
Obtaining Firmware _______________________________________________________112 Loading New Firmware through Web Manager _________________________________ 112
To upload new firmware: ___________________________________ ___________112
Loading New Firmware through FTP _________________________________________113
21: Branding the xSenso 114
Web Manager Customization _______________________________________________114 Short and Long Name Customization ______________________ ___________________115
To Customize Short or Long Names ______________________________________115
xSenso User Guide 8
Appendix A: Technical Specifications 116
Analog Inputs ________________________________________________________ 116
Analog Outputs _______________________________________________________116
Relay Ports __________________________________________________________116
Architecture _________________________________________________________117
Network Interface _____________________________________________________117
Management _________________________________________________________ 117
Security _____________________________________________________________ 117
DAQ _______________________________________________________________118
Software ____________________________________________________________118
Power* _____________________________________________________________118
Environmental ________________________________________________________ 118
Physical Characteristics ________________________________________________118
Appendix B: Technical Support 119
Appendix C: Binary to Hexadecimal Conversions 120
Converting Binary to Hexadecimal ___________________________________________120
Conversion Table _____________________________________________________120
Scientific Calculator ___________________________________________________120
Appendix D: Compliance 122
Appendix E: USB-CDC-ACM Device Driver File for Windows Hosts 124
xSenso User Guide 9

List of Figures

Figure 2-1 Sample xSenso Configuration______________________________________________16 Figure 2-2 Sample Applications _____________________________________________________17 Figure 2-3 xSenso Wiring Diagram___________________________________________________19 Figure 2-4 xSenso Product Label ____________________________________________________21 Figure 3-1 xSenso 2100 Isolation Block Diagram________________________________________23 Figure 3-2 xSenso , Front View______________________________________________________23 Figure 3-3 xSenso Top/Front View __________________________________________________24 Figure 3-6 xSenso, Side View_______________________________________________________26 Figure 3-7 xSenso Bottom/Back Panel View ___________________________________________26 Figure 4-1 xSenso 21A2 Isolation Block Diagram________________________________________29 Figure 4-2 xSenso 21A2, Front View _________________________________________________30 Figure 4-3 xSenso 21A2 Top/Front View ______________________________________________30 Figure 4-6 xSenso, Side Views______________________________________________________32 Figure 4-7 xSenso Bottom/Back Panel View ___________________________________________33 Figure 5-1 xSenso 21R2 Isolation Block Diagram _______________________________________35 Figure 5-2 xSenso 21R2, Front View _________________________________________________36 Figure 5-3 xSenso 21R2 Top/Front View ______________________________________________36 Figure 5-6 xSenso, Side Views______________________________________________________38 Figure 5-7 xSenso Bottom/Back Panel View ___________________________________________39 Figure 7-1 xSenso Home Pages_____________________________________________________43 Figure 7-2 Device Status Pages_____________________________________________________ 44 Figure 7-4 Live Reading vs. Configuration Pages________________________________________46 Figure 7-5 Components of the Web Manager Page______________________________________47 Figure 9-1 Analog Inputs 1 and 2 for xSenso ___________________________________________ 53 Figure 10-1 Charting Options in the Chart Tab by xSenso Model ___________________________59 Figure 11-1 xSenso 2100 Logging Tab________________________________________________61 Figure 11-2 xSenso 21A2 Logging Tab _____________________________________________ __62 Figure 11-3 xSenso 21R2 Logging Tab _______________________________________________62 Figure 12-1 xSenso 2100 Reading Tab _______________________________________________64 Figure 12-2 xSenso 21A2 Reading Tab _______________________________________________65 Figure 12-3 xSenso 21R2 Reading Tab _______________________________________________65 Figure 20-1 Uploading New Firmware _______________________________________________112
xSenso User Guide 10

List of Tables

Table 3-4 Analog Input LEDs _______________________________________________________24 Table 3-5 Ethernet LEDs __________________________________________________________25 Table 4-4 Analog Input and Analog Output LEDs _______________________________________31 Table 4-5 Ethernet LEDs __________________________________________________________31 Table 5-4 Analog Input and Relay Output LEDs ________________________________________37 Table 5-5 Ethernet LEDs __________________________________________________________37 Table 7-3 Comparing xSenso Home Page and Device Status Page Information _______________45 Table 8-1 Network Interface Settings _________________________________________________50 Table 8-2 Network 1 (eth0) Link Settings ______________________________________________52 Table 9-2 xSenso DAQ Command ___________________________________________________53 Table 9-3 DAQ Settings ___________________________________________________________54 Table 9-4 Analog Input Settings _____________________________________________________55 Table 9-5 Analog Output Settings ___________________________________________________56 Table 9-6 Relay Output Settings ____________________________________________________57 Table 10-2 Data Chart Settings _____________________________________________________60 Table 11-4 Data Logging Settings ___________________________________________________63 Table 13-1 xSenso Alarms and Reports ______________________________________________66 Table 13-2 Control Analog Output Settings __________________________________ __________66 Table 13-3 Make Connection Settings ________________________________________________67 Table 13-4 Send Email Settings _____________________________________________________68 Table 13-5 FTP Put Settings _______________________________________________________69 Table 13-6 HTTP Post Settings _____________________________________________________70 Table 13-7 Control Relay Settings ___________________________________________________70 Table 13-8 SNMP Trap Settings ____________________________________________________71 Table 14-1 Tunnel Accept Mode Settings ___________________________ __________________73 Table 14-2 Modbus Settings _______________________________________________________75 Table 14-3 0xxxx Read/Write Coils (Function Codes 1, 5 and 15) __________________________75 Table 14-4 3xxxx Read Only Registers (Function Codes 4 and 23) _____________________ ____76 Table 14-5 4xxxx Read/Write Holding Registers (Function Codes 3, 16 and 23) _______________76 Table 15-1 DNS Settings __________________________________________________________77 Table 15-2 FTP Settings __________________________________________________________78 Table 15-3 Syslog Settings ________________________________________________________78 Table 15-4 HTTP Settings _________________________________________________________79 Table 15-5 HTTP Authentication Settings _____________________________________________81 Table 15-6 RSS Settings __________________________________________________________81 Table 15-7 SNMP Settings _________________________________________________________82
xSenso User Guide 11
Table 15-8 SMTP Network Stack Settings _____________________________________________83 Table 16-1 SSH Server Host Keys ___________________________________________________85 Table 16-2 SSH Client Known Hosts _________________________________________________86 Table 16-3 SSH Server Authorized Users _____________________________________________87 Table 16-4 SSH Client Users _______________________________________________________87 Table 16-5 Certificate and Key Generation Settings _____________________________________89 Table 16-6 Upload Certificate Settings _______________________________________________90 Table 16-7 Trusted Authority Settings ________________________________________________91 Table 17-1 File Display Settings ____________________________________________________92 Table 17-2 File Modification Settings _________________________________________________93 Table 17-3 File Transfer Settings ____________________________________________________93 Table 17-4 IP Network Stack Settings ________________________________________________94 Table 17-5 ICMP Network Stack Settings _____________________________________________95 Table 17-6 ARP Network Stack Settings ______________________________________________95 Table 17-7 SMTP Settings _________________________________________________________96 Table 17-8 Ping Settings __________________________________________________________97 Table 17-9 Traceroute Settings _____________________________________________________98 Table 17-10 Log Settings __________________________________________________________98 Table 17-11 Clock Settings _______________________________________________________100 Table 17-12 System Settings ______________________________________________________101 Table 17-13 Discovery Settings _________ ___________________________________________102 Table 18-1 Email Configuration ____________________________________________________103 Table 18-2 CLI Configuration Settings _______________________________________________104 Table 18-3 Telnet Settings _______________________________________________________105 Table 18-4 SSH Settings _________________________________________________________105 Table 18-5 XML Exporting Configuration _____________________________________________106 Table 18-6 Exporting Status _______________________________________________________107 Table 18-7 Import Configuration from Filesystem Settings _______________________________108 Table 21-1 Short and Long Name Settings ___________________________________________115
xSenso User Guide 12

1: Using This Guide

Purpose and Audience

This guide provides the information needed to configure, use, and update the xSenso. It is intended for software developers and system integrators who are installing this product into their designs.

Summary of Chapters

The remaining chapters in this guide include:
Chapter Description
2: Introduction Main features of the product and the protocols it supports.
3: Installation of xSenso Instructions for installing the xSenso 2100. 4: Installation of xSenso 21A2 Instructions for installing the xSenso 21A2. 5: Installation of xSenso 21R2 Instructions for installing the xSenso 21R2. 6: Using DeviceInstaller Instructions for viewing the current configuration using
7: Configuration Using Web Manager Instructions for accessing Web Manager and using it to configure
8: Network Settings Instructions for configuring network settings. 9: Analog Input, Output and Relay
Settings 10: Chart Instructions for viewing and configuring live analog chart data on
11: Logging Instructions for running and configuring live data logs on the
12: Reading Instructions for reading live analog data on the Reading page. 13: Action Settings Instructions for configuring action for reports and alarms settings. 14: Tunnel and Modbus Settings Instructions for configuring modbus and tunnel settings. 15: Services Settings Instructions for configuring DNS, FTP, HTTP and Syslog settings. 16: Security Settings Instructions for configuring SSL security settings. 17: Maintenance and Diagnostics
Settings 18: Advanced Settings Instructions for configuring email, CLI and XML settings.
19: Security in Detail Provides additional information on security settings available. 20: Updating Firmware Instructions for obtaining the latest firmware and updating the . 21: Branding the xSenso Instructions on how to brand your device. Appendix A: Technical Specifications Technical specifications for the device. Appendix B: Technical Support Instructions for contacting Lantronix Technical Support.
Includes technical specifications.
DeviceInstaller.
settings for the device.
Instructions for configuring analog and relay settings.
the Chart page.
Logging page.
Instructions to maintain the , view statistics, files, and diagnose problems.
xSenso User Guide 13
Chapter (continued) Description
Appendix C: Binary to Hexadecimal Conversions
Appendix D: Compliance Lantronix compliance information. Appendix E: USB-CDC-ACM Device
Driver File for Windows Hosts

Additional Documentation

Visit the Lantronix Web site at www.lantronix.com/support/documentation for the latest documentation and the following additional documentation.
Document Description
xSenso Command Reference Instructions for accessing Command Mode (the command line
xSenso Quick Start Guide Instructions for getting the xSenso up and running.
1: Using This Guide
Instructions for converting binary values to hexadecimals.
Information about the device driver file for windows host.
interface) using a Telnet connection, SSH connection or through the USB port. Detailed information about the commands. Also provides details for XML configuration and status.
DeviceInstaller Online Help Instructions for using the Lantronix Windows-based utility to locate the
xSenso and to view its current settings.
xSenso User Guide 14

2: Introduction

xSenso is a compact DIN-rail or wall mount solution that enables sensors with analog outputs (voltage or current) to easily and transparently send real-time data to any node on the network or over the Internet. xSenso is an ideal solution for remote monitoring and data logging of critical events in process control and automation applications. With its low port density, xSenso can be affordably installed in dispersed locations. In applications where analog sensors and controllers are used, xSenso can be configured to send alarms via emails or text messages when readings are outside predefined ranges. These alarms allow control engineers to take immediate corrective action when certain thresholds are met. Its embed ded web server makes it p ossible to monitor the input readings, chart or log the data using browsers on computers, smartphones, and tablets fr om anywhere in the world.
There are three Lantronix xSenso device servers:
xSenso 2100 with two analog inputs (part number XSO210000-01-S) xSenso 21A2 with two analog inputs and two analog output (part number XSO21A200-01-S) xSenso 21R2 with two analog inputs and two relay outputs (part number XSO21R200-01-S)

Key Features

Power Supply: 9-30 VDC input voltage (1 terminal screw block and 1 locking barrel jack,
where when both are used, may operate as red unda n cy an d fa ilover)
Ethernet: 1 Port Ethernet 10Base-T or 100Base-TX (auto-sensing for speed, duplex and
cross-over CAT5 cable)
Analog Inputs (All Models): 2 configurable analog inputs with available ranges: ±100mV,
±1V, ±10V or ±20mA
Analog Outputs (xSenso 21A2): 2 configurable isolated analog outputs with available ranges:
0-10V, 0-20mA
Relay Outputs (xSenso 21R2): 2 independently isolated mechanical form-C relays Wireless:USB Ports: One 2.0 full speed USB port for device management and configuration Temperature Range: Storage and operating temperature between -40° to +85°C
Note: UL-certified operating temperature is -40° to +7 5° C
xSenso User Guide 15
Figure 2-1 Sample xSenso Configuration
2: Introduction
Figure 2-1 is an example of how the xSenso can send sensor data (e.g., temperature a nd humidity
readings), over shared networks or the internet to a PC, laptop, or a smart phone. Third party data acquisition applications (e.g., DASYLab, LabVIEW or MATLAB) can also be interfaced with the xSenso to read and log the sensor’s data.

Applications

The xSenso device server connects analog sensors such as those listed below to Ethernet networks using the IP protocol family.
Temperature Gauge Environmental Data Sensors Gas Monitoring Devices Sensors measuring humidity, pressure, flow, level, force, weight and gas or air quality

Sample Applications

Figure 2-2 below demonstrates three sample xSenso applications:
1. A simple process control example consists of an analog pressure sensor on the input and an analog valve on the output.
2. Using xSenso 21A2 between the sensor and input of the controller would allow users to extract data right over the xSenso ethernet port. In this case, the xSenso can be configured to output the analog signals exactly as receives it on the analog input.
3. The xSenso 21A2 can actually replace the L egacy controller and control the process the exact way it used to be done.
xSenso User Guide 16
Figure 2-2 Sample Applications
2
1
3
2: Introduction
Note: See Sample Applications on page 16 for an explanation of Figure 2-2.

Protocol Support

The xSenso device server contains a full-featured IP stack. Supported protocols include:
ARP, HTTP, HTTPS, SMTP AUTH, SNMP v1/v2c/v3, Modbus TCP, UDP/IP, TCP/IP, SSH,
SSL, TLS, RSS, UPnP, ICMP, BOOTP, DHCP, Auto IP, Telnet, SNTP, FTP, FTPS, DNS, TFTP, XML and Syslog for network communications and management.
TFTP for uploading/downloading files. FTP and HTTP/HTTPS web server for firmware upgrades and uploading/downloading files. TCP/IP, UDP/IP, Telnet, SSH, SSL, TCP AES and UDP AES for command/response based
data acquisition application or alarm triggered connection
HTTP/HTTPS web based monitoring of input readings, chart and data logging SMTP AUTH, HTTP/HTTPS Post, FTP/FTPS Put and SNMP Traps for alarm triggered
notification
SNTP for device clock synchronization
xSenso User Guide 17

Troubleshooting Capabilities

The xSenso offers a comprehensive diagnostic toolset that lets you troubleshoot problems quickly and easily. Available from the CLI or Web Manager, the diagnostic tools let you:
View memory and IP socket information. Perform ping and traceroute operations. Conduct forward or reverse DNS lookup operations. View all processes currently running on the xSenso, including CPU utilization. View system log messages.

Configuration Methods

After installation, the xSenso requires configuration. For the unit to operate correctly on a network, it must have a unique IP address on the network. There are four basic methods for logging into the xSenso and assigning IP addresses and other configurable settings:
Web Manager: View and configure all settings easily through a web browser using the
Lantronix Web Manager. (See “Configuration Using Web Manager” on page 42.)
2: Introduction
DeviceInstaller: Configure the IP address and related settings and view current settings on
the xSenso using a Graphical User Interface (GUI) on a PC attached to a network. You will need the latest version of DeviceInstaller. (See “Using DeviceInstaller” on page 40.)
Command Mode: There are two methods for accessing Command Mode (CLI): making a
Telnet or SSH connection, or connecting a PC or other host running a terminal emulation program to the unit’s USB port. (See Configuration Using the MGMT (USB) Port below and the xSenso Command Reference Guide for instructions and available commands.)
XML: The xSenso supports XML-based configuration and setup records that make device
configuration transparent to users and administrators. XML is easily editable with a standard text or XML editor. (See the xSenso Command Reference Guide for instructions and commands.)

Configuration Using the MGMT (USB) Port

In order to configure and manage the device, connect the computer via USB cable to the xSenso MGMT port and run a terminal emulation program (e.g., Tera Term).
Note: Device connection will be lost upon reboot. Close the connection (also close
emulation program terminal if needed), unplug and plug in the USB port, and reopen the connection.
1. Install the USB device driver, as necessary. Connection to the MGMT port is via USB-CDC-ACM. This driver is available in Windows. In
order to enable Windows to recognize the USB- CDC-ACM connection to the L antronix device, the driver installation file referenced below needs to be provided when prompted by the Windows Device Driver Installation Wizard. For Windows 7 installation, it is recommended to manually install the driver before plugging in the USB cable to the xSenso device port. This can be done by installing a legacy driver for a COM port, with the Have Disk... option.
The device installation file (linux-cdc-acm.inf) may be accessed in one of two ways:
xSenso User Guide 18
2: Introduction
a. DeviceInstaller installation directory (typically at c:\Program File\Lantronix\Device
Installer\4.3).
b. Follow the instructions inAppendix E: USB-CDC-ACM Device Driver File for Windows
Hosts to create the .inf file and follow the windows driver installation steps as outlined
above.
2. Connect the USB cable to the MGMT (USB) port of the xSenso device.
3. Connect the USB cable from the xSenso to the USB port on your computer.
4. Apply power. If drivers are installed, a virtual com port will be created on the computer.
5. Launch an emulation program terminal (e.g., Tera Term) and select the virtual com port.
6. Open up the virtual com port. The serial setting should be 9600, 8, none, and 1.
7. Click OK.
8. Press Enter in the terminal window. You will be prompted to login.
9. Login to the xSenso to configure it. The default login and password:
- User Name: admin
- Password: PASS

xSenso Wiring Example

In Figure 2-3 below, there are two sensors connected to the inputs of the xSenso. One is the temperature sensor and the other is the humidity sensor. In this example, Relay 1 is associated with the temperature sensor and Relay 2 with the hu midi ty sensor. In Relay 1, the Norma lly Open (NO) pin allows the green light to stay on under normal operations. Once the Normally Closed (NC) pin is activated, the green light will be turned off and the red light will be turned on indicating an alarm condition. The threshhold ranges can be defined within the xSenso web interface. In Relay 2, a buzzer is connected to Normally Open (NO) pin and once the alarm condition is met, the relay will be closed and the buzzer will sound.
Figure 2-3 xSenso Wiring Diagram
xSenso User Guide 19

Addresses and Port Numbers

Note: The hardware address on the
label is also the product serial number. The hardware address on the label is the address for the Ethernet (eth0) interface.

Hardware Address

The hardware address is also referred to as the Ethernet address, physical address, or MAC address. Sample hardware address:
00---14-1B-18
00:::14:1B:18

IP Address

Every device connected to an IP network must have a unique IP add ress. This address references the specific unit.

Port Numbers

Every TCP connection and every UDP datagram is defined by a destination and source IP address, and a destination and source port nu mber. For example, a Telnet serv er commonly u ses TCP port number 23.
The following is a list of the default server port numbers running on the xSenso:
2: Introduction
TCP Port 22: SSH Server (Command Mode configuration) TCP Port 23: Telnet Server (Command Mode configuration) TCP Port 80: HTTP (Web Manager configuration) TCP Port 21: FTP UDP Port 30718: LDP (Lantronix Discovery Protocol) port TCP/UDP Port 10001: Tunnel 1 (see note below) UDP Port 1900 and TCP Port 30179: UPnP
Note: Additional TCP/UDP ports and tunnels will be available, depending on the product
type. The default numbering of each additional TCP/UDP port and corresponding tunnel will increase sequentially (i.e., TCP/UDP Port 1000X: Tunnel X).

Product Information Label

The product information label on the unit contains the following information about the specific unit:
Bar code Product Revision Part Number Serial Number (MAC Address) Manufacturing Date Code
xSenso User Guide 20
Figure 2-4 xSenso Product Label
Bar Code Serial Number Part Number
Country of Origin & Manufacture
Revision Manufacturing
Date Code
2: Introduction
xSenso User Guide 21

3: Installation of xSenso

This chapter describes how to install the xSenso analog device server. It contains the following sections:
Package Contents User-Supplied Items Hardware Components Installing the xSenso

Package Contents

The xSenso package includes the following items:
One xSenso 2100 device One 3-contact terminal block plug (screw type for power input port) Two 6-contact terminal block plug (screw type for analog input ports) Wall Mount Bracket Four Rubber Feet Quick Start Guide

User-Supplied Items

To complete your installation, you need the following items:
Analog devices and sensors that require network connectivity. An available connection to your Ethernet network and an Ethernet cable. A working AC power outlet if the unit will be powered from an AC power adapter. A 9-30VDC power supply either terminal screw or barrel input (both may be used
simultaneously for power redundancy)
xSenso User Guide 22

xSenso 2100 Isolation Block Diagram

Analog Input LEDs
USB Ethernet Reset Button Port Port (pin hole)
Ethernet LEDs L R
Note: Though there appear
to be four analog input LEDs located on the front panel, only the two right Input LEDs are supported in xSenso .
Diagnostic “X” LED
Figure 3-1 xSenso 2100 Isolation Block Diagram
3: Installation of xSenso

Hardware Components

Front/Top Panel

The following components are located on the front panel (Figure 3-2) of the xSenso :
USB Port - for managing and configuring xSenso device. RJ-45 Ethernet Port (with Ethernet LEDs) - can connect to an Ethernet (10 Mbps) or Fast
Ethernet (100 Mbps) network.
RST Button (the Reset Button inside the pin hole) - power cycles and restores factory default
settings.
LED Indicators (2 Analog Input LEDs, 2 Ethernet LEDs, and 1 Diagnostic “X” LED)
- see Table 3-4 and Table 3-5.
LED Indicators
The Analog Input LEDs, the Ethernet LEDs, and the Diagnostic “X” LED are all located on the front panel of the xSenso device (Figure 3-2).
Figure 3-2 xSenso , Front View
xSenso User Guide 23
3: Installation of xSenso
Figure 3-3 xSenso Top/Front View
Table 3-4 and Table 3-5 below explain the LED information displayed in Figure 3-2 and Figure 3-3
above.
Table 3-4 Analog Input LEDs
LED Color ON OFF
“X” on top of xSenso device (Diagnostic)
Analog Input 1 Green
Analog Input 2 Green
Orange ORANGE ON - power present
ORANGE Blink - during boot process after power cycle or
reset. Also blink patterns represent error conditions:
Loss of Redundant Power: one slow blink followed by
two fast blinks (repeat)
No Ethernet Link: two slow blinks followe d by two fast
blinks (repeat)
No IP Address: three slow blinks followed by three fast
blinks (repeat)
Input Type (voltage or current)
or Orange
GREEN represents 100mV, 1V or 10V input range is
selected
ORANGE represents 20mA input range is selected
Input Type (voltage or current)
or Orange
GREEN represents 100mV, 1V or 10V input range is
selected
ORANGE represents 20mA input range is selected
No power
Input not utilized
Input not utilized
xSenso User Guide 24
3: Installation of xSenso
Table 3-5 Ethernet LEDs
Ethernet LEDs Description
Left (L) GREEN ON - 100 Mbps link established
GREEN Blink - 100Mbps activity AMBER ON - 10 Mbps link established AMBER Blink - 10 Mbps activity
Right (R) GREEN ON - Full duplex
OFF - Half duplex
Reset Button
You can reset the xSenso to factory default settings, including clearing the network settings. The IP address, gateway, and netmask are set to 00s.
To reset the unit to factory defaults:
1. Place the end of a paper clip or similar object into the RST (reset) opening (see Figure 3-2) and press and hold down micro switch during a power cycle for a minimum of 25 seconds.
2. Remove the paper clip to release the button. The unit will continue the boot process restoring it back to the original factory default settings.
To reboot the unit without resetting the unit to factory defaults:
1. Place the end of a paper clip or similar object into the RST (reset) opening (see Figure 3-2) and press and hold down micro switch during a power cycle for 3 to 5 seconds.
2. Remove the paper clip to release the button. The unit will reboot.

Right Side Panel

The following are located on the right side panel (Figure 3-6):
Analog Input 1 Analog Input 2 9-30 VDC 3 Pin Terminal Block Power Input 9-30 VDC Barrel Locking Power Input
Note: There are no inputs or outputs on the left side panel.
xSenso User Guide 25
3: Installation of xSenso
9-30 VDC Barrel Locking Power Input
Excitation Voltage Input Current Input
Figure 3-6 xSenso, Side View

Back Panel

On the xSenso back panel, there is a mounting bracket with a sliding orange clip which allows you to mount and dismount the device from a DIN rail, as shown in Figure 3-3. There are also four rubber feet that can be attached to the bottom-side of the device, if the xSenso is to be placed on a flat surface.

Installing the xSenso

Figure 3-7 xSenso Bottom/Back Panel View
Be sure to place or mount the device securely on a flat horizontal or vertical surface. The device comes with mounting brackets for mounting the device vertically, for example on a wall. If using AC power, avoid outlets controlled by a wall switch.
Observe the following guidelines when connecting the analog input devices:
It is recommended to use twisted-pair wires to connect analog sensors and xSenso. If EMC is
a concern, shielded wires and/or ferrite bead may be used to improve signal integrity in noisy environment.
xSenso User Guide 26
3: Installation of xSenso
Connect your RJ-45 Ethernet cable to the RJ-45 port of the unit. The xSenso supports a power range of 9 to 30 VDC. You can power up the device with barrel-
power connector and/or the 3 pin terminal connector for backup power supply.
Note: As soon as you plug the device into power, the device/sensors powers up
automatically, the self-test begins, and LEDs would indicate the device's status
Perform the following steps to install your device:
1. Connect analog xSenso to the analog input ports.
2. Hook up power excitations from xSenso to analog sensors/devices if needed and if xSenso meets the power requirement.
3. Connect a RJ-45 Ethernet cable between the unit and your Ethernet network.
4. Connect the 9-30 VDC to the terminal block, barrel jack or both, and power on the xSenso.
5. Power up analog input devices/sensors if they are not powered by xSenso excitation.
xSenso User Guide 27

4: Installation of xSenso 21A2

This chapter describes how to install the xSenso 21A2 device serve r. It contain s th e follo wing sections:
Package Contents User-Supplied Items Hardware Components Hardware Components Installing the xSenso

Package Contents

The xSenso package includes the following items:
One xSenso 21A2 device Three 3-contact Terminal Block Plug - screw type for Power Input Port and Analog Output
Ports.
Two 6-contact Terminal Block Plug - screw type for Analog Input Ports Wall Mount Bracket Four Rubber Feet Quick Start Guide

User-Supplied Items

To complete your installation, you need the following items:
Analog devices and sensors that require network connectivity. Devices to be controlled by analog output. An available connection to your Ethernet network and an Ethernet cable. A working AC power outlet if the unit will be powered from an AC power adapter. A 9-30VDC power supply either terminal screw or barrel input (both may be used
simultaneously for power redundancy)
xSenso User Guide 28

xSenso 21A2 Isolation Block Diagram

Figure 4-1 xSenso 21A2 Isolation Block Diagram
4: Installation of xSenso 21A2

Hardware Components

Front/Top Panel

The following components are located on the front panel (Figure 4-2) of the xSenso 21A2:
USB Port - for managing and configuring xSenso device. RJ-45 Ethernet Port (with Ethernet LEDs) - can connect to an Ethernet (10 Mbps) or Fast
Ethernet (100 Mbps) network.
RST Button (the Reset Button inside the pin hole) - power cycles and restores factory default
settings.
LED Indicators (4 Analog Input/Output LEDs, 2 Ethernet LEDs, and 1 Diagnostic “X” LED)
- see Table 4-4 and Table 4-5.
xSenso User Guide 29
4: Installation of xSenso 21A2
Analog Analog Output Input LEDs LEDs
USB Ethernet Reset Port Port
Ethernet LEDs L R
Diagnostic “X” LED
LED Indicators
The Analog Input LEDs, the Analog Output LEDs, the Eth ernet LEDs, and the Diagno stic “X” LED are all located on the front panel of the xSenso device (Figure 4-3).
Figure 4-2 xSenso 21A2, Front View
Figure 4-3 xSenso 21A2 Top/Front View
Table 4-4 and Table 4-5 below explain the LED information displayed in Figure 4-2 and Figure 4-3
above.
xSenso User Guide 30
Loading...
+ 95 hidden pages