5 output port setting – SENA Rhio10 User Manual

Page 55

Advertising
background image

55

5.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 it does not respond until run

command is received.

-

The control state field of the state response, Rhio10 returns 0x31 in Setting mode and

0x30 in Run mode.

5.3.5 Output Port Setting

5.3.5.1 Set Output Port Command

Command

Data

Remark

Byte

Size

2

2

1

N

“05”

( 0x30,

0x35 )

Set output

port.

Port

No.

“01”

~

“10”

0x30: Clear run condition

0x31: Set run condition

0x32: Clear Delay or Pulse

0x33: Set Delay/Pulse

0x39: Clear all settings

Setting

Data

(Max.

106

bytes)

Set the attribute of

each output port.

(When cleared, the

setting data is 0x30

in 1 byte.)

-

A setting can be done only in Setting mode.

Users can set repeated run condition, pulse or delay. When a port is set for repeated

actions, run condition set up has a priority, which means it is executed first. A setting

can be cleared by mode, or the entire setting can be cleared as well. When cleared,

data setting becomes 0x30 in 1 byte.

1)

Set run condition.

It sets the run condition for the output port specified.

(It is run only when an output port is ON and will set the port as OFF when it is

configured as such.)

-

Input/Output port state + a conditional operator + Input/Output port state

(AND/OR)

-

A conditional operator + Input/Output port state (NOT)

-

AND => &, OR => |, NOT => !

Advertising