Binarysum

Binarysum is a handy way to define several settings in one variable. The value of this variable is a sum of settings / binary values (1,2,4,8,16,…). Each binary value represents one settings, which can be ON or OFF.

E.g. To show some code fields (T1-T6) in screen, you could select a binary sum by adding together following values:

T1 1

T2 2

T3 4

T4 8

T5 16

T6 32

To select only point number (T4), the value is 8.

To select code (T3) and point number (T4), the value is 12 (=4+8).