Sena Rhio10 Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Akcesoria komputerowe Sena Rhio10. SENA Rhio10 User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - Remote I/O Manager

1Rhio10Remote I/O ManagerUser ManualVersion 1.4.42011-12-26

Strona 2

102. Getting StartedThis chapter describes how to set up and configure the Rhio10 in the first place.- 2.1 Panel Layout explains the panel layout and

Strona 3 - Revision History

11Figure 2-1. The panel layout of theRhio10Table 2-2. Terminal Block Assignment of the Rhio10AI1 AI2 AI3 AI4 DI1 DI2 DI3 DI4 DI5 DI6 DI7 DI8 DI9 DI10

Strona 4 - Table of Contents

122.2 Connecting the Hardware2.2.1 Setting up DIN Rail mount kitUsers may use DIN rail mounting kit included in the package to install the Rhio10 on t

Strona 5

13Figure 2-4. Setting up the Rhio10 to DIN Rail2.2.2 Connecting the PowerSupply the proper power according to the power specification of the Rhio10, i

Strona 6

142.2.3 Connecting to the NetworkConnect the one end of the Ethernet cable to the Rhio10 10Base-T port and the other to theEthernet network. If the ca

Strona 7 - 1. Introduction

15Figure 2.7 Rhio Manager screen layout2.3.2 Basic configuration using Rhio ManagerSelect InterfaceIt specifies the communication method between Rhio1

Strona 8 - 1.3 Product Specification

16ProbeUsers may probe the Rhio10 on the network. If users perform [Probe] command, then theRhio10 detected will be shown on the Probe screen. If user

Strona 9

173. System Configuration and Administration3.1 Network ConfigurationA valid IP address of the Rhio10 needs to be assigned before it starts to work in

Strona 10 - 2. Getting Started

18The factory default configuration of IP mode is DHCP mode. In order to detect the Rhio10 forthe first time, users have to perform [Probe] function b

Strona 11

19Users will have to click [Set] button in order to reflect the parameter changes. Once [Set]operation is done, Rhio10 automatically store the changes

Strona 12 - 2.2 Connecting the Hardware

2Guide for the Rhio10Version 1.4.4Firmware version 1.4.xPrinted in KoreaCopyrightCopyright 2005~2012, Sena Technologies, Inc. All rights reserved.Sena

Strona 13 - 2.2.2 Connecting the Power

20with the help of the subnet mask. If the address is proven to be on the same network segmentas the Rhio10, the connection is established directly fr

Strona 14 - 2.3 Rhio Manager Installation

21Rhio10 in such environments, its IP address should be reserved on the DHCP server side. Inorder to reserve the IP address in the DHCP network, the a

Strona 15

22give 255.255.255.255 for the subnet. To allow any hosts to the Rhio10, give 0.0.0.0 for both ofthe IP address and subnet. Please refer to Table 3-2

Strona 16

23TCP session is established between them, the Rhio10 will send data to the server.If there’s any data from the server during the session, it will als

Strona 17 - 3.1 Network Configuration

24For easier understanding of TCP modes, a simplified State Transition Diagram is often used.And too help users understand the diagram, the TCP state

Strona 18

253.2.1 TCP Server Mode OperationsThe Rhio10 works as a TCP server, and the default TCP state is [Listen] in this mode. TheRhio10 supports only one TC

Strona 19 - 3.1.1 Static IP

26ClosedEstablishedListenDataIncoming TCP connection requestInactivity time-outIncoming TCPdisconnection requestIncoming I/O status dataIncoming dataf

Strona 20 - 3.1.2 DHCP

27there’s no connection close request. Although inactivity timeout is disabled, the Rhio10 willcheck the connection status between the Rhio10 and the

Strona 21 - 3.1.3 PPPoE

28Cyclic ConnectionIt Cyclic Connection function is enabled, the Rhio10 will make an attempt to connect to the user-defined remote host at certain int

Strona 22 - 3.2 Host Mode Configuration

29Destination IP address and destination TCP Port are the information on the remote host towhich the Rhio10 will try to connect in TCP client mode. Th

Strona 23

3Revision HistoryRevision Date Name DescriptionV1.0.0 2005-05-21 D.H. Shin Initial ReleaseV1.0.1 2005-08-08 D.H. Shin “Table 2-2. Terminal Block Assig

Strona 24

30EstablishedInactivity time-outTCP connection request rejectedOr internal TCP time-outTCP connection request acceptedSync-SentI/O status changeIncomi

Strona 25

31Figure 3-9 System Administration Configuration3.4 Restoring Factory DefaultUsers may restore the Rhio10 parameters into factory default value by pre

Strona 26 - Sync-Recvd

324. I/O Setting and Application4.1 I/O Monitoring and ControlYou can monitor, control and set I/O states by pressing the [I/O PORT CONTROL] button.On

