Sena Rhio232 User manual

1
Rhio232
Serial I/O Manager
User Manual
Version 1.0.6
2015-09-11

2
Guide for the Rhio232
Version 1.0.6
Printed in Korea
Copyright
Copyright 2005~2015, Sena Technologies, Inc. All rights reserved.
Sena Technologies reserves the right to make changes and improvements to its product without
providing notice.
Trademark
Rhio™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
Tel: (+82-2) 576-7362
Fax: (+82-2) 573-7710
E-Mail: support@senaindustrial.com
Website: http://www.senaindustrial.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
J.S. Kim
Operating and storage temperature is
updated.
V1.0.4
2007-05-07
H.R. Zo
Warranty added
V1.0.5
2011-12-26
H.R. Zo
Package does not contain CD-ROM
V1.0.6
2015-09-11
KT Lee
Change the contact information

4
Table of Contents
1. Introduction ...................................................................................................................... 6
1.1 Overview.........................................................................................................................................6
1.2 Package Check List ........................................................................................................................6
1.3 Product Specification ......................................................................................................................7
2. Getting Started ................................................................................................................. 9
2.1 Panel Layout...................................................................................................................................9
2.2 Connecting the Hardware .............................................................................................................11
2.2.1 Setting up DIN Rail mount kit.............................................................................................11
2.2.2 Connecting the Power........................................................................................................12
2.2.3 Connecting to the serial device..........................................................................................13
2.3 Rhio Manager Installation .............................................................................................................13
2.3.1 Rhio Manager Installation...................................................................................................13
2.3.2 Basic configuration using Rhio Manager............................................................................14
2.4 Restoring Factory Default .............................................................................................................15
3. I/O Setting and Application ...........................................................................................16
3.1 I/O Monitoring and Control............................................................................................................16
3.1.1 LED....................................................................................................................................16
3.1.2 Specifying monitoring interval ............................................................................................17
3.1.3 Monitoring I/O port .............................................................................................................17
3.1.4 Controlling digital output port..............................................................................................17
3.2 Digital Input Setting.......................................................................................................................18
3.2.1 Setting Enable/Disable.......................................................................................................18
3.3 Digital Output Port Setting.............................................................................................................19
3.3.1 Setting Enable/Disable.......................................................................................................19
3.3.2 Setting run condition ..........................................................................................................20
3.3.3 Delay & Pulse Operation....................................................................................................21
3.3.4 Setting Power-out Post Recovery ......................................................................................21
3.4 ADC Input Port Setting..................................................................................................................21
3.4.1 Setting Reference ..............................................................................................................22
3.4.2 Setting ADC Input Port.......................................................................................................22
3.5 I/O Port Connection ......................................................................................................................23
3.5.1 Digital Output Port..............................................................................................................23
3.5.2 Digital Input Port.................................................................................................................23
3.5.3 ADC Input Port...................................................................................................................24

5
4. Software Development & Application ..........................................................................26
4.1 The Rhio Library............................................................................................................................26
4.1.1 Overview of the Rhio Library..............................................................................................26
4.1.2 Reference ..........................................................................................................................26
4.2 Creating and demonstrating a sample program with Rhio library..................................................29
4.2.1 Program UI Configuration and their related classes...........................................................29
4.2.2 Processing .........................................................................................................................30
4.3 Rhio Communication Protocol.......................................................................................................33
4.3.1 Overview............................................................................................................................33
4.3.2 ON/OFF Control.................................................................................................................35
4.3.3 Input/Output State..............................................................................................................38
4.3.4 Set/Run..............................................................................................................................38
4.3.5 Output Port Setting.............................................................................................................39
4.3.6 ADC Input Port Setting.......................................................................................................42
4.3.7 Port Enable Setting............................................................................................................43
4.3.8 Port Power-out Post Recovery Setting...............................................................................46
5. How to use the Rhio232 with Device Servers .............................................................48
5.1 Connections..................................................................................................................................48
5.2 Application.....................................................................................................................................49
Appendix A. Connection ...................................................................................................55
A.1 Serial Port Pin Outs......................................................................................................................55
A.2 Serial Port Wiring Diagram...........................................................................................................56
Appendix B Troubleshooting............................................................................................57
B.1 Power/LED Status Troubleshooting..............................................................................................57
B.2 Serial Console Troubleshooting....................................................................................................57
Appendix C. Rhio Linrary..................................................................................................58
C.1 Enumeration Type ........................................................................................................................58
C.2 Structure.......................................................................................................................................60
C.3 Function........................................................................................................................................61
Appendix D. Warranty........................................................................................................74
D.1 GENERAL WARRANTY POLICY.................................................................................................74
D.2 LIMITATION OF LIABILITY...........................................................................................................74
D.3 HARDWARE PRODUCT WARRANTY DETAILS.........................................................................75
D.4 SOFTWARE PRODUCT WARRANTY DETAILS..........................................................................76
D.5 THIRD-PARTY SOFTWARE PRODUCT WARRANTY DETAILS .................................................76

