Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

signed integers in Lookout

I was displaying a signed integer from my PLC which was a negative value but Lookout would only display it as an unsigned integer ( -5 from PLC was shown as 65530 in Lookout). The negative value is due to a small offset in my analog input module. I then tried scaling the data member from raw -5 to 2000 and eng. units 0 - 400 and it didn't do what I expected. Am I missing something here? 
0 Kudos
Message 1 of 3
(3,018 Views)

Hi mjrx,

Are you sure you are accessing the right registers? If you are using the modbus object please take a look at the modbus datamembers helpfile in Lookout help to see what data types are represent by different range registers.

Regards,

Prashanth

0 Kudos
Message 2 of 3
(3,002 Views)
I'm using an integer value. It is displayed in the PLC as -32767 to +32767 (its a Mitsubishi register, D0). When I monitor it in the PLC it reads -5, in Lookout it reads 65530.
0 Kudos
Message 3 of 3
(2,999 Views)