Page 1 of 1

DataID value conversion

Posted: Mon Jun 15, 2015 12:18 am
by Ierlandfan
According to the Opentherm specifications, some dataId' s are using High byte (HB), Low byte (LB) value.
For example I have a device that outputs dataId 0 in this value; value 0=02, Value1=00
(I assume it's in hex, could also be decimals, don't know)
(OT specifications: Flag8, Flag8, HB master info , LB slave info)

I think I get the part High byte, Low byte, which oversimplified means read from left to right (HB) and right to left (HB)
Just like we do in decimals. (20 is bigger dan 02) HB=2(0) LB=(2)0

I got stuck there. Can anybody enligthen me?

Re: DataID value conversion

Posted: Mon Jun 15, 2015 2:03 pm
by D_Hailsham
The Data part of any Opentherm message is always 2 bytes (16 bits) long. The first 8 bits (reading left to right) is the High Byte (HB), the second 8 bits is the Low Byte (LB). If the ID uses the "flag 8" format, it means each individual bit has a separate meaning and can be turned on and off individually.

Take ID 0 for example:

bit 0 of the HB tells you if CH is enabled (1) or disabled (0). While bit 0 of the LB tells you if the slave (boiler) has a fault (1) or no fault (0)

What do you mean by "value 0=02" and "value 1= 00"? Is "value 0" the HB and "value 1" the LB?

PS at these low values hex and decimal are the same!