6
1. Introduction
1.1 Overview
The Rhio232 is a Serial I/O Manager that enables Sena Device Servers to control and monitor
I/O devices. It is designed to connect to a Sena Device Server through the RS232 interface.
The Rhio232 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. The Rhio232
supports 12 optically isolated digital inputs for monitoring of the digital sensors. The Rhio232’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 Rhio232 system using Windows application, Rhio Manager
and create their own Windows based application program by using MFC DLL library.
The Rhio232, which can be used directly or with device servers, is designed to meet the
requirements of 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
- Rhio232 external box
- CAT5 cable
- RJ45 to DB9 Female cable connector
- DIN rail mount kit
- Quick Start Guide

7
1.3 Product Specification
Serial Interface
Supports RS232 serial port, RJ45 connector
Baud rate: 9,600/Flow control: None/Data: 8 bit/Stop: 1 bit
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

8
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

9
2. Getting Started
This chapter describes how to set up and configure the Rhio232 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 serial device to the Rhio232.
Following items are required to get started.
- DIN rail mount kit (included in the package).
- CAT5 cable for configuration or connecting device server (included in the package).
- RJ45 to DB9 Female connector for configuration or connecting device server (included in the
package).
2.1 Panel Layout
The Rhio232 has LED indicator lamps for status display. The lamps in the left hand side
indicate the system power-on status, Serial Rx and Serial Tx for RS232 communication status.
There are 10 lamps for displaying digital output status, 12 lamps for digital input status, and
lamps for 4 analog port status. Table 2-1 shows the description of the indicator lamps of the
Rhio232.
Table 2-1. LED indicator lamps
Lamps
Function
10Base-T
Link
Turned on to Green if connected to 10 Base-T Ethernet
network.
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.

10
Figure 2-1. The panel layout of the Rhio232
Table 2-2. Terminal Block Assignment of the Rhio232
Input
Blocks
assignment
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
•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 3.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.
Output
Blocks
assignment
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
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)

11
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 Rhio232 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

12
Figure 2-4. Setting up the Rhio232 to DIN Rail
2.2.2 Connecting the Power
Supply the proper power according to the power specification of the Rhio232, 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 Rhio232

13
2.2.3 Connecting to the serial device
Connect the one end of the CAT5 cable to RS232 port of the Rhio232 and the other to host or
device server. If connector type of host or device server is DB9, connect the other end using
RJ45 to DB9 Female adaptor. If the cable is properly hooked up, the Rhio232 will have a valid
connection to the device server(or host) by indicating:
- [Serial Rx], [Serial Tx] green lamps continuously blink to indicate the incoming/outgoing data
stream through serial port of the Rhio232
If any of the above does not happen, the Rhio232 is not properly connected to the RS232
communication.
Note: User must configure serial parameters a host or device server in such a way that it should
be same with the Rhio232's serial parameters. Serial parameters of the Rhio232 are as follows:
9600 Baud rate, Data bits 8, Parity None, Stop bits 1, No flow control
Figure 2-6. Connecting host or device server to the Rhio232
2.3 Rhio Manager Installation
Rhio Manager is a Windows Utility program for system configuration and I/O test of the Rhio232.
2.3.1 Rhio Manager Installation
Users may install the Rhio Manager software by downloading at Sena web site http://
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.

14
Figure 2.7 Rhio Manager screen layout
2.3.2 Basic configuration using Rhio Manager
Select Interface
It specifies the communication method between the Rhio232 and Rhio Manager. Be sure to set
it up as “Serial”mode.
Quick Connect
By using [Quick Connect], user can select the RS232 serial port that is connected to the
Rhio232.
I/O PORT CONTROL
Users may monitor, control and configure the Rhio232’s I/O ports by clicking [I/O PORT
CONTROL] button.

15
Figure 2.8 Quick connect dialog box
2.4 Restoring Factory Default
Users may restore the Rhio232 parameters into factory default value by pressing factory reset
switch on the hole of the Rhio232 side panel. They will have to put the sharp pin into the hole
and press it for around 1 sec to reset the Rhio232. The Rhio232 will be rebooted after the
operation.
The following is the factory default value of the parameters.
I/O Port status: Enable
ADC Operation mode : Level Mode
Power-out Post Recovery: Enable
ADC Threshold value : 512
Output Port operation condition : None
Run/Stop status : Run

16
3. I/O Setting and Application
3.1 I/O Monitoring and Control
You can monitor, control and set I/O states by pressing the [I/O PORT CONTROL] button.
Once [I/O PORT CONTROL] is invoked, Rhio Manager begins to monitor the I/O state by
connecting to a serial port of the Rhio232 via a RS232 serial interface.
3.1.1 LED
-ON : Red Icon
-OFF : Blue Icon
-Disable : Grey Icon
-Condition ON/OFF : Green Icon
-Macro: M
-Delay ON: Red D
-Delay OFF: Blue D
-Pulse: P
-Level Mode ADC Port : Green
Figure 3-1 The I/O port Control screen

