Skip to main content
17-Peridot
May 14, 2025
Solved

How to ensure PLC or Machine is connected or disconnected with Kepware?

  • May 14, 2025
  • 1 reply
  • 679 views

We are getting lots of tag from PLC devices (40+) to Kepware. Sometimes, due to some reason the connectivity is lost  between PLC and Kepware. So that we facing data loss issue.

  1. Is there any mechanism within a Kepware to address this connectivity loss?
  2. How to identify this connectivity loss from ThingWorx for all PLC devices?
Best answer by pshashipreetham

Hi @Sathishkumar_C ,

 

If the machine is not connected, the quality of all tags goes bad, or the Kepware logs will be filled with disconnected messages. Nevertheless, we can retrieve the quality of the Tags in Thingworx, where we can determine if the Machine is connected to Thingworx or not. If the machine is not connected or the connection fails for some reason, all the tags go into the bad quality category. 

 

Thanks,

 

 

1 reply

18-Opal
May 21, 2025

Hi @Sathishkumar_C ,

 

If the machine is not connected, the quality of all tags goes bad, or the Kepware logs will be filled with disconnected messages. Nevertheless, we can retrieve the quality of the Tags in Thingworx, where we can determine if the Machine is connected to Thingworx or not. If the machine is not connected or the connection fails for some reason, all the tags go into the bad quality category. 

 

Thanks,

 

 

17-Peridot
June 12, 2025

Thanks for the information Shashi.

But the monitoring the tag quality will be resource intensive task.

We have 250+ tags, it will be really difficult to track all tag's quality from ThingWorx (property).

 

I found following article, and I'm validating the same.

Article - CS294815 - Device Level System Tag _Error expected behavior in PTC Kepware Products

 

Also it mentioned "ThingWorx Kepware Server does not have native functionality for determining device connectivity"