
The Function Block BIN2REG outputs the individual bits of several integer bytes.
Note: This function block can have more than one output. You can right-click on the function block to add another input.
The input expects a number as an integer or a string with a number. A floating-point number is converted into an integer. This means the value is rounded down.
Note: Also see the article String Conversion to Numbers if you are working with strings.
The individual bits from x0 to x63 are output as true or false at the outputs. The output follows the rules of LSB-0 (from the English for least significant bit). If the input INT is equal to 1, then x0 is true.