6 adc input port setting – SENA Rhio232 User Manual

Page 42

Advertising
background image

42

4.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 Setting

4.3.6.1 Set ADC Input Port Command

Command

Data

Remark

Byte Size

2

16

“08”

( 0x30, 0x38 )

Set ADC.

Set the threshold

level value for an

input ADC port.

( “0000”-”1023”) X 4

Set it to a 10-bit ADC

level value.

-

A threshold value is set for all ADC inputs in Switch Input mode.

-

When an input change is measured, only changes beyond the range of +8 - -8 are

recognized as an input change (based on the threshold level). It is determined as ON

when an input voltage is more than the threshold level by 8 or more and OFF when an

input voltage is less than the threshold level by 8 or more.

(When the threshold level is above 1015, a change between 1015-1023 is determined

as ON. When it is set to less than 8, a change between 8-0 is determined as OFF.)

ADC Input No.

1

2

3

4

Settings

“0000”-”1023”

“0000”-”1023”

“0000”-”1023”

“0000”-”1023”

4.3.6.2 Response for Set ADC Input Port command

Response

Data

Remark

Byte Size

2

17

“09”

( 0x30, 0x39 )

Return the

ADC setting.

Setting

FLAG

( “0000”-”1023”) X 4

The threshold level

for input ADC port

Advertising