REAL_TO_DINT
Rounds to the nearest integer and converts the result into the target data type. If the result does not fit into the target data type an integer overflow occurs.
Input
Name | Type | Description |
|---|---|---|
IN | REAL | Value to be converted |
Output
Name | Type | Description |
|---|---|---|
OUT | DINT | Converted value |