Andres,
Have you tried using the datamembers S40001 through S49999? These return
values as signed integers rather than unsigned.
Dave P.
Lookout R&D
National Instruments
andresvista@my-deja.com wrote in message <7ro51r$b7n$1@nnrp1.deja.com>...
>Hi,
>I have a plc which stores words as I16 (integer
>16 bits) so range is -32768 to +32767. However,
>when read by Lookout using Modbus serial, words
>are displayed normal for the range 0 to 32767,
>but for the range -32768 to -1 Lookout displays
>32768 to 65535. It seems to me, that Lookout
>does the transform from I16 to U16 (unsigned 16
>bits).
>
>Do anyone have a solution?
>
>Andres Thorarinsson
>Vista Engineering, Iceland
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.