Sena Rhio10 User manual

1
Rhio10
Remote I/O Manager
User Manual
Version 1.4.3
2007-05-07

2
Guide for the Rhio10
Version 1.4.3
Firmware version 1.4.x
Printed in Korea
Copyright
Copyright 2002~2007, Sena Technologies, Inc. All rights reserved.
Sena Technologies reserves the right to make changes and improvements to its product without
providing notice.
Trademark
HelloDevice™is a trademark of Sena Technologies, Inc.
Windows® is a registered trademark of Microsoft Corporation.
Ethernet® is a registered trademark of XEROX Corporation.
Notice to Users
When a system failure may cause serious consequences, protecting life and property against
such consequences with a backup system or safety device is essential. The user agrees that
protection against consequences resulting from system failure is the user's responsibility.
This device is not approved for life-support or medical systems.
Changes or modifications to this device not explicitly approved by Sena Technologies will void
the user's authority to operate this device.
Technical Support
Sena Technologies, Inc.
210 Yangjae-dong, Seocho-gu
Seoul 137-130, Korea
Tel: (+82-2) 573-5422
Fax: (+82-2) 573-7710
E-Mail: support@sena.com
Website: http://www.sena.com

3
Revision History
Revision Date Name Description
V1.0.0 2005-05-21 D.H. Shin Initial Release
V1.0.1 2005-08-08 D.H. Shin “Table 2-2. Terminal Block Assignment of
the Rhio10 “is added.
V1.0.2 2005-11-02 D.H. Shin Typo errors corrected.
V1.0.3 2005-11-08 JS. Kim Operating and storage temperature is
updated.
V1.4.1 2006-11-15 JS. Kim Added IP filtering section
V1.4.2 2007-03-22 JS. Kim Fixed the contents and added the
calculation example of LRC field
V1.4.3 2007-05-07 H.R. Zo Copyright changed.

4
Table of Contents
1. Introduction .................................................. 7
1.1 Overview...................................................................................................................................7
1.2 Package Check List...................................................................................................................7
1.3 Product Specification.................................................................................................................8
2. Getting Started .............................................. 10
2.1 Panel Layout ...........................................................................................................................10
2.2 Connecting the Hardware ........................................................................................................12
2.2.1 Setting up DIN Rail mount kit.........................................................................................12
2.2.2 Connecting the Power...................................................................................................13
2.2.3 Connecting to the Network............................................................................................14
2.3 Rhio Manager Installation.........................................................................................................14
2.3.1 Rhio Manager Installation..............................................................................................14
2.3.2 Basic configuration using Rhio Manager........................................................................15
3. System Configuration and Administration ...................... 17
3.1 Network Configuration .............................................................................................................17
3.1.1 Static IP........................................................................................................................19
3.1.2 DHCP...........................................................................................................................20
3.1.3 PPPoE..........................................................................................................................21
3.1.4 IP Filtering....................................................................................................................21
3.2 Host Mode Configuration .........................................................................................................22
3.2.1 TCP Server Mode Operations........................................................................................25
3.2.2 TCP Client Mode Operation...........................................................................................27
3.2.3 TCP Server/Client Mode Operation................................................................................29
3.3 System Administration .............................................................................................................30
3.4 Restoring Factory Default ........................................................................................................31
4. I/O Setting and Application .................................. 32
4.1 I/O Monitoring and Control .......................................................................................................32
4.1.1 LED..............................................................................................................................32
4.1.2 Specifying monitoring interval........................................................................................33
4.1.3 Monitoring I/O port........................................................................................................33
4.1.4 Controlling digital output port .........................................................................................33
4.2 Digital Input Setting..................................................................................................................34
4.2.1 Setting Enable/Disable..................................................................................................34
4.3 Digital Output Port Setting........................................................................................................35

