Skip to main content
4-Participant
August 28, 2023
Solved

Reset a single channel or refresh hostname ip address using Kepserver API

  • August 28, 2023
  • 1 reply
  • 1988 views

Hi, I have a situation with a connection:

Im using Allen Bradley Suite to connect to some Micrologix 1100, they are on a service called dyndns.org, which allow to see plc remotely, the thing is that sometimes Dyndns change ip address, for example when the station lose power supply and then goes online again the station wont display online status, the Micrologix cant be seen again because this causes to change ip address, I create a solution with a script using cmd sending commands, for example sending pings to the device in dyndns.org and if the ip change send commands:

net start KEPServerEXV6

net stop KEPServerEXV6

But the bad thing with this solution is that this causes a general reset in kepserver so all the stations go out temporally, my question is if theres a way to only reset one channel or tell to refresh IP address, Im also exploring options using Kepserver API service.

Using Kepserver versión 6.6.362 (Because newer versión have issues resolving hostname)

 

Best answer by cmorehead

@AG_26963_10665874

 

Unfortunately, there is no way to only reset a singular channel or is there functionality to refresh an IP address. I know the Kepware Product Management team is aware of the desire to have the ability to do this. I recommend submitting an Enhancement Request as outlined in the following link so the potential addition can get some additional traction. 

 

Article - CS295047 - How to open an Enhancement Request for PTC Kepware Products

 

A potential clunky work-around would be using the Configuration API to add a new channel with the new IP Address and then disable data collection on the old non-working channel. This should prevent the need to reset the KEPServerEX runtime. 

 

Thanks,

*Chris

 

1 reply

cmorehead13-AquamarineAnswer
13-Aquamarine
August 31, 2023

@AG_26963_10665874

 

Unfortunately, there is no way to only reset a singular channel or is there functionality to refresh an IP address. I know the Kepware Product Management team is aware of the desire to have the ability to do this. I recommend submitting an Enhancement Request as outlined in the following link so the potential addition can get some additional traction. 

 

Article - CS295047 - How to open an Enhancement Request for PTC Kepware Products

 

A potential clunky work-around would be using the Configuration API to add a new channel with the new IP Address and then disable data collection on the old non-working channel. This should prevent the need to reset the KEPServerEX runtime. 

 

Thanks,

*Chris