The sum of the numbers in column “Value when activated” when all INx (where 1≤x≤16) are
active that is=1; is 65535. 65535 is the highest boolean value that can be converted to an
integer by the B16I function block.
13.8 Boolean to integer conversion with logical node
representation, 16 bit BTIGAPC
SEMOD175753-1 v4
13.8.1 Identification
SEMOD175757-2 v5
Function description IEC 61850
identification
IEC 60617
identification
ANSI/IEEE C37.2
device number
Boolean to integer conversion with
logical node representation, 16 bit
BTIGAPC - -
13.8.2 Application
SEMOD175849-4 v6
Boolean to integer conversion with logical node representation, 16 bit (BTIGAPC) is used to
transform a set of 16 binary (logical) signals into an integer. BTIGAPC has a logical node
mapping in IEC 61850.
The BTIGAPC function will transfer a combination of up to 16 binary inputs INx where 1≤x≤16 to
an integer. Each INx represents a value according to the table below from 0 to 32768. This
follows the general formula: INx = 2
x-1
where 1≤x≤16. The sum of all the values on the activated
INx will be available on the output OUT as a sum of the values of all the inputs INx that are
activated. OUT is an integer. When all INx where 1≤x≤16 are activated that is = Boolean 1 it
corresponds to that integer 65535 is available on the output OUT. BTIGAPC function is
designed for receiving up to 16 booleans input locally. If the BLOCK input is activated, it will
freeze the output at the last value.
Values of each of the different OUTx from function block BTIGAPC for 1≤x≤16.
The sum of the value on each INx corresponds to the integer presented on the output OUT on
the function block BTIGAPC.
Name of input Type Default Description Value when
activated
Value when
deactivated
IN1 BOOLEAN 0 Input 1 1 0
IN2 BOOLEAN 0 Input 2 2 0
IN3 BOOLEAN 0 Input 3 4 0
IN4 BOOLEAN 0 Input 4 8 0
IN5 BOOLEAN 0 Input 5 16 0
IN6 BOOLEAN 0 Input 6 32 0
IN7 BOOLEAN 0 Input 7 64 0
IN8 BOOLEAN 0 Input 8 128 0
IN9 BOOLEAN 0 Input 9 256 0
IN10 BOOLEAN 0 Input 10 512 0
IN11 BOOLEAN 0 Input 11 1024 0
IN12 BOOLEAN 0 Input 12 2048 0
Table continues on next page
1MRK 505 370-UEN D Section 13
Logic
Busbar protection REB670 343
Application manual