5
4.3.1 Setting Enable/Disable..................................................................................................35
4.3.2 Setting run condition......................................................................................................36
4.3.3 Delay & Pulse Operation...............................................................................................37
4.3.4 Setting Power-out Post Recovery ..................................................................................37
4.4ADC Input Port Setting.............................................................................................................37
4.4.1 Setting Reference.........................................................................................................38
4.4.2 SettingADC Input Port..................................................................................................38
4.5 I/O Port Connection.................................................................................................................39
4.5.1 Digital Output Port.........................................................................................................39
4.5.2 Digital Input Port............................................................................................................39
4.5.3 ADC Input Port..............................................................................................................40
5. Software Development & Application ........................... 42
5.1 The Rhio Library......................................................................................................................42
5.1.1 Overview of the Rhio Library..........................................................................................42
5.1.2 Reference.....................................................................................................................42
5.2 Creating and demonstrating a sample program with Rhio library ...............................................45
5.2.1 Program UI Configuration and their related classes........................................................45
5.2.2 Processing....................................................................................................................46
5.3 Rhio Communication Protocol..................................................................................................49
5.3.1 Overview......................................................................................................................49
5.3.2 ON/OFF Control............................................................................................................51
5.3.3 Input/Output State.........................................................................................................54
5.3.4 Set/Run........................................................................................................................54
5.3.5 Output Port Setting........................................................................................................55
5.3.6ADC Input Port Setting..................................................................................................58
5.3.7 Port Enable Setting.......................................................................................................59
5.3.8 Port Power-out Post Recovery Setting...........................................................................62
Appendix A. Connection .......................................... 64
A.1 Ethernet Pin Outs....................................................................................................................64
A.2 Console Port Pin Outs.............................................................................................................64
A.3 Ethernet Wiring Diagram .........................................................................................................65
A.4 Serial ConsoleWiring Diagram................................................................................................66
Appendix B. Accessing Console Port and Command Usage ............ 67
B.1Accessing Console Port...........................................................................................................67
B.1.1 Using Serial Console....................................................................................................67
B.1.2 Using Remote Console.................................................................................................69

6
B.2 Command Usage....................................................................................................................70
B.2.1 'set' Command..............................................................................................................71
B.2.2 'get' Command..............................................................................................................72
B.2.3 'help' Command............................................................................................................74
B.2.4 'save' Command...........................................................................................................75
B.2.5 'exit' Command.............................................................................................................75
B.2.6 'reboot' Command.........................................................................................................75
B.3 System Configuration using Console command........................................................................75
B.3.1 Network Configuration...................................................................................................75
B.3.2 Host Mode Configuration...............................................................................................76
B.3.3 System Administration...................................................................................................78
Appendix C. Troubleshooting ..................................... 79
C.1 Power/LED Status Troubleshooting..........................................................................................79
C.2 Serial Console Troubleshooting ...............................................................................................79
C.3 Remote Console Troubleshooting............................................................................................80
C.4 IPAddress Troubleshooting.....................................................................................................80
C.5 DHCP Troubleshooting............................................................................................................80
Appendix D. Rhio Linrary ........................................ 81
D.1 Enumeration Type...................................................................................................................81
D.2 Structure.................................................................................................................................83
D.3 Function .................................................................................................................................84
Appendix E. Warranty ............................................ 97
E.1 GENERALWARRANTY POLICY.............................................................................................97
E.2 LIMITATION OF LIABILITY......................................................................................................97
E.3 HARDWARE PRODUCTWARRANTY DETAILS......................................................................98
E.4 SOFTWARE PRODUCTWARRANTY DETAILS.......................................................................99
E.5 THIRD-PARTY SOFTWARE PRODUCTWARRANTY DETAILS...............................................99

7
1. Introduction
1.1 Overview
Rhio10 is a remote I/O manager which enables users to control/monitor various I/O devices
such as sensors and actuators through 10Base-T Ethernet.
Rhio10 supports 10 Digital Relay Output ports and has basic logic function capability such as
AND, OR, NOT and Delay/Pulse along with the status of the input ports. Rhio10 supports 12
optically isolated digital inputs for monitoring of the digital sensors. Rhio10’s Analog ports
support both level mode for data acquisition and switch mode for threshold detection. The data
communication between host computers is done by event-driven method which is triggered
when the status is changed.
Users may probe, configure, test the Rhio10 system using Windows application, Rhio Manager
and create their own Windows based application program by using MFC DLL library.
Rhio10 is designed to meet the requirements for the various applications such as remote data
acquisition system, distributed I/O system, industrial automation control/monitoring/metering.
Please note that this manual assumes user knowledge of Internetworking protocols and
serial communications.
1.2 Package Check List
- Rhio10 external box
- CAT5 cable
- RJ45 to DB9 Female cable connector
- DIN rail mount kit
- CD-ROM including the Rhio Manager and Rhio10 DLL and User Guide

