Never mind, seems that I can periodically check the isConnected flag… 

> On 12.08.2021, at 08:21, Andreas Vogler <[email protected]> wrote:
> 
> Hi,
> 
> How can I check the state of a connection? Especially if it is lost.
> 
> I have a ModBus connection and when I turn off the ModBus server I do not get 
> any error. 
> 
> I have found the orTimeout option at the response object… 
> 
> But I want somehow detect if a connection is lost, so that I can do a 
> reconnect…
> 
> Hope someone can give me an advice how this is typically done with Plc4x.
> 
> Regard,
> Andreas

Reply via email to