Greystone Energy Systems, Inc. 150 English Drive, Moncton, NB E1E 4G7 Canada Tel: +1-506-853-3057 Tollfree (North America): +1-800-561-5611 Fax: +1-506-853-6014
Email: [email protected] Web: www.greystoneenergy.com
0x06 --- Write RH_OFFSET
Query
Slave address
(0x01 to 0xFF)
0x06
0x00
0x03
Register
Value MSB
Register
value LSB
CRC
LSB
CRC
MSB
Response
Slave address
(0x01 to 0xFF)
0x06
0x00
0x03
Register
Value MSB
Register
value LSB
CRC
LSB
CRC
MSB
* This register is used to add or subtract an offset to the RH value if necessary to conform to a local reference.
Register value = 0xFFF6 to 0x000A for -10 to 10, corresponding to RH_OFFSET = -10 to 10 %RH.
ie: 0x0003 => 3 = +3 %RH offset.
0x06 --- Write TEMPERATURE_UNITS
Query
Slave address
(0x01 to 0xFF)
0x06
0x00
0x04
0x00
Register
value LSB
CRC
LSB
CRC
MSB
Response
Slave address
(0x01 to 0xFF)
0x06
0x00
0x04
0x00
Register
value LSB
CRC
LSB
CRC
MSB
* Register value = 0x0000 = sets the device to °C operation
= 0x0001 = sets the device to °F operation
Exception response
Slave address
(0x01 to 0xFF)
Function
code + 0x80
Exception code *
0x01, 0x02 or 0x03
CRC
LSB
CRC
MSB
* An exception response is only returned if the CRC is correct
Exception code 01 --- illegal function
Exception code 02 --- illegal address
Exception code 03 --- illegal data value