Strona 27

334.1.2 Specifying monitoring intervalYou can continue to monitor the I/O state of Rhio10 at a specified time interval by setting[Setting Monitor Inte

Strona 28 - Sync-Sent

34- After output control is completed, Rhio10 returns the states of all ports to the hostcomputer.4.2 Digital Input SettingRhio10 has 12 digital input

Strona 29

354.3 Digital Output Port SettingRhio10 has 10 digital output ports. You can set each of these digital output ports with RhioManager or by issuing the

Strona 30 - 3.3 System Administration

364.3.2 Setting run conditionWhen the [Macro] check box is selected, you can enter a conditional expression and then use itto control operation of an

Strona 31 - 3.4 Restoring Factory Default

374.3.3 Delay & Pulse OperationIf the [Use Delay/Pulse] check box is selected, the output port executes Delay and Pulseoperation. The setting valu

Strona 32 - 4.1.1 LED

38Figure 4-5 Setting ADC Input Port4.4.1 Setting ReferenceSpecify a reference voltage for analog input data. Rhio represents voltage from 0 V to arefe

Strona 33 - 4.1.3 Monitoring I/O port

394.5 I/O Port ConnectionThis section describes how to make a required connection with the digital output, digital inputand ADC input port of Rhio10 f

Strona 34 - 4.2 Digital Input Setting

4Table of Contents1. Introduction ...

Strona 35 - 4.3.1 Setting Enable/Disable

40Figure 4-7 Connection of Digital Input Port4.5.3 ADC Input PortAn ADC input port is a non-insulated input port. If possible, a circuit should be mad

Strona 36 - 4.3.2 Setting run condition

412) When using an Analog Input PotentiometerAn analog input operates in reference to input voltage and has an impedance of 100㏀. Whenusing a Potentio

Strona 37 - 4.4 ADC Input Port Setting

425. Software Development & ApplicationYou can use the Rhio library to develop application software that is used to communicate withRhio10.The Rhi

Strona 38 - 4.4.2 Setting ADC Input Port

432) Structure (See Appendix D.2)Structure DescriptionSADCDataON/OFF state of each portSOnOffStateDataON/OFF state of all portsSSetOutputOutput port c

Strona 39 - 4.5 I/O Port Connection

44RHIO_SndCmd_SetPortEnableSend a command that enables/disables allports.RHIO_SndCmd_GetPortEnableSend a command that checks enable/disablestate of al

Strona 40 - 4.5.3 ADC Input Port

455.2 Creating and demonstrating a sample program with RhiolibraryThe sample program (RHIO_TEST) is a dialog box based application that has been creat

Strona 41

461Figure 5-2 Setting Window of a Sample ProgramNo. Class Related Files1CSettingDlg SettingDlg.h SettingDlg.cpp5.2.2 Processing5.2.2.1 Initializing Ma

Strona 42 - 5.1 The Rhio Library

