comp.lang.ada
 help / color / mirror / Atom feed
* Reusable free code: Simple components - MODBUS.Synchronos.connect not returning
@ 2018-08-28  8:04 Karl Müller
  2018-08-28 16:03 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 4+ messages in thread
From: Karl Müller @ 2018-08-28  8:04 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-28 19:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-28  8:04 Reusable free code: Simple components - MODBUS.Synchronos.connect not returning Karl Müller
2018-08-28 16:03 ` Dmitry A. Kazakov
2018-08-28 18:03   ` Karl Müller
2018-08-28 19:25     ` Dmitry A. Kazakov

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