ITOI – Transformation of integer and binary numbers
Block SymbolLicensing group: STANDARD
Function Description
The ITOI block transforms the input number k, or the binary number
(U3 U2 U1 U0),
from the set
to the output number nk and its binary representation
(Y3 Y2 Y1 Y0)
from the same set. The transformation is described by the following table
k | 0 | 1 | 2 | 15 | |||
nk | n0 | n1 | n2 | n15 | |||
where n0, …, n15 are given by the mapping table target vector fktab. If , then the integer input k is active, while for the input is defined by the binary inputs (U3 U2 U1 U0).
This block propagates the signal quality. More information can be found in the 1.4 section.
Input
k | Integer input of the block | Long (I32) |
U0 | Binary input digit, weight of 1 | Bool |
U1 | Binary input digit, weight of 2 | Bool |
U2 | Binary input digit, weight of 4 | Bool |
U3 | Binary input digit, weight of 8 | Bool |
Parameter
BINF | Enable the binary selectors on | Bool |
|
|
|
fktab | Mapping table [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15] | Byte (U8) |
Output
nk | Integer output of the block | Long (I32) |
Y0 | Binary output digit, weight of 1 | Bool |
Y1 | Binary output digit, weight of 2 | Bool |
Y2 | Binary output digit, weight of 4 | Bool |
Y3 | Binary output digit, weight of 8 | Bool |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com