Problem rounding in OPC DA Collector
I'm having issues using the "Round" function in "Data Transform" in OPC DA Canary Logger Administrator (Canary version 22). I have tried things like Round(x,2) and the tag shows "red" and isn't logged. Am I using the wrong format?
As to why I'm trying to do this (in case there is a better way to handle this) I have a floating point data item coming from Kepware OPC server for a modbus PLC where it looks like there might be noise being logged. For example, when the machine is stopped, I have values like in the attached. I'm assuming that I can fix this by rounding.
2 replies
-
Hi James Wise ,
The OPC DA logger does not have a Round function available, but if you would like to cut down on the noise, the better approach would be to use the "Dead Band" option instead. This is the column next to the "Data Transform" within the table of the logger. It is an absolute value dead band, so the value would have to change by the amount specified in order for us to log it.