comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ada for Automation
Date: Tue, 18 Nov 2014 12:03:21 +0100
Date: 2014-11-18T12:03:21+01:00	[thread overview]
Message-ID: <1uhe64g68og8k.16z0icy3wfdhu.dlg@40tude.net> (raw)
In-Reply-To: m4f7p3$7lt$1@dont-email.me

On Tue, 18 Nov 2014 11:43:12 +0100, Björn Lundin wrote:

> On 2014-11-18 10:28, Dmitry A. Kazakov wrote:
>> On Tue, 18 Nov 2014 09:52:13 +0100, Björn Lundin wrote:
>> 
>>> Very few sites use OPC, which was believed to be THE way of
>>> communicating in the early 2000s
>> 
>> Huh.
> 
> Sorry. I'm talking about communication between a host system (WCS) and
> a PLC with the purpose of moving pallets on a conveyor.
> OPC was something most vendor talked about, but
> not to many implemented it. As a transportation layer.
> The actual data being passed is different between most if not all vnedors.

Because OPC was totally unsuitable for the purpose. It was extremely slow,
hugely difficult to configure and had to run on the same host. Some of the
problems were lifted by the OPC UA, but it is still a monstrosity.

>>> Talking modbus directly would be nice, but in my field, I don't see
>>> any of the vendors preferring that to TCP/IP.
>> 
>> ModBus TCP is actually far more wide spread than ModBus RTU.
>> 
>> The design of middleware should support easy developing on new interfaces.
>> That is the idea of middleware, to decouple the application from the
>> hardware.
> 
> Yes, that is why I think Ada for Automation is interesting.
> But in practice, i still see the dominating way of this kind of
> communication to be TCP/IP with vendor-specific data content.
> 
> The standard question, with each new vendor we meet, is
> 'Can you do this'? and then they hand over a protocol specification -
> TCP/IP and a propriatary data content, with a small variation of
> * who is server?
> * one or two sockets?
> * protocol level acks
> * re-transmissions (if no nak, timeout and re-send)

Not very frequently, but it happens time to time. Unfortunately, fewer than
before, because hardware vendors tend to use "standard" industrial
protocols like EtherCAT, PROFIBUS etc, which are horrific mess and
extremely difficult to implement and no less difficult to configure and
maintain. Implementing a custom TCP/IP based protocol is usually hugely
simpler.

I don't understand "but". In our middleware (which is in Ada) there is a
well defined interface to design new device interfaces. In fact there is a
ready-to use base device type for a custom TCP/IP connection based client.
You would simply override Read and Write abstract operations. All automatic
connection and reconnection stuff is handled by the base type.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  reply	other threads:[~2014-11-18 11:03 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06 11:14 Ada for Automation slos
2014-11-06 13:31 ` Dmitry A. Kazakov
2014-11-06 14:43   ` slos
2014-11-06 17:22     ` Dmitry A. Kazakov
2014-11-06 21:58       ` slos
2014-11-07  8:29         ` Dmitry A. Kazakov
2014-11-07  9:51           ` slos
2014-11-07 13:44             ` Dmitry A. Kazakov
2014-11-07 15:23               ` slos
2014-11-07 17:16                 ` Dmitry A. Kazakov
2014-11-07 20:37                   ` slos
2014-11-07 21:15                     ` Dmitry A. Kazakov
2014-11-07 22:21                       ` slos
2014-11-07 11:44           ` slos
2014-11-07 13:46             ` Dmitry A. Kazakov
2014-11-18  8:52 ` Björn Lundin
2014-11-18  9:28   ` Dmitry A. Kazakov
2014-11-18 10:43     ` Björn Lundin
2014-11-18 11:03       ` Dmitry A. Kazakov [this message]
2014-11-18 12:27         ` Björn Lundin
2014-11-18 13:24           ` 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