14.5 Boolean 16 to Integer conversion B16I
Function description IEC 61850
identification
IEC 60617
identification
ANSI/IEEE C37.2
device number
Boolean 16 to integer conversion B16I - -
14.5.1 Introduction
Boolean 16 to integer conversion function (B16I) is used to transform a set of 16
binary (logical) signals into an integer.
14.5.2 Operation principle
The Boolean 16 to integer conversion function (B16I) 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. B16I 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 B16I 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 B16I
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
Table continues on next page
1MRK505222-UUS C Section 14
Logic
883
Technical reference manual