8
1.3 Product Specification
10 Base-T Ethernet with RJ45 Ethernet connector
Network Interface Supports static and dynamic IP address
Digital Input
-Number of channels: 12
-Input type: Voltage
-Input circuitry: Optically isolated photo-coupler
-Input range: 0V ∼ ±24V
OFF 0V ∼ ±1.2V, ON ±3.3V ∼ ±24V
-Sampling rate: 20ms
-Isolation voltage: 5KV
Digital Output
- Number of channels: 10
- Output type: Relay
- Rated load: 3A/240VAC
- Insulation resistance: 1000㏁Min (DC500V)
- Isolation voltage(coil and contact): 4KV
- Reaction within 10ms
Analog Input
- Number of channels: 4
- Effective resolution: 10-bit
- Input type: Voltage, Direct Coupling
- Input range: 0V ∼Aref (Analog reference voltage, 2~5V)
- Sampling rate: 1000 samples/sec
Protocol ARP, IP/ICMP, TCP
telnet, DHCP client, PPPoE
Management - Rhio Manager Windows Utility, Serial Console or Telnet
Software Support - Windows MFC DLL library
- I/O configuration, I/O status monitoring/control
Diagnostic LED
- Power, Link, Act
- Digital Output, 1~10
- Digital Input, 1~12
- Analog Input, 1~4
Power 9V∼48VDC, Max. 5W
Environmental - Operating temperature: 0℃to 50℃
- Storage temperature: -20℃to 66℃
- 90% Non-condensing

9
Physical properties 137 x 111 x 58 (mm), 5.4 x 4.4 x 2.3 (in.)
Weight: 730g
Certification FCC (A), CE, MIC
Warranty 5-year limited warranty

10
2. Getting Started
This chapter describes how to set up and configure the Rhio10 in the first place.
-2.1 Panel Layout explains the panel layout and LED indicators.
-2.2 Connecting the Hardware describes how to set up DIN rail mount kit and how to connect
the power and the network to the Rhio10.
Following items are pre-required to get started.
- DIN rail mount kit (included in the package).
- CAT5 cable for configuration or network (included in the package).
- RJ45 to DB9 Female connector for configuration (included in the package).
- PC with Network Interface Card (hereafter, NIC) and/or one RS232 serial port.
2.1 Panel Layout
The Rhio10 has LED indicator lamps for status display. The lamps in the left hand side indicate
the system power-on status, link and act for 10Base-T Ethernet status. There are 10 lamps for
displaying digital output status, 12 lamps for digital input status, and lamps for 4 analog port
status. There is a DIP switch on the side of the Rhio10 for data/console switching and hole for
factory reset operation. Table 2-1 shows the description of the indicator lamps of the Rhio10.
Table 2-1. LED indicator lamps
Lamps Function
Link Turned on to Green if connected to 10 Base-T Ethernet
network.
10Base-T
Act Blink whenever there is any activities such as incoming
or outgoing packets through the Rhio10 Ethernet port
Staus Power Turned on to RED if power is supplied
Digital Input DI 1 ~ DI 12 Turned on to GREEN if input status
Digital Output DO 1 ~ DO 10 Turned on to GREEN if output status
Analog Input AI 1 ~ AI 4
In Level Input mode, it is turned on to GREEN if the
value is larger than 512. In Switch Input mode, it is
turned on to GREEN if it is larger than threshold value.

11
Figure 2-1. The panel layout of theRhio10
Table 2-2. Terminal Block Assignment of the Rhio10
AI1 AI2 AI3 AI4 DI1 DI2 DI3 DI4 DI5 DI6 DI7 DI8 DI9 DI10 DI11 DI12
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36
Input
Blocks
assignment
•Power Input ( PWR_A, PWR_B ): (1,2)
•Analog reference voltage ( Ref ) : (3)
-It is analog reference voltage input block. Rhio represents voltage from 0 V to a reference
voltage in 1,024 steps. A reference voltage may not exceed 5 V.
For details, refer to
section 4.4 ADC Input Port Setting.
•5V Out : (4)
- It is AVCC output block. User can input the power of devices. Ground is no.5,7,9 and 11
blocks.
•Analog Input ( AI1 ~ AI4 ) : (5,6),(7,8),(9,10),(11,12)
•Digital Input ( DI1 ~ DI12 ) : (13,14),(15,16),(17,18),(19,20),(21,22),(23,24),
(25,26),(27,28),(29,30),(31,32),(33,34),(35,36)
Note : 1. Each Input is composed of one pair of upper and lower blocks.
2. Except for the no.3 and 4 input blocks, users can connect the wire to the blocks
without considering the polarity.
DO1 DO2 DO3 DO4 DO5 DO6 DO7 DO8 DO9 DO10
A B A B A B A B A B A B A B A B A B A B
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Output
Blocks
assignment Each Output is composed of one pair of A and B blocks as follows.
•Digital Output ( DO1 ~ DO10 ) : (1,2), (3,4), (5,6), (7,8), (9,10),
(11,12), (13,14), (15,16), (17,18), (19,20)

