TO_DINT
Function name
TO_DINT
ST call
PROGRAM TO_DINT_DEMO VAR D1: DINT; INT1: INT; END_VAR D1:=TO_DINT(INT1); END_PROGRAM
Description
The function brings the whole number of the input value to the output.
Inputs
Input | Type | Description |
IN | ANY_ELEMENTARY | Input value |
Outputs
Output | Type | Description |
⇒ | DINT | Output value |