Function Block REG2BIN

The Function Block REG2BIN generates an Integer based on the individual bits.

Note: This Function Block can have more than one input. You can right-click on the Function Block to add another input.

Inputs X0..X63

The inputs define the individual bits from x0 to x63. The output follows the LSB-0 rules (from English for least significant bit). If the input x0 is true, then the output INT equals 1.

Output INT

The output returns the calculated number as an Integer.

See Also