12
2.2 Connecting the Hardware
2.2.1 Setting up DIN Rail mount kit
Users may use DIN rail mounting kit included in the package to install the Rhio10 on to the DIN
rail.
Figure 2-2. Dimension of DIN Rail mount kit and applicable DIN Rails
Figure 2-3. Installing DIN Rail mount kit into DIN Rail

13
Figure 2-4. Setting up the Rhio10 to DIN Rail
2.2.2 Connecting the Power
Supply the proper power according to the power specification of the Rhio10, i.e. 9V~48VDC,
MAX. 5W. If the power is properly applied, [Power] indicator will maintain RED. Be sure not to
use the cable longer than 3m for normal operation.
Figure 2-5. Connecting the power to the Rhio10

14
2.2.3 Connecting to the Network
Connect the one end of the Ethernet cable to the Rhio10 10Base-T port and the other to the
Ethernet network. If the cable is properly hooked up, the Rhio10 will have a valid connection to
the Ethernet network by indicating:
- [Link] lamp of the Rhio10 maintains solid green
- [Act] lamp continuously blinks to indicate the incoming/outgoing Ethernet packets
If any of the above does not happen, the Rhio10 is not properly connected to the Ethernet
network.
Figure 2-6. Connecting a network cable to the Rhio10
2.3 Rhio Manager Installation
Rhio Manager is a Windows Utility program for system configuration and I/O test of the Rhio10.
2.3.1 Rhio Manager Installation
Users may install the Rhio Manager software within the CD-ROM or by downloading at Sena
web site www.sena.com/support/downloads. If it is installed normally, then it will be placed
on to the menu of [Start]->[Program]->[SENA]->[RHIO Manager]. The screen layout
is shown in Figure 2-7.

15
Figure 2.7 Rhio Manager screen layout
2.3.2 Basic configuration using Rhio Manager
Select Interface
It specifies the communication method between Rhio10 and Rhi0 Manager. Be sure to set it up
as “Network”mode.
Quick Connect
Users may connect to the Rhio10 from using Rhio Manager by specifying the destination IP
address. Once users click [Quick Connect] button, then Rhio10 detected is shown on the Probe
screen as a tree structure form. If users click the one, then they will be asked to enter the ID
and Password. The Rhio10 parameters are displayed on the Get/Set screen with correct ID and
password (Factory default ID:PASSWORD is admin : admin.)
Figure 2.8 Quick connect dialog box

16
Probe
Users may probe the Rhio10 on the network. If users perform [Probe] command, then the
Rhio10 detected will be shown on the Probe screen. If users select the one in the Probe screen,
then they are asked to enter ID and Password. Users are able to configure the Rhio10’s
parameters within the Get/Set screen.
Set
After users complete the configuration, they have to click [Set] button to reflect the changes.
Once it is done, the changes will be stored on to the flash memory and the system will be
rebooted.
Reboot
Users may reboot the Rhio10 by using the botton. In this case, the TCP connection is
disconnected, whereas the I/O management status is still maintained.
I/O PORT CONTROL
Users may monitor, control and configure the Rhio10’s I/O ports by clicking [I/O PORT
CONTROL] button.

17
3. System Configuration and Administration
3.1 Network Configuration
A valid IP address of the Rhio10 needs to be assigned before it starts to work in the user's
network environment. A network system administrator may provide the user with this IP
address setting information for the network. The IP address must be unique within the network.
Otherwise, the Rhio10 will not have a valid connection to the network.
Users can choose the desired IP mode out of the three IP operating modes, i.e., Static IP,
DHCP and PPPoE. Thefactory default IP mode is DHCP mode. Table 3-1 shows the parameter
items for IP configuration.
Table 3-1 IP Configuration Parameter
IP address
Subnet mask
Static IP
Default gateway
DHCP No parameters required
PPPoE usernamePPPoE
PPPoE password
Figure 3-1. Rhio10 Network Configuration screen

