EasyManua.ls Logo

CEL-MAR ADA-401WP - FUNCTION 0 X03; 0 X04 - READOUT of RELATIVE HUMIDITY from MEASURING CHANNEL [4 X; 3 X-REFERENCES]; FUNCTION 0 X03; 0 X04 - READOUT of ATMOSPHERIC PRESSURE from MEASURING CHANNEL [4 X; 3 X-REFERENCES]; FUNCTION 0 X03; 0 X04 - READOUT of LIGHTING from MEASURING CHANNEL [4 X; 3 X-REFERENCES]

Default Icon
28 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Byte no Designation Size Value [hex]
04 Registry number Hi 1 byte
00
05 Registry number Lo 1 byte
02
06 CRC-Lo 1 byte
---
07 CRC-Hi 1 byte
---
Example. Temperature readout form two channels (address 40001 to 40002 / address 30001 to 30002)
01-03-00-00-00-02-CRCLo-CRCHi
01-04-00-00-00-02-CRCLo-CRCHi
Response
Byte no Designation Size Value [hex]
00 Module address 1-byte
01 [ 01 to F7]
01 Function code 1-byte
03 / 04
02 Number of data bytes N-byte
04 [depend on inquiry(4)]
03 Data1-Hi 1-byte
09
04 Data1-Lo 1-byte
60
05 Data2-Hi 1-byte
09
06 Data2-Lo 1-byte
92
07 CRC-Lo 1-byte
---
08 CRC-Hi 1-byte
---
Example. Temperature readout from (address 40001 to 40002 / address 30001 to 30002)
01-03-04-09-60-09-92-CRCLo-CRCHi
01-04-04-09-60-09-92-CRCLo-CRCHi
In respond channels temperature from 0 to 1 is presented as 4-byte with values:
- channel_0 = 0x0960 => 2400/100 => 24,00°C
- channel_1 = 0x0992 => 2450/100 => 24,50°C
Response - in case of error
Byte no Designation Size Value [hex]
00 Module address 1-byte
01 [ 01 do F7]
01 Function code 1-byte
83 / 84
02 Error code 1-byte
01 - unknown function
02 - unknown data address
03 - unknown data value
04 - unknown error during inquiry converting
03 CRC - Lo 1-byte
04 CRC - Hi 1-byte
7.3.1.2. FUNCTION 0x03 / 0x04 – READOUT OF RELATIVE HUMIDITY FROM MEASURING
CHANNEL [4X / 3X-REFERENCES]
Function 0x03 / 0x04 are used for readout of the value from measuring channel (sensor).
The value from measuring channel (sensor) is presented by a 16-bit register.
The registers with measuring value of relative humidity are in the format of 16-bit signed integer (C/C++ type short int).
The actual value of relative humidity in percent (0 100 [%RH]) is obtained from readout register according to algorithm from
paragraph 7.3.1.1 by use appropriate factor value DW=10 (table p.7.3.1.1).
7.3.1.3. FUNCTION 0x03 / 0x04 READOUT OF ATMOSPHERIC PRESSURE FROM
MEASURING CHANNEL [4X / 3X-REFERENCES]
Function 0x03 / 0x04 are used for readout of the value from measuring channel (sensor).
The value from measuring channel (sensor) is presented by a 16-bit register.
The registers with measuring value of atmospheric pressure are in the format of 16-bit signed integer (C/C++ type short int).
The actual value of atmospheric pressure in hPa (150 1150 [hPa]) is obtained from readout register according to algorithm from
paragraph 7.3.1.1 by use appropriate factor value DW=10 (table p.7.3.1.1).
7.3.1.4. FUNCTION 0x03 / 0x04 READOUT OF LIGHTING FROM MEASURING CHANNEL
[4X / 3X-REFERENCES]
23
ADA-401WP

Table of Contents