From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,38d01316d66d8f95 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.74.201 with SMTP id w9mr16985412pbv.0.1332230709002; Tue, 20 Mar 2012 01:05:09 -0700 (PDT) Path: kz5ni11451pbc.0!nntp.google.com!news2.google.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada and linux real time Date: Tue, 20 Mar 2012 09:04:51 +0100 Organization: cbb software GmbH Message-ID: <47zh41f92ln1$.16h9znhdd385e.dlg@40tude.net> References: <13z45jd9irz9x.1j2hj7ayxwkyj.dlg@40tude.net> <5777a4dc-67ef-4a35-b929-653a4d498aac@q11g2000vbu.googlegroups.com> <4f67187d$0$7625$9b4e6d93@newsspool1.arcor-online.net> <1lnilcgari5ww.na1uw3ic1xt8.dlg@40tude.net> <6w174t3ncpcf.145utdbreekt1.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-03-20T09:04:51+01:00 List-Id: On Mon, 19 Mar 2012 15:20:20 -0700 (PDT), slos wrote: > But I am looking for a free alternative. It would be rather difficult to find. Hardware protocols are very, if not to say extremely, complex. The documentation is not free in most cases. So free implementations are either non existent or do not go beyond simple exercises. > I am experimenting with Ada and Real Time on Linux and there are at > least three alternatives : PREEMPT_RT for general control, Xenomai and > RTAI for higher performance needs. The only reason to have it preemptive is because of hardware communication requiring asynchronous handling, e.g. a network stack. Unless you have something very, very complex running in multiple cycles... On the other hand something complex like that is quite difficult to ensure meeting time constraints without doing a lot of additional work. So, if I were you, I would not care. Just do your PLC and see if it works. > - I am targeting simple process control for beginners but I want to be > sure it can scale to motion control applications as well, and in this > case I want to know the feasibility and experiment with it, We did some scalability tests for our Ada software. In short, you should not worry. If it does not scale, then not because of Ada. > -- This package encapsulates all direct interfaces to OS services > -- that are needed by the tasking run-time (libgnarl). I don't think a PLC would need anything like that; maybe, but rather unlikely. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de