Hello. New to this software and trying to get an analog input to read correctly. Maybe this has a simple solution and I'm just missing it.
Basically, I'm reading the analog input register of a MODBUS device which uses a 16-bit unsigned register for its 4-20 mA input. You get a value of 0-65535 with this.
If I read this register with VTScada, it works fine until the 16th bit changes from a 0 to a 1. It then starts interpreting the data as having a negative value.
So how do I get VTScada to understand that it is an unsigned value vs. a signed value? Thanks.
Hello. New to this software and trying to get an analog input to read correctly. Maybe this has a simple solution and I'm just missing it.
Basically, I'm reading the analog input register of a MODBUS device which uses a 16-bit unsigned register for its 4-20 mA input. You get a value of 0-65535 with this.
If I read this register with VTScada, it works fine until the 16th bit changes from a 0 to a 1. It then starts interpreting the data as having a negative value.
So how do I get VTScada to understand that it is an unsigned value vs. a signed value? Thanks.