BCD_TO_ULINT
PROGRAM BCD_TO_ULINT_DEMO VAR W: WORD; U: ULINT; END_VAR U:= BCD_TO_ULINT(IN1:=W); END_PROGRAM
Function converts a bit array (ANY_BIT) to an integer type. For example, a binary value of 2#0011_0110_1001 is converted to 369 decimal.
Input | Type | Description |
IN1 | ANY_BIT | Input value |
Output | Type | Description |
⇒ | ULINT | Output value |