TO_DINT
PROGRAM TO_DINT_DEMO VAR D1: DINT; INT1: INT; END_VAR D1:=TO_DINT(INT1); 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 |
⇒ | DINT | Output value |