Hello all,
I'm new to the programming world and have encountered an issue in RS 500.
My situation goes like this. I have a tank stick bringing a level back to my AB 1400 as a Unsigned INT via Modbus. Recently my raw count and EU number became a negative number and after inspection of the stick I realized that the issue is that my data type in the controller is signed. I have looked the program over and can't find a spot to designate the point as UINT or INT. A more senior programmer I contacted said he believes 500 doesn't do Unsigned. Just wanted to check and see if this is correct and if so there's a way around it.
The sequence to receive the data is as follows.
Read in data on MSG block and point it to an N7 table.
SCP block to scale the data and convert to a Float.
Thanks in advance guys.
I'm new to the programming world and have encountered an issue in RS 500.
My situation goes like this. I have a tank stick bringing a level back to my AB 1400 as a Unsigned INT via Modbus. Recently my raw count and EU number became a negative number and after inspection of the stick I realized that the issue is that my data type in the controller is signed. I have looked the program over and can't find a spot to designate the point as UINT or INT. A more senior programmer I contacted said he believes 500 doesn't do Unsigned. Just wanted to check and see if this is correct and if so there's a way around it.
The sequence to receive the data is as follows.
Read in data on MSG block and point it to an N7 table.
SCP block to scale the data and convert to a Float.
Thanks in advance guys.