User Manual keyboardCUE 99
www.cuesystem.com
Page 7 of 16
4.
Addressing
The BUTTON_ID transmitted by a keyboard and BARGRAPH_ID are numbers used in the
programming for button and bar graph identification. Both values depend on a button or bargraph
position and it depends on a keypad ADDRESS too. Both values are calculated according formulas
BUTTON_ID
= Button Code
BARGRAPH_ID
= Bar Graph Code
Offset
= 32 * ADDRESS
The lowest BUTTON_ID is generated by a button in the upper left corner the highest BUTTON_ID is
generated by a button in the lower right corner. The top bargraph has higher BARGRAPH_ID the
bottom bargraph has lower BARGRAPH_ID - see example for ADDRESS = 0.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Bargraph Code = 2
Bargraph Code = 1
Button Code = 1
In the table below there are BUTTON_ID range and BARGRAPH_ID range for all addresses.
ADDRESS
BUTTON_ID range
BARGRAPH_ID range
0 1 32 1 2
1 33 64 33 34
2 65 96 65 66
3 97 128 97 98
4 129 160 129 130
5 161 192 161 162
6 193 224 193 194
7 225 256 225 226
8 257 288 257 258
9 289 320 289 290