diff --git a/Thermo.Active.Core/ThreadsFunctions.cs b/Thermo.Active.Core/ThreadsFunctions.cs index 82be3e18..0f566e47 100644 --- a/Thermo.Active.Core/ThreadsFunctions.cs +++ b/Thermo.Active.Core/ThreadsFunctions.cs @@ -813,7 +813,7 @@ public static class ThreadsFunctions if (ncAdapter.numericalControl.NC_IsConnected()) { // every 10 reads all data... - useCache = (readCount == 0); + useCache = (readCount != 0); // Get new data from PLC libraryError = ncAdapter.ReadWarmers(useCache, out Dictionary currWarmers); if (libraryError.IsError())