Logic
16-Bit Binary Decoder
Description Input is a hexadecimal, unsigned 16-bit integer that is parsed into its 16 individual bits, with Bit 0 as the Least Significant Bit. The value of Input defines the appropriate Bit parameters are set HIGH (1). If the corresponding bit in the Input word is 1, the Bit will also be 1.

0x0 ≤ Input ≤ 0xFFFF

Hexadecimal numbers are the same as decimal numbers, they are only written in a different format. Hexadecimal numbers are base-16, rather than the base-10 used in the standard decimal format.

For example: 0xBDAC in hexadecimal is equal to 48556 in decimal.
Availability
  • Requires library: Process Control (option -05) or Basic Functions
  • Firmware versions 0x1034 and later
savvy-SFD Graphic 16bitBinDec
Graphic with Parameters 16bitBinDec

Parameters

Input Input, Read-write, Hexadecimal (unsigned 16-bit integer)
0x0 to 0xFFFF
Bit 0 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 1 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 2 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 3 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 4 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 5 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 6 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 7 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 8 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 9 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 10 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 11 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 12 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 13 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 14 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High
Bit 15 Output, Read-only, Boolean (signed 16-bit integer)
0 = Low
1 = High