Skip to main content
1-Visitor
February 25, 2022
Solved

Kepware Data refresh slowly.

  • February 25, 2022
  • 1 reply
  • 5165 views

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?

Best answer by PaiChung

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.

1 reply

PaiChung22-Sapphire IAnswer
22-Sapphire I
February 25, 2022

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.

1-Visitor
February 28, 2022

PaiChung, Thanks for your answer.

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

22-Sapphire I
February 28, 2022

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.