comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ada and linux real time
Date: Mon, 19 Mar 2012 18:55:14 +0100
Date: 2012-03-19T18:55:14+01:00	[thread overview]
Message-ID: <6w174t3ncpcf.145utdbreekt1.dlg@40tude.net> (raw)
In-Reply-To: afca3a46-7969-444b-ba48-1c8bebfac6f7@fh22g2000vbb.googlegroups.com

On Mon, 19 Mar 2012 09:11:16 -0700 (PDT), slos wrote:

> As I am learning Ada after some procrastination, I thought I could
> implement a simple PLC like control framework that could run on a RT
> Linux context, allowing very simple to quite complex control
> applications.
> 
> The user would benefit the overall structure and components from the
> framework and program his application logic in some Ada procedures.
> Even if only knowing IEC 61131-3 languages, a PLC programmer could
> learn by doing since Ada basics are quite easy to learn.
> One can compare with Structured Text, one of the languages defined in
> IEC 61131-3.
> 
> Although Ada looks to me appealing for control application
> development, I think no one will give a try to this framework if it is
> not available to anybody and GPLed on one hand and performing well on
> the other.

Distributed control applications is what we are using Ada for.

> What do you think about my light sabre ? ;-)

You don't need an RT OS for most PLCs. Even Windows is real time enough to
deliver 5ms cycles.

Of course, it depends on the physical process. The things we control are
very fast (burning processes). This is why our cycles are quite short
0.2-0.1ms. But that is rather an exception. For mechanical systems 1ms
should be enough. And more mass you have to move, longer can be the cycle
and less should you worry about the jitter.

So, if the sabre is not of light, you could just use Windows or normal
Linux.

The superiority of Ada is that what you write is truly portable. Our
engineers test their models right under Windows and only when these work
they actually try VxWorks. The code is exactly same, no modifications
needed. The sensors/actuators and networking communication is decoupled by
a middleware, which is also written in Ada.

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



  reply	other threads:[~2012-03-19 17:55 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06 21:19 Ada and linux real time slos
2012-03-07  8:23 ` Dmitry A. Kazakov
2012-03-07 12:10   ` slos
2012-03-07 14:18     ` Dmitry A. Kazakov
2012-03-08  2:38       ` Eilie
2012-03-08  8:27         ` Dmitry A. Kazakov
2012-03-08 12:04         ` Simon Clubley
2012-03-08 21:45           ` slos
2012-03-15  2:35             ` BrianG
2012-03-16 20:36               ` slos
2012-03-17 12:34                 ` Simon Wright
2012-03-17 15:50                   ` Simon Wright
2012-03-18 22:03                     ` slos
2012-03-19 11:29                       ` Georg Bauhaus
2012-03-19 13:01                         ` Simon Wright
2012-03-19 13:12                           ` slos
2012-03-19 13:30                             ` slos
2012-03-19 13:35                             ` Dmitry A. Kazakov
2012-03-19 16:11                               ` slos
2012-03-19 17:55                                 ` Dmitry A. Kazakov [this message]
2012-03-19 22:20                                   ` slos
2012-03-20  8:04                                     ` Dmitry A. Kazakov
2012-03-19 13:20                           ` 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