17
3.1.2 Specifying monitoring interval
You can continue to monitor the I/O state of the Rhio232 at a specified time interval by setting
[Setting Monitor Interval]. The valid value for monitoring intervals is any number between 2 and
10 seconds. In the specified time interval, Rhio Manager sends a state request command and
receives a response from the Rhio232 and displays it on the screen.
Figure 3-2 Setting Monitoring Interval
3.1.3 Monitoring I/O port
Upon receiving a state request command from Rhio Manager, the Rhio232 returns information
on the overall states of the digital input, analog input and digital output ports.
-Digital Input Port shows the ON/OFF state of input.
-In Level mode, ADC Input Port converts the analog value retrieved to a digital value in
1,024 steps and displays the converted value (“0000”-“1023”).
-In Switch mode, ADC Input Port compares the input value to a specified threshold value
and displays ON if it is higher and OFF if not.
-Digital Output Port displays the ON/OFF state, operation condition for an output port,
and standby state.
3.1.4 Controlling digital output port
You can place your mouse over the Digital Output Port LED of Rhio Manager and left-click it to
control ON/OFF state.
-When the operation condition for a digital output port is not specified, the ON/OFF state
for the port is toggled each time you left-click your mouse.

18
-When the operation condition is specified, the port is set to ON if it is met, and it is set
to OFF and displayed as a standby state if not.
-After output control is completed, the Rhio232 returns the states of all ports to the host
computer.
3.2 Digital Input Setting
The Rhio232 has 12 digital input ports. You can enable/disable each of these digital input ports
with Rhio Manager or by issuing the commands specified in "Ch. 4 I/O Port Related Protocols".
When setting the digital input with Rhio Manager, place your mouse cursor over the Digital Input
LED on the I/O Port Control screen and right-click it to display the Setting window.
3.2.1 Setting Enable/Disable
Figure 3-3 Setting digital input
Digital input setting has two options: Enable and Disable. After selecting either of the options,
press the [Setting] button to apply it in the system. A port cannot be set while it is operating in
Run mode. Therefore, Rhio Manager sends a command that switches its mode to Setting mode
first and then issues the set command when its operation is stopped.
When set to Enable, Rhio Manger receives the ON/OFF state from the device connected to a
digital input port and then displays it. When set to Disable, it displays Disable regardless of the
ON/OFF state of the device connected to the input port.

19
3.3 Digital Output Port Setting
The Rhio232 has 10 digital output ports. You can set each of these digital output ports with Rhio
Manager or by issuing the commands specified in "Ch. 4 I/O Port Related Protocols". Place your
mouse cursor over the Digital Output Port LED on the I/O Port Control screen and right-click it to
display the Setting Output Port window.
Figure 3-4 Setting digital output port window
3.3.1 Setting Enable/Disable
Set a specified port to Enable/Disable by selecting the [Port Enable] and [Port Disable] check
boxes. If it is set to Disable, the digital output port becomes fixed to OFF.

20
3.3.2 Setting run condition
When the [Macro] check box is selected, you can enter a conditional expression and then use it
to control operation of an output port. Enter the desired conditional expression in the [Macro]
box.
-Specify an operation condition for each output port.
-An output port that has not been set is regarded as a port available for direct control.
-The final value obtained from a logical operation on the listed expression becomes the
state of an output port.
-If the operation condition expression is cleared, a port becomes available for direct
access.
-Operation condition expressions can be specified as follows:
1) Port No. + Logic Expression (&,|) + Port No.
2) Logic Expression (!) + Port No.
3) Port No. + Logic Expression (&,|) + Logic Expression (!) + Port No.
(Logical operator "!" can only be effective before the relevant port no.)
예) - Input #1 AND Input #2
I1&I2
- Input #1 OR Output #2
I1|O2
- The Inverse of Input #1
!I1
- Output #2 AND Output #3 AND the inverse of Output #4
O2&O3&!O4
-A single logical expression can contain up to 21 ports.
-If a port is directly set to ON when its operation condition is not met, it goes into
standby state.
-A port goes into the ON state if its operation condition is met and into OFF and standby
states if not.
-If a port is directly set to OFF, it does not operate even if the operation condition is
satisfied.
Table of contents
Other Sena Adapter manuals

Sena
Sena Parani-ESD1000 User manual

Sena
Sena Parani-UD100 User manual

Sena
Sena FREEWIRE User manual

Sena
Sena 50 Series User manual

Sena
Sena ProBee-ZS10 User manual

Sena
Sena Parani-SD100L User manual

Sena
Sena Parani-SD100 User manual

Sena
Sena PD10 User manual

Sena
Sena ProBee-ZU10 User manual

Sena
Sena Parani10 User manual

Sena
Sena FreeWire SP29 User manual

Sena
Sena MESHPORT RED User manual

Sena
Sena SR10 User manual

Sena
Sena Parani-SD100 User manual

Sena
Sena Parani-UD100 User manual

Sena
Sena MESHPORT BLUE User manual

Sena
Sena +MESH User manual

Sena
Sena ProBee-ZU10 User manual

Sena
Sena Promi-SD 101 User manual

Sena
Sena ProBee-ZS10 User manual