TO_WORD
Function name
TO_WORD
ST call
PROGRAM TO_WORD_DEMO VAR W1: WORD; INT1: INT; END_VAR W1:=TO_WORD(INT1); END_PROGRAM
Description
The function brings the bit value of the input value to the output.
Inputs
Input | Type | Description |
IN | ANY_ELEMENTARY | Input value |
Outputs
Output | Type | Description |
⇒ | WORD | Output value |