(0)| 12/7/2009 8:29 AM | |
|
Posts: 70 Rating:
|
Please I need to know how is the representation of 32 bit real numbers and how can it shown as bits assignment in accumulator ? |
| 12/7/2009 12:22 PM | |
|
Joined: 1/17/2007 Last visit: 1/21/2026 Posts: 1561 Rating:
|
The floating point (real) numbers used by the S7 system are in the industry standard IEEE754 format. You have a sign bit, and 8-bit exponent part and a 23-bit factional part. The following link might prove useful. Floating point number representation info If you want to try some convertions and find out what hex representations match particuler floating point numbers, the following site has some convertors (to go from real to hex or hex to real). Floating point convertors Hope this is of help to you. |
Last edited by: smiffy at: 12/7/2009 12:29 PMProgramming today is the race between software engineers building bigger and better idiot proof programs, and the universe producing bigger and better idiots. |
|
Follow us on