TO_UDINT
PROGRAM TO_UDINT_DEMO VAR UD1: UDINT; R1: REAL; END_VAR UD1:=TO_UDINT(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 |
⇒ | UDINT | Output value |