Remote I/O control using Rhio10

1. Overview
Rhio10 is a remote I/O management device that can communicate with remote digital sensors and actuators through 10 Base-T Ethernet network.

- Outputs:

- Number of channels: 10

- Output type: Relay

- Rated load: 3A/240VAC

- Inputs:

- Number of channels: 12

- Input type: Voltage

- Input circuitry: Optically isolated photo-coupler

- Input range: 0V ∼ ±24V

- ADCs: 4channels 10-bit, Voltage 0V ~ Aref(2~5V)

Using the Rhio Manager Windows application program, user can configure the Rhio10, perform a system I/O test or monitor the system, and communicate with Rhio10s using predefined protocol.

This document shows how to configure and manage the Rhio10 with Rhio Manager.

2. Hardware connection of Rhio10

2.1 Power connection

Connects power supply to Rhio10 directly.(9V~48VDC, MAX. 5W, Regardless of +/- polarity)

2.2 Connect input port

The input ports of the Rhio10 are configured as follows, so user can connect them regardless of polarity. User can connect devices like sensors which have the output voltage within +/- 24V.

1

2.3 Connect output port

The output ports of the Rhio10 are configured to relay, so OUTA and OUTB is used for drive switch. Max 220V is allowed.

2

3. Rhio Manager

User can set network configuration like IP, and the I/O configuration using Rhio Manager.

- To run Rhio Manager, Click Start -> Program -> Sena -> Rhio_Manager -> Rhio_Manager

- Then click Device -> Probe menu, you can find the Rhio10s connected to the network.

3

- After setting configuration such as network, Save the changes and apply to the system by clicking Device -> Set menu.

- When click I/O PORT CONTROL button, the window that shows the current state of each I/O appears.

4

- The monitoring interval can be set by clicking ‘Setting Monitor Interval’

5

Rhio Manager sends commands requesting the state of each I/O with ‘Monitor Interval Time’ periodically.

- User can control ON/OFF manually by clicking LED images of output port.

- User can launch each I/O setting windows by right mouse clicking each I/O LED image.

6

<In case users click the right mouse button on an input port>

7

<In case users click the right mouse button on the output port>

8

<In case users click the right mouse button on the ADC port>

For more detailed configuration of each port, please refer to the Rhio10 manual.

4. Command protocol

User can control outputs and monitor the state of input ports by using following commands. The same protocol is used for Rhio Manager.

4.1 Protocol type

START FLAG LENGTH FUNCTION DATA LRC (BCC) END FLAG
ByteSize

1 2 2 N 2 2
Start of the Command Block, 0×3A ( “:” ) The length from FUNCTION field to DATA field Command Response Data XOR from START FLAGfield to DATA field CR (0×0D)

LF (0×0A)

- START FLAG

The start of the command BLOCK

0×3A ( “:” )

- LENGTH

The length of the FUNCTION and DATA Field

- FUNCTION

Shows Control/Set/Check/State command and Response code.

- DATA

Control/Set/Check/State Data

- LRC ( BCC )

Checks for any Errors in the command block.

Bytewise XORed value from START FLAG field to DATA field

- END FLAG

CR+LF ( 0×0D+0×0A )

4.2 I/O State requesting command & response

When I/O state is changed or I/O state change command is received, the Rhio10 responds with the I/O state.

9

- Command

:030300A[CR][LF]

Command Data Remark
Byte
Size
2 1
“03”( 0×30,0×33 ) State request 0×30 : Fix Dummy value

- Response

:3602090000,90000,90000,90000,0000,0000,0000,0000,0000,0021[CR][LF]

Response Data Remark
ByteSize

2 52
“02”( 0×30, 0×32 )Input, Output verall state ON/OFF state data ofADC Level 4Input 12 PointOutput 10 Point Send state of input/output
points in a batch.

Data

Field Data
Order
Port Data Content
ControlState

