I'm using S7.net to communicate with S7-1500 PLC. One of the value set in the plc is -90, when I read this value using code below, it show 65570 in winforms instead of -90.
var data = (ushort)plc.Read("DB10.DBW100");
The type set in plc program is "ShortToSignedWord".
How I can get the -90 and show in winforms?