Hello pasimanninen;
At first glance, it would seem you are facing a big-endian, little endian problem. The name refers to byte ordering in different microprocessors. It mainly causes problems with the display and manipulation of floating-point values.
I know I face this problem when I know the orignial value is 3,20 (for example) and my HMI is showing -1,2783 e-37 (also an example).
Here is a posting on Wickipedia that can explain the endian problem better:
http://en.wikipedia.org/wiki/Big_endian
If this is the source of your problem, hat you have to do is swap the bytes of the value that Topserver sends (in the PLC) before InTouch tries to output the value.
You will have to try different combinations of swapping before you get an adequate value if this is the problem.
Say that the combination ABCD represents the 4 bytes of a 32-bit register, as sent by TopServer (the original value).
Your PLC might need to read:
BADC(byte-swapping),
CDAB (word-swaping), or
DCBA (Byte and word swapping)
to interpret the original bytes as a floating-point value. You will have to try them one at a time to find out which one applies to your situation.
Hope this helps,
Daniel Chartier