cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

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

AlbertoGR
4-Participant

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

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)

 

ACCEPTED SOLUTION

Accepted Solutions
cmorehead
13-Aquamarine
(To:AlbertoGR)

@AG_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

 

View solution in original post

1 REPLY 1
cmorehead
13-Aquamarine
(To:AlbertoGR)

@AG_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

 

Announcements




Top Tags