comp.lang.ada
 help / color / mirror / Atom feed
From: "Karl Müller" <mtb23@gmx.de>
Subject: Reusable free code: Simple components - MODBUS.Synchronos.connect not returning
Date: Tue, 28 Aug 2018 10:04:02 +0200
Date: 2018-08-28T10:04:02+02:00	[thread overview]
Message-ID: <fukdviFjd4aU1@mid.individual.net> (raw)

Hello,

it's my first contribution to this sophisticated newsgroup and I hope 
I'm not disturbing too much.

Trying the Modbus test programs of the Simple components from Dmitry 
Kazakov I made the experience that the MODBUS.Synchronos client is not 
returning after calling the connect procedure. When I set the Timeout 
value to 5 seconds the Tracer is writing and after that time the program 
exits:

127.0.0.1:1502 < --- Stop polling, nothing to send
127.0.0.1:1502 < +++ Resume polling, blocking timeout expired
127.0.0.1:1502 < --- Stop polling, nothing to send
Worker task exiting
raised 
GNAT.SOCKETS.CONNECTION_STATE_MACHINE.MODBUS_CLIENT.SYNCHRONOUS.TIMEOUT_ERROR 
: Connection timeout expired

To my suprise the MODBUS test program with multiple connections is 
working as expected.

Is there anything I'm not aware off when using the MODBUS_CLIENT.SYNCHRONOS?

Regards

Karl

             reply	other threads:[~2018-08-28  8:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-28  8:04 Karl Müller [this message]
2018-08-28 16:03 ` Reusable free code: Simple components - MODBUS.Synchronos.connect not returning Dmitry A. Kazakov
2018-08-28 18:03   ` Karl Müller
2018-08-28 19:25     ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox