Hello,
I have some question about Raw/Eng scaling for variables.
First of all, I'm using OPC protocol and all the variables are already scaled in the RTU. I want to use the automatic scaling for process analyst, bargraph, etc. So I need to indicate the Eng scaling for all my variables.
First thing I notice is if for example I read a value from a variable who is between 0 and 100 and I configure a raw scale from 0 to 120 then the value will not be good and that's make sense. If I configure the raw value from 0 to 80, then I will have a good reading even if the scaling is not accurate...
Second, If I configure only the eng scaling but I let the raw scaling empty then the value will not be scale properly as it seems to using a default scaling of 0 to 32000 or something like that.
Third and this is my biggest problem, we use OFSOPC protocol for local variable to use as memory. For some value that we received from the RTU we copy them in a local variable to keep a memory of the value in case that the RTU have some trouble. If I have an OPC variable with a raw scale from 0 to 100 and I actually read -2.0 and I try wo write with a cicode this value to my memory OFSOPC variable (wich have no raw/eng scale configure) then it didn't write.
I tought that using the parameters [Code]ScaleCheck to value 0 will resolved this but it does not.
Can you help me with this please ?