47CWEB_IO_TESTDlg::InitSample(CPoint pntStart, int iWidth,int iHeight, int iTerm)CWEB_IO_TESTDlg::InitSelComm();3) Create Process Class.m_rhCreate(CWn

Strona 43

48⑥ The Monitor Power Stop button is clicked on.CSettingDlg::OnBnClickedButtonMonitorPwrStop()⑦ The Set Power Stop button is clicked on.CSettingDlg::O

Strona 44

495.3 Rhio Communication ProtocolIn this chapter, it covers how to send/receive the command/reply to/from Rhio device by usingthe Rhio communication p

Strona 45

54.3.1 Setting Enable/Disable...354.3.2 Setting ru

Strona 46 - 5.2.2 Processing

50- LRC (BCC)Checks for any Errors in the command block.Bytewise XORed value from START FLAG field to DATA field(refer to example below)- END FLAGCR+L

Strona 47

51- NAK ResponseSTARTFLAGLENGTH FUNCTION DATALRC(BCC)ENDFLAGByteSize1 2 2 3 2 2Start of theCommandBlock, 0x3A( “:” )The length fromFUNCTION fieldto DA

Strona 48

52- DataMASK Data Data Separator ON/OFF DataData Order 1 - 10 11 12-21Port No. 1 - 10 - 1-10Data ContentControl: 0x31Non-control: 0x300x2C ( “,” )sepa

Strona 49 - 5.3.1 Overview

538-12 A20x30: OFF,0x31: ON (Switch Input),0x39: Level Mode“0000”-”1023”:Level13 - Field Separator 0x2C ( “,” )14-18 A30x30: OFF,0x31: ON (Switch Inpu

Strona 50

545.3.3 Input/Output State5.3.3.1 I/O State Request CommandCommand Data RemarkByte Size 2 1“03”( 0x30, 0x33 )State Request0x30: Fixed to adummy value5

Strona 51 - 5.3.2 ON/OFF Control

555.3.4.2 Response for Set/Run command- Same as "5.3.2.2 Response for ON/OFF control".- In Setting mode, Rhio10 returns a response once and

Strona 52

56- A conditional expression only takes the form of a single expression with AND,OR, NOT.Eg. AND operation of Input #1 and Input #2 : I1 & I2OR op

Strona 53

57“00000” “50000”OFF after 5,000 sec delay“00001” “00001”Repeat 100 ms ON and 100 ms OFF.“00020” “00020”Repeat 2 sec ON and 2 sec OFF.“50000” “50000”R

Strona 54 - 5.3.4 Set/Run

585.3.5.4 Response for Check Output Port Setting command- Same as "5.3.5.2 Response for Set Output Port command".5.3.6 ADC Input Port Settin

Strona 55 - 5.3.5 Output Port Setting

59- Setting Flag0x30: Set OK0x31: Not in Setting mode (in Run mode)0x39: Set NG5.3.6.3 Check ADC Input Port Setting CommandCommand Data RemarkByte Siz

Strona 56

6B.2 Command Usage...70B.2.1 &a

Strona 57

605 -Field Separator 0x2C ( “,” )6 -0x30: AVcc ( Vcc 5V ) -> default0x31: Internal ( 2.56V )0x32: External ( 2-4.5V )ADC ReferenceSetting7 - Field

Strona 58 - 5.3.6 ADC Input Port Setting

612 A13 A24 A35 A40x30: Avcc ( Vcc 5V ) -> default0x31: Internal ( 2.56V )0x32: External ( 2V-4.5V )ADC Port6 - Field Separator 0x2C ( “,” )ADC Ref

Strona 59 - 5.3.7 Port Enable Setting

625.3.8 Port Power-out Post Recovery Setting5.3.8.1 Set Port Power-out Post Recovery commandCommand Data RemarkByte Size 2 12“14”( 0x31, 0x34 )Set Pow

Strona 60

632-5 O1-O40x31: Enable, 0x32: Disable6 - Field Separator 0x2C ( “,” )7-10 O5-O8 0x31: Enable, 0x32: Disable11 - Field Separator 0x2C ( “,” )Output St

Strona 61

64Appendix A. ConnectionA.1 Ethernet Pin OutsThe RHIO10 uses standard Ethernet connector, which is a shielded connector compliant withAT&T258 spec

Strona 62

65Pin Description1 RTS2 DTR3 TxD4 GND5 -6 RxD7 DSR8 CTSTable A-2. Pin assignment of the RJ45 connectorA.3 Ethernet Wiring DiagramFigure A-3. Ethernet

Strona 63

66Figure A-4. Ethernet connection using straight through ethernet cableA.4 Serial Console Wiring DiagramFigure A-5. RS232 wiring diagram

Strona 64 - Appendix A. Connection

67Appendix B. Accessing Console Port and Command UsageB.1 Accessing Console PortThere are two ways to access console port of the RHIO10 depending on w

Strona 65 - A.3 Ethernet Wiring Diagram

68Connect the other end of the cable to the serial port of user’s computer.Slide Data/Console switch to Console side.Figure B-2. Data/Console switch o

Strona 66

69- Save changesexit + <CR>- Exit without rebooting the devicereboot + <CR>- Exit and reboot the device>Figure B-3. The RHIO10 console

Strona 67 - B.1 Accessing Console Port

71. Introduction1.1 OverviewRhio10 is a remote I/O manager which enables users to control/monitor various I/O devicessuch as sensors and actuators thr

Strona 68

702) The user has to log into the RHIO10. Type the user name and password. A factory defaultsetting of the user name and password are both admin.3) If

Strona 69 - B.1.2 Using Remote Console

71- if option='-ip', all parameters except IPsettings are set with factory default values.“ERROR” + <CR> +<LF>save + <CR>

Strona 70 - B.2 Command Usage

72If users want to change only one of the parameters of the group, users can omit trailingparameters and/or can use ‘*’ to keep a parameter value. The

Strona 71 - B.2.1 'set' Command

73The group means the category where parameters belong to as like ‘set’ command. For example,if users want to view parameter values related to IP conf

Strona 72 - B.2.2 'get' Command

