There are two things to consider when looking at the incoming data and how these are used can depend on the driver you are using.
Typically, the first thing to ensure is that the value you are receiving is interrupted the same as the value the PLC is transmitting. If not, you'll want to check to see if you need to add a data suffix to your address. This is very common on modern Modbus PLC's as they often hold calibrated floating point numbers in two registers.
You can learn more about address suffixes here: https://www.vtscada.com/help/Content/D_Tags/Dev_DataSuffixesForTagIO.htm
The other consideration, for unscaled values, is the tag scaling. Here, you'll want to enter the values for two points the same as if you were calculating the slope in a linear equation. IE: 0 to 4095 bits may represent a calibrated range of 0 to 435 lbf on a load cell.
Does that make sense?
There are two things to consider when looking at the incoming data and how these are used can depend on the driver you are using.
Typically, the first thing to ensure is that the value you are receiving is interrupted the same as the value the PLC is transmitting. If not, you'll want to check to see if you need to add a data suffix to your address. This is very common on modern Modbus PLC's as they often hold calibrated floating point numbers in two registers.
You can learn more about address suffixes here: https://www.vtscada.com/help/Content/D_Tags/Dev_DataSuffixesForTagIO.htm
The other consideration, for unscaled values, is the tag scaling. Here, you'll want to enter the values for two points the same as if you were calculating the slope in a linear equation. IE: 0 to 4095 bits may represent a calibrated range of 0 to 435 lbf on a load cell.
Does that make sense?
Trihedral Engineering Ltd.