18
The factory default configuration of IP mode is DHCP mode. In order to detect the Rhio10 for
the first time, users have to perform [Probe] function by using Rhio Manager. If there is a DHCP
server on the users’ environment, then the IP address assigned by the DHCP server is
displayed. Otherwise, it will display the IP address as 0.0.0.0. In this case, users have to change
the IP mode as Static IP mode, and then enter the proper IP address for their environment.
After the Rhio10 is displayed on the [Probe screen], click the unit that users want to connect.
Figure 3-2 Password Enter Dialog box
During the configuration, users may change the parameters as they want. The parameter value
will be maintained as RED color until the changes are reflected by using [Set] button.
Figure 3-3 Network Configuration Screen example

19
Users will have to click [Set] button in order to reflect the parameter changes. Once [Set]
operation is done, Rhio10 automatically store the changes and then reboot the system. Be sure
to perform [Probe] function to check whether the changes are made correctly after [Set]
operation.
Figure 3-4 Network Configuration screen
3.1.1 Static IP
In the Static IP mode, users have to manually specify all the parameters such as IP addresses
of the Rhio10, valid subnet mask and the default gateway IP address.
IP address is an identification number assigned to a computer as a permanent address on the
network. Computers use IP addresses to identify and talk to each other on the network. Choose
the proper IP address which is unique and valid on the network environment.
A subnet represents all the network hosts at one geographic location, in one building, or on the
same local area network. When there is any outgoing packet over the network, the Rhio10 will
check whether the desired TCP/IP host specified in the packet is on the local network segment

20
with the help of the subnet mask. If the address is proven to be on the same network segment
as the Rhio10, the connection is established directly from the Rhio10. Otherwise, the
connection is established through the given default gateway.
Agateway is a network point that acts as an entrance to another network. Usually, the
computers that control traffic within the network or at the local Internet service provider are
gateway nodes. The Rhio10 needs to know the IP address of the default gateway computer in
order to communicate with the hosts outside the local network environment. For correct
information on the gateway IP address, please refer to the network administrator.
3.1.2 DHCP
Dynamic Host Configuration Protocol (DHCP) is a communications protocol that lets network
administrators manage and automate the assignment of IP addresses centrally in an
organization's network. DHCP lets a network administrator supervise and distribute IP
addresses from a central point and automatically send a new IP address when a computer is
plugged into a different place in the network.
As described in the section 3.1, the IP address must be entered manually at each computer in
Static IP mode and, if computers move to another location in another part of the network, a new
IP address must be entered. Meanwhile, all the parameters including the IP address, subnet
mask, gateway, DNS servers will be automatically configured when the IP address is assigned
in DHCP mode. DHCP uses the concept of a "lease" or amount of time for which a given IP
address will be valid for a computer. All the parameters required to assign an IP address are
configured on DHCP server side, and each DHCP client computer receives this information
when the IP address is provided at its boot-up.
To obtain an IP address, the Rhio10 sends a corresponding DHCP request as a broadcast over
the network after each reset. The reply generated by the DHCP server contains the IP address
as well as the subnet mask, gateway address, DNS servers and the lease time. The Rhio10
immediately places this information in its non-volatile memory. If the operating time reaches the
lease time, the Rhio10 will request the DHCP server for renewal of its lease time. If the DHCP
server approves extending the lease, the Rhio10 can continue to work with the current IP
address. Otherwise, the Rhio10 will start the procedure to request a new IP address to the
DHCP server.
A DHCP sever assigns IP addresses dynamically from an IP address pool, which is managed
by the network administrator. This means DHCP client, i.e. the Rhio10, receives a different IP
address each timeit boots up. To prevent the case that users do not know the IP address of the
Table of contents
Other Sena Adapter manuals

Sena
Sena Parani-SD100L User manual

Sena
Sena Parani-UD100 User manual

Sena
Sena SmartFlex SR305 User manual

Sena
Sena ProBee-ZS10 User manual

Sena
Sena Rhio232 User manual

Sena
Sena ProBee-ZS10 User manual

Sena
Sena Parani-UD100 User manual

Sena
Sena Parani-SD1000 User manual

Sena
Sena ProBee-ZU10 User manual

Sena
Sena 50 Series User manual

Sena
Sena +MESH User manual

Sena
Sena PD10 User manual

Sena
Sena FreeWire SP29 User manual

Sena
Sena Parani UD100 User manual

Sena
Sena Parani-ESD1000 User manual

Sena
Sena SR10 User manual

Sena
Sena Parani10 User manual

Sena
Sena Bluetooth Audio Pack for GoPro User manual

Sena
Sena Promi-SD 101 User manual

Sena
Sena Parani-UD100 User manual