When extracting data from a PLC, e.g., a Mitsubishi, it can happen that the extraction program assumes the value from the PLC is signed, when it is actually unsigned. This can result in a difference of 127 or 32768. If the difference is something else it can be caused by using different endianness.
To verify this, you should compare the given value from the PLC with the display on the HMI.
You need to either change the extraction program to use the correct method signed or unsigned. Convert between unsigned and signed - Online Tools
Alternatively, you can correct it by adding 127 or 32768