1 - 0×30: Normal Control,0×31: No Run Mode,0×39: Abnormal Control
ADC
Input
LEVEL
2~6 A1 0×30: OFF,
0×31: ON (Switch Input),
0×39: Level Mode
“0000”~”1023” :Level
7 - Field Separator 0×2C ( “,”)
8~12 A2 0×30: OFF,
0×31: ON (Switch Input),
0×39: Level Mode
“0000”~”1023” :Level
13 - Field Separator 0×2C ( “,”)
14~18 A3 0×30: OFF,
0×31: ON (Switch Input),
0×39: Level Mode
“0000”~”1023” : Level
19 - Field Separator 0×2C ( “,”)
20~24 A4 0×30: OFF,
0×31: ON (Switch Input),
0×39: Level Mode
“0000”~”1023” : Level
25 - Field Separator 0×2C ( “,”)
Input
State
26~29 I1~I4 0×30 : OFF,0×31 : ON
30 - Field Separator 0×2C ( “,”)
31~34 I5~I8 0×30 : OFF,
0×31 : ON
35 - Field Separator 0×2C ( “,”)
36~39 I9~I12 0×30 : OFF,
0×31 : ON
40 - Field Separator 0×2C ( “,”)
Output
State
41~44 O1~O4 0×30: OFF,0×31: ON,0×32: Wait for a conditional execution,0×33: Wait for Delay ON,0×34: Wait for Delay OFF,0×35: Run PULSE
45 - Field Separator 0×2C ( “,”)
46~49 O5~O8 0×30: OFF,0×31: ON,0×32: Wait for a conditional execution,0×33: Wait for Delay ON,0×34: Wait for Delay OFF,0×35: Run PULSE
50 - Field Separator 0×2C ( “,”)
51,52 O9,O10 0×30: OFF,0×31: ON,0×32: Wait for a conditional execution0×33: Wait for Delay ON,0×34: Wait for Delay OFF,0×35: Run PULSE

4.3 The ON/OFF control command & response of output port

Following command shows the command & response to turn on the first output port.

10

- Command

:17011000000000,100000000011[CR][LF]

Command Data Remark
Byte
Size
2
“01”( 0×30, 0×31 ) ON/OFF제어 10-point output masking and ON/OFF control data Send output points to set ON/OFF in a batch.

Data

MASK Data Data Separator ON/OFF Data
Data Order 1 ~ 10 11 12~21
Port No. 1 ~ 10 - 1~10
Data Content Control: 0×31Non-control: 0×30 0×2C ( “,”)separates MASKfrom ON/OFF ON : 0×31

OFF : 0×30

MASK and ON/OFF Data correspond to one port per byte for each port in sequence.

Port location by Data Order

Data
Order
1 2 3 4 5 6 7 8 9 10
12 13 14 15 16 17 18 19 20 21
Port O1 O2 O3 O4 O5 O6 O7 O8 O9 O10

Response is the same as the response of requesting state.

For detail protocol, please refer to the section ‘5.3 Rhio Communication Protocol’ in Rhio10 manual.

6 Responses to “Remote I/O control using Rhio10”

  1. David Twomey says:

    Hi,

    Please send me your pdf brochure and pricing for the Rhio 10.

    Is it possible to get a sample unit for testing?

    Thank You,

  2. Anant Tikone says:

    Does this unit has memory so that input status is saved even if PC connected to it is off.

    Does this unit has RTC so that time tag is attatched to the input signals.

    Regards

  3. wookjoong says:

    Hi, David Twomey.
    Our sales will contact you.

    Thanks.

  4. wookjoong says:

    Hi, Anant Tikone

    Rhio10 does not have memory that can be used to store I/O state.
    And this unit does not have RTC.

    Thanks.

  5. Now make this wireless, 802.11 or Bluetooth.

  6. wookjoong says:

    Rhio10 coverts the I/O signal to wired Ethernet data.
    But using some combinations of our product, you can make wirelss I/O signal systems.

    1. Rhio232 + SD1000 + MSP1000
    Rhio232 converts I/O signal to RS232 serial data.
    SD1000 converts RS232 serial data to Bluetooth.
    MSP1000 converts Bluetooth data to Ethernet.
    So you can use following system.

    I/O signal -> wired serial -> Bluetooth -> wired ethernet

    Reverse direction data communication is also possible.

    2. Rhio232 + PS110W
    PS110W is our WiFi device server. It converts RS232 serial data to WiFi.
    So you can use following system.

    I/O signal -> wired serial -> WiFi

    Reverse direction data communication is also possible.

    Thanks.

Leave a Reply