Sena Rhio232 Instrukcja Użytkownika

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

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

Podsumowanie treści

Strona 1 - Serial I/O Manager

1Rhio232Serial I/O ManagerUser ManualVersion 1.0.52011-12-26

Strona 2

10Figure 2-1. The panel layout of the Rhio232Table 2-2. Terminal Block Assignment of the Rhio232AI1 AI2 AI3 AI4 DI1 DI2 DI3 DI4 DI5 DI6 DI7 DI8 DI9 DI

Strona 3 - Revision History

112.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 Rhio232 on

Strona 4 - Table of Contents

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

Strona 5

132.2.3 Connecting to the serial deviceConnect the one end of the CAT5 cable to RS232 port of the Rhio232 and the other to host ordevice server. If co

Strona 6 - 1. Introduction

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

Strona 7 - 1.3 Product Specification

15Figure 2.8 Quick connect dialog box2.4 Restoring Factory DefaultUsers may restore the Rhio232 parameters into factory default value by pressing fact

Strona 8

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

Strona 9 - 2. Getting Started

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

Strona 10

18- When the operation condition is specified, the port is set to ON if it is met, and it is setto OFF and displayed as a standby state if not.- After

Strona 11 - 2.2 Connecting the Hardware

193.3 Digital Output Port SettingThe Rhio232 has 10 digital output ports. You can set each of these digital output ports with RhioManager or by issuin

Strona 12 - 2.2.2 Connecting the Power

2Guide for the Rhio232Version 1.0.5Printed in KoreaCopyrightCopyright 2005~2012, Sena Technologies, Inc. All rights reserved.Sena Technologies reserve

Strona 13 - 2.3 Rhio Manager Installation

203.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 14

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

Strona 15 - 2.4 Restoring Factory Default

22Figure 3-5 Setting ADC Input Port3.4.1 Setting ReferenceSpecify a reference voltage for analog input data. Rhio represents voltage from 0 V to arefe

Strona 16 - 3.1.1 LED

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

Strona 17 - 3.1.3 Monitoring I/O port

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

Strona 18 - 3.2 Digital Input Setting

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

Strona 19 - 3.3.1 Setting Enable/Disable

264. Software Development & ApplicationYou can use the Rhio library to develop application software that is used to communicate withthe Rhio232.Th

Strona 20 - 3.3.2 Setting run condition

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

Strona 21 - 3.4 ADC Input Port Setting

28RHIO_SndCmd_GetPortEnableSend a command that checks enable/disablestate of all ports.RHIO_SndCmd_SetPwrStopEnableSend a command that enables/disable

Strona 22 - 3.4.2 Setting ADC Input Port

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

Strona 23 - 3.5 I/O Port Connection

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 - 3.5.3 ADC Input Port

301Figure 4-2 Setting Window of a Sample ProgramNo. Class Related Files1CSettingDlg SettingDlg.h SettingDlg.cpp4.2.2 Processing4.2.2.1 Initializing Ma

Strona 25

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

Strona 26 - 4.1 The Rhio Library

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

Strona 27

334.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 28

34- LRC (BCC)It checks the Error of the command block.The value by 1 byte XOR from LENGTH field to DATA field- END FLAGCR+LF ( 0x0D+0x0A )-. The data

Strona 29

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

Strona 30 - 4.2.2 Processing

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

Strona 31

378-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 32

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

Strona 33 - 4.3.1 Overview

39- When a run command is received, it returns a state response once and continues withthe operation paused.4.3.4.2 Response for Set/Run command- Same

Strona 34

4Table of Contents1. Introduction ...

Strona 35 - 4.3.2 ON/OFF Control

40- A conditional operator + Input/Output port state (NOT)- AND => &, OR => |, NOT => !- A conditional expression only takes the form of

Strona 36

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

Strona 37

424.3.5.4 Response for Check Output Port Setting command- Same as "4.3.5.2 Response for Set Output Port command".4.3.6 ADC Input Port Settin

Strona 38 - 4.3.4 Set/Run

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

Strona 39 - 4.3.5 Output Port Setting

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

Strona 40

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

Strona 41

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

Strona 42 - 4.3.6 ADC Input Port Setting

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

Strona 43 - 4.3.7 Port Enable Setting

485. How to use the Rhio232 with Device ServersThe Rhio232 is a serial I/O manager that enables device servers to monitor and control I/Odevices. It i

Strona 44

49Table 5-1. Connections with the Sena device servers and the Rhio232Sena device servers Connection Rhio232DB9:eg.LS100, LS100W,PS100/200/400/110/410/

Strona 45

54. Software Development & Application ...264.1 The Rhio Library...

Strona 46

50Rhio232 and SS800Serial/IP COM Port Redirector softwareRhio Manager softwareTwo CAT5 straight cable (One for the network connection of the SS800 and

Strona 47

51Step 1. Connect the Rhio232 to the port #1 of the SS800 using CAT5 cable.Step 2. Serial/IP Configuration Double click the Serial/IP Tray applicatio

Strona 48 - 5.1 Connections

52 Click the [Configuration Wizard] button on the Serial/IP Control Panel. Complete COM port setting by clicking [Start] button on the Configuration

Strona 49 - 5.2 Application

53The configuration makes the system work as follows.- The data stream from users’ application is transferred to the virtual port COM10.- The data str

Strona 50

54 Click the [I/O CONTROL] button and then it will open Rhio Manager I/O management panel.Users can remotely control and monitor the I/O devices conn

Strona 51

55Appendix A. ConnectionA.1 Serial Port Pin OutsThe pin assignment of the RHIO232 RJ45 connector is summarized in Table A-1. Each pin hasa function ac

Strona 52

56A.2 Serial Port Wiring DiagramFigure A-5. RS232 serial port wiring diagram

Strona 53

57Appendix B TroubleshootingB.1 Power/LED Status TroubleshootingProblem Cause ActionPower LED does notlight upPower cable is notconnectedCheck power c

Strona 54

58Appendix C. Rhio LinraryC.1 Enumeration TypeEOnOffFlagFlag for ON, OFF, Operation conditionenum EOnOffFlag{EOF_ON, //ON statusEOF_ON_ADC_LEVEL, //AD

Strona 55 - Appendix A. Connection

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

Strona 56

61. Introduction1.1 OverviewThe Rhio232 is a Serial I/O Manager that enables Sena Device Servers to control and monitorI/O devices. It is designed to

Strona 57 - Appendix B Troubleshooting

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

Strona 58 - Appendix C. Rhio Linrary

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

Strona 59

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

Strona 60 - C.2 Structure

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

Strona 61 - C.3 Function

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

Strona 62

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

Strona 63

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

Strona 64

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

Strona 65

68RHIO_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 66

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

Strona 67

71.3 Product SpecificationSerial InterfaceSupports RS232 serial port, RJ45 connectorBaud rate: 9,600/Flow control: None/Data: 8 bit/Stop: 1 bitDigital

Strona 68

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

Strona 69

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

Strona 70

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

Strona 71

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

Strona 72

74Appendix D. WarrantyD.1 GENERAL WARRANTY POLICYSena Technologies, Inc. (hereinafter referred to as SENA) warrants that the Product shallconform to a

Strona 73

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

Strona 74 - Appendix D. Warranty

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

Strona 75

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

Strona 76

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

Komentarze do niniejszej Instrukcji

Brak uwag