TO_BYTE
Function name
TO_BYTE
ST call
PROGRAM TO_BYTE_DEMO VAR B1: BYTE; INT1: INT; END_VAR B1:=TO_BYTE(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 |
⇒ | BYTE | Output value |