This follows the general formulae: The sum of the values of all OUTx = 2
x-1
where
1≤x≤16 will be equal to the integer value on the input INP.
The Integer to Boolean 16 conversion function (IB16A) will transfer an integer with
a value between 0 to 65535 connected to the input INP to a combination of activated
outputs OUTx where 1≤x≤16. The sum of the values of all OUTx will then be equal
to the integer on input INP. The values of the different OUTx are according to the table
below. When an OUTx is not activated, its value is 0.
When all OUTx where 1≤x≤16 are activated that is = Boolean 1 it corresponds to that
integer 65535 is connected to input INP. The IB16A function is designed for receiving
the integer input locally. If the BLOCK input is activated, it will freeze the logical
outputs at the last value.
Values of each of the different OUTx from function block IB16A 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 IB16A.
Name of OUTx Type Description Value when
activated
Value when
deactivated
OUT1 BOOLEAN Output 1 1 0
OUT2 BOOLEAN Output 2 2 0
OUT3 BOOLEAN Output 3 4 0
OUT4 BOOLEAN Output 4 8 0
OUT5 BOOLEAN Output 5 16 0
OUT6 BOOLEAN Output 6 32 0
OUT7 BOOLEAN Output 7 64 0
OUT8 BOOLEAN Output 8 128 0
OUT9 BOOLEAN Output 9 256 0
OUT10 BOOLEAN Output 10 512 0
OUT11 BOOLEAN Output 11 1024 0
OUT12 BOOLEAN Output 12 2048 0
OUT13 BOOLEAN Output 13 4096 0
OUT14 BOOLEAN Output 14 8192 0
OUT15 BOOLEAN Output 15 16384 0
OUT16 BOOLEAN Output 16 32768 0
The sum of the numbers in column “Value when activated” when all OUTx (where x
= 1 to 16) are active that is=1; is 65535. 65535 is the highest integer that can be
converted by the IB16A function block.
Section 13 1MRK 502 048-UEN A
Logic
462
Technical manual