74B.2.3 'help' CommandWith ‘help’ command, users can find command usage help in the console screen. Basiccommand usage is as follows:help [g

Strona 73

75B.2.4 'save' CommandWith ‘save’ command, current parameter changes are saved to non-volatile memory. Commandusage of ‘save’ command is as

Strona 74

76if ipmode = static,par1 = IP address, par2 = subnet mask, par3 = gatewayif ipmode = dhcp,no parameters requiredif ipmode = pppoe,par1 = PPPoE userna

Strona 75 - B.3.1 Network Configuration

77par2 = inactivity timeout (sec)if hostmode = TCP client (tcpc),par1 = destination IP address,par2 = destination TCP port,par3 = cyclic connection in

Strona 76 - B.3.2 Host Mode Configuration

78To configure the RHIO10 to work as a TCP server/client mode, use ‘set’ command as follows:set host tcpsc listening_port dest_ip dest_port cyclic_con

Strona 77

79Appendix C. TroubleshootingC.1 Power/LED Status TroubleshootingProblem Cause ActionPower LED does notlight upPower cable is notconnectedCheck power

Strona 78 - B.3.3 System Administration

81.3 Product Specification10 Base-T Ethernet with RJ45 Ethernet connectorNetwork InterfaceSupports static and dynamic IP addressDigital Input-Number o

Strona 79 - Appendix C. Troubleshooting

80C.3 Remote Console TroubleshootingC.4 IP Address TroubleshootingProblem Cause ActionUse serial console to find IP addressCannot find IP addressof th

Strona 80 - C.5 DHCP Troubleshooting

81Appendix D. Rhio LinraryD.1 Enumeration TypeEOnOffFlagFlag for ON, OFF, Operation conditionenum EOnOffFlag{EOF_ON, //ON statusEOF_ON_ADC_LEVEL, //AD

Strona 81 - Appendix D. Rhio Linrary

82ESF_SET_FACTROT_RESET, //Factory Reset Command transfer statusESF_SET_SERIAL, //Serial number Set Command transfer statusESF_MON_MACRO, //Macro chec

Strona 82

83D.2 StructureON/OFF status DataStructure which contains Port ON/OFF statustypedef struct _ADCData //ADC Data{EOnOffFlag eADC; //ADC On/OFF Flagchar

Strona 83 - D.2 Structure

84SADCData sADCData[4]; //ADC Level Data}SSetADC;typedef struct _SetInput //Input Port Set Data{bool isEnable[12]; //Input port Enable}SSetInput;typed

Strona 84 - D.3 Function

85RHIO_SockConnectDescription : Used when users want to connect to RHIO using TCP Socket connection.Function Prototype :extern "C" __declspe

Strona 85

86RHIO_CloseDescription : Used when users want to disconnect the current connection with the Rhio in bothserial and TCP connection. In order to reconn

Strona 86

87RHIO_SndCmd_GetOnOffDescription : Used to send the command to get ON/OFF status of all the portsFunction Prototype :extern "C" __declspec(

Strona 87

88RHIO_SndCmd_SetMACRODescription : Used to send the command to set/clear the MACRO of an input portFunction Prototype :extern "C" __declspe

Strona 88

89RHIO_SndCmd_GetMACRODescription : Used to send the command to check whether it is possible to get the MACRO ofan input portFunction Prototype :exter

Strona 89

9Physical properties137 x 111 x 58 (mm), 5.4 x 4.4 x 2.3 (in.)Weight: 730gCertificationFCC (A), CE, MICWarranty5-year limited warranty

Strona 90

90Parameter when reaction event is received :WPARAM : Command transfer status flag (ESF_SET_DELAY_PULSE)LPARAM : Control status flag of the command (F

Strona 91

91RHIO_SndCmd_SetADCDescription : Used to send the command to set the Level of all the ADC ports from 1 to 4.Function Prototype :extern "C"

Strona 92

92(0x30:Normal operation, 0x39:Abnormal operation, 0x31:Not the Set Mode)※ When reaction event is received, get data using RHIO_GetSettingData functio

Strona 93

93RHIO_SndCmd_GetPortEnableDescription : Used to send the command to check whether it is possible to get theEnable/Disable Port data of all the portsF

Strona 94

94RHIO_SndCmd_GetPwrStopEnableDescription : Used to send the command to check whether it is possible to get theEnable/Disable Power Failure Recovery o

Strona 95

95CString strSerial : Serial number string limited to 12 bytesReturn : TRUE if successful, False if failed.Parameter when reaction event is received :

Strona 96

96RHIO_GetSettingDataDescription : Used to send the command to get the setting data corresponding to thecommand transfer status flagFunction Prototype

Strona 97 - Appendix E. Warranty

97Appendix E. WarrantyE.1 GENERAL WARRANTY POLICYSena Technologies, Inc. (hereinafter referred to as SENA) warrants that the Product shallconform to a

Strona 98

98THE PRICE PAID FOR THE PRODUCT.E.3 HARDWARE PRODUCT WARRANTY DETAILSWARRANTY PERIOD: SENA warranties embedded hardware Product for a period of one (

Strona 99

99E.4 SOFTWARE PRODUCT WARRANTY DETAILSWARRANTY PERIOD: SENA warranties software Product for a period of one (1) year.WARRANTY COVERAGE: SENA warranty

Komentarze do niniejszej Instrukcji

Brak uwag