I have a tag for a UInt16 (2 byte unsigned integer) in a Siemens PLC that I am trying to cross over to a SQL table correctly. I tried using all the integer types on the properties of the tag, and none of them change the value from being negative when greater than 32767. Does anyone know a fix for this?
I also tried to create an expression tag with this expression, but I have something wrong, and it gives me a Config error:
if({[~]ST102/Recipe Save/Last Edited By} >= 0,{[~]ST102/Recipe Save/Last Edited By},65536-{[~]ST102/Recipe Save/Last Edited By})