ClearSCADA

The conversion between 2's complement and standard decimal numbers can be performed through the built in ClearSCADA scaling arrangements. Configure your points as follows:

Set Raw Zero Scale to -32768
Set Raw Full Scale to -32768 + (full scale of your number in decimal)
Set Zero Scale limit to 0
Set Full Scale limit to (full scale of your number in decimal)

e.g. 0-to-168 in 2's complement format:

Set Raw Zero to -32768
Set Raw Full to (-32768 + 168) = -32600
Set Zero Scale to 0
Set Full Scale to 168