Hi Everyone,
In some of our modbus landing modules we are using DIV blocks to convert floating point values to 16-bit UINT. In other modules, we are using MLTY.
I noticed that they do not give the same results, see 16-bit UINT OUT parameters on screenshot below:
It seems that MLTY works better, but I need to explain to the customer why we should change from (x / 0.001) to (x * 1000). Any ideas?
As you see, the result is the same also with CALC blocks: division gives an incorrect result.
Istvan
In reply to AdrianOffield:
Or the machine is a really, really old Pentium processor machine that had this problem [;)]
Niklas Flykt
Klinkmann Oy
Key Account Manager safety products
nikfly@gmail.com
In reply to Niklas Flykt:
In reply to István Orbán: