ICPAGING Application User Manual - Barix
ICPAGING Application User Manual - Barix
ICPAGING Application User Manual - Barix
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
yte numbers first, as shown on the picture below:Byte0 Byte 127Client Ids 1-8 (bits 7-0) Client Ids 1017-1024 (bits 7-0)Bits 7 6 5 4 3 2 1 0 ........ 7 6 5 4 3 2 1 0Client ID 1 2 3 4 5 6 7 8 ........ 1017 1018 1019 1020 1021 1022 1023 1024Enable/Disable 1 0 1 0 1 0 1 0 ........ 0 0 0 0 0 0 0 0Hex A A 0 0Illustration 16: Address bitmap encodingTo find out in which byte is the client ID we would like to select, we use the integer divisionoperation:IDbyte=Client ID−1/8Let's see what it means in terms of our example. Let's find in which byte is our client ID 21:Idbyte=(21-1)/8=2The result is the biggest number, which multiplied by 8 does not exceed (ID-1). The other resultfrom this operation is called reminder, and is in fact the number that completes to ID-1:ID-1 = result*8 + reminderNow, to find which bit within this byte, we take the reminder (which for ID-21 is 4) from the integerdivision, and subtract it from 7. In other words:IDbit =7 – 4 = 3which means that we have to set bit3 from byte2:Byte0 Byte1 Byte2Client Ids 1-8 Client Ids 9-16 Client Ids 17-24Bits 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0Enable/Disable 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0Hex 0 0 0 0 8 8Repeating these calculations for client ID=17, we find that bit7 of byte2 has to be set. Looking atthe 6.5 BIN / DEC / HEX conversion table, we see that 1000 is 0x8 in HEX format, which explainsthe 0x88 value we see for group 1 in the Group buttons address bitmap summary.6.5 BIN / DEC / HEX conversionHexadecimal digits have values from 0..15, represented as 0..9 and as A (for 10) to F (for 15).The following table can serve as a conversion chart:Bin /DEC / Hex TableDecimal Binary Hexadecimal0 0000 01 0001 12 0010 23 0011 34 0100 45 0101 56 0110 640 Additional information