(0)| 7/16/2019 12:05 PM | |
|
Joined: 11/26/2015 Last visit: 2/19/2025 Posts: 92 Rating:
|
Dear Jacek, Thank you for the reply. So does it mean that in Siemens PLC Dint can only be signed double integer? |
| 7/17/2019 10:27 AM | |
|
Posts: 111 Rating:
|
The number 4,294,967,295.3 cannot be accurately represented by a 32-bit REAL. It can be presented by a 64-bit REAL. The standard instruction set for the older Siemens PLCs only make it possible to convert from REAL to DINT. Even if converting to unsigned 32-bit number was possible, this will still not be good enough as the REAL number is already a problem. Using Double Float (64-Bit Real) in S7-300/400 - Library with functions What is the origin of the mentioned number of [sic] 4,294,967,295.3 ? |
This contribution was helpful to
|
|
Follow us on