XSENSO 21A2

Lantronix XSENSO 21A2 User manual

  • Hello! I am an AI chatbot trained to assist you with the Lantronix XSENSO 21A2 User manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
Part Number 900-629-R
Revision B March 2013
xSenso
User Guide
xSenso 2100
xSenso 21A2
xSenso 21R2
xSenso User Guide 2
Copyright & Trademark
© 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 3
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 4
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 5
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 6
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 7
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 8
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 9
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 10
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 11
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 12
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 13
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.
Includes technical specifications.
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
DeviceInstaller.
7: Configuration Using Web Manager Instructions for accessing Web Manager and using it to configure
settings for the device.
8: Network Settings Instructions for configuring network settings.
9: Analog Input, Output and Relay
Settings
Instructions for configuring analog and relay settings.
10: Chart Instructions for viewing and configuring live analog chart data on
the Chart page.
11: Logging Instructions for running and configuring live data logs on the
Logging page.
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
Instructions to maintain the , view statistics, files, and diagnose
problems.
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.
1: Using This Guide
xSenso User Guide 14
Additional Documentation
Visit the Lantronix Web site at www.lantronix.com/support/documentation for the latest
documentation and the following additional documentation.
Appendix C: Binary to Hexadecimal
Conversions
Instructions for converting binary values to hexadecimals.
Appendix D: Compliance Lantronix compliance information.
Appendix E: USB-CDC-ACM Device
Driver File for Windows Hosts
Information about the device driver file for windows host.
Document Description
xSenso Command Reference Instructions for accessing Command Mode (the command line
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.
xSenso Quick Start Guide Instructions for getting the xSenso up and running.
DeviceInstaller Online Help Instructions for using the Lantronix Windows-based utility to locate the
xSenso and to view its current settings.
Chapter (continued) Description
xSenso User Guide 15
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 embedded web server makes it possible to monitor the
input readings, chart or log the data using browsers on computers, smartphones, and tablets from
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 redundancy and failover)
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 +75°C
2: Introduction
xSenso User Guide 16
Figure 2-1 Sample xSenso Configuration
Figure 2-1 is an example of how the xSenso can send sensor data (e.g., temperature and 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 Legacy controller and control the process the exact
way it used to be done.
2: Introduction
xSenso User Guide 17
Figure 2-2 Sample Applications
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
2
1
3
2: Introduction
xSenso User Guide 18
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.)
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 Lantronix 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:
2: Introduction
xSenso User Guide 19
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 humidity sensor. In Relay 1, the Normally 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
2: Introduction
xSenso User Guide 20
Addresses and Port Numbers
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 address. 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 number. For example, a Telnet server commonly uses
TCP port number 23.
The following is a list of the default server port numbers running on the xSenso:
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
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.
/