TO_USINT
PROGRAM TO_USINT_DEMO VAR US1: USINT; R1: REAL; END_VAR US1:=TO_USINT(R1); END_PROGRAM
The function brings the whole number of the input value to the output.
Input | Type | Description |
IN | ANY_ELEMENTARY | Input value |
Output | Type | Description |
⇒ | USINT | Output value |