Good day, I’m working on a project that records the energy usage of three buildings and I’m using the internal DataLogger service to store the data. I’ve found that the highest value that the sampling interval can be set to is 65535 ms (just over one minute). Is there a way to make the sampling interval longer than this in PLCnext engineer? I’d like to set the sampling interval to 5 minutes just to slightly reduce the amount of data being captured and to lighten the load on the PLC Thanks, Damian
Hello Damian,
it’s possible to set the needed Sampling interval, but PLCnEng don’t supports this settings in the Settings table. Until this behaoir is not fixed, you can edit this setting manually on the plcnext target (e.g by using of WinSCP).
Please note, by re-downloading of PLCnEng project the pcwe.test.dl.config file will be overriden with the settings in PLCnEng.
So a sampling intervall can be configured from 0 to 4294967295 nanoseconds. Optional the value can be specified with an additional unit, e.g. „100s“. The following units are supported: „ns“ = Nanoseconds
„us“ = Microseconds
„ms“ = Milliseconds
„s“ = Seconds
„m“ = Minutes
„h“ = HoursThis are the tested min and max values for each unit:
Unit | Min Value | Max Value
—|—|—
Without
(ns is default) | 0 | 9223372036854775807
ns | 0 | 9223372036854775807
us | 0 | 9223372036854775807
ms | 0 | 9223372036854775
s | 0 | 9223372036854
m | 0 | 153722867280
h | 0 | 2562047788Best Regards
Eduard
Thank you Eduard