Skip to main content
Feb 25, 2022 3:27 AM UTC
Solved

Kepware Data refresh slowly.

Data refresh delay for about 5 - 25 minutes from PLC to Thingworx by Kepware.

We connected Thingworx to PLC by Kepware. But the data refreshing is very slowly. Thingworx update the dat is after datata changed in PLC about 5 - 25 minutes. 

How can we set the Kepware  to reduce the delay time to less than 3 seconds?

PaiChungAnswer
Feb 25, 2022 7:55 PM UTC

In Kepware you should be able to set a scanrate for reading the PLC properties.

Then after that I would have the push of the data set to 'on change'

This should ensure that whenever Kepware reads a property value change, it is transmitted to ThingWorx and you only get new values in ThingWorx vs. duplicates.

So if the PLC properties are changing every second or so, it should be the scanrate that allows you to pick that up.

4 replies

PaiChungAnswer
Feb 25, 2022 7:55 PM UTC

In Kepware you should be able to set a scanrate for reading the PLC properties.

Then after that I would have the push of the data set to 'on change'

This should ensure that whenever Kepware reads a property value change, it is transmitted to ThingWorx and you only get new values in ThingWorx vs. duplicates.

So if the PLC properties are changing every second or so, it should be the scanrate that allows you to pick that up.

Feb 28, 2022 12:28 AM UTC

PaiChung, Thanks for your answer.

How can I set the scanrate? Is it the Data Rates on the Property Editer?(reference to attached Picture)

Feb 28, 2022 3:02 PM UTC

I recommend you go through the Kepware intro classes on PTCU, they are quite short and will give you a comprehensive insight in all the parameters and configuration.