ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Ladder logic anyone?

To:
Subject: Re: [ts-7000] Re: Ladder logic anyone?
From: "Don W. Carr" <>
Date: Sat, 13 Jan 2007 12:31:09 -0600
I was kind of hoping that Ladder Logic would die a slow death, but it seems there are always engineers that want to keep propagating it. What we really need is a simple real-time script language, with object tags, kind of like this:

valve1.open
pid1.setpoint(200)
wait_until(temp > 100)
burner.send(50)
data_aquisition1.start
delay(10)
data_aquisition1.stop

It would be a whole lot easier to teach to scientists or other non programmers. You could even make a web interface that lived on a 7xxx to allow them to enter the scripts, and also set the tagnames of the AI, DI, AO, DO, and the engineering units, alarms, etc.

I will have this eventually, but I have too many projects right now. It is actually all there, I just need to port it to the 7xxx and clean up some loose ends.

Another interesting programming method is state charts, which I also plan to add to my control engine.

Well, as much as we might wish it, ladder logic will NOT go away.

Don.

On 1/12/07, Yan Seiner <> wrote:

--- In ts-7000%40yahoogroups.com, "PeterElliot" <> wrote:
>
> Hi Yan,
>
> Also check out: http://cq.cx/
> ladder.pl - Ladder Logic for PIC and
> AVR.
>
> This free application converts a
> ladder logic program into PIC/AVR
> code, C source or a and byte code
> (with supplied interpreter written
> in C).
>
> I think it would be nice to be able
> to load a file into my application
> that makes use of ladder logic
> programming to simplify the
> sequencing of DIO, while having the
> complex parts coded in C.
>

That's kind of where we are headed... We're thinking of hard-coding
all of the mission critical stuff, and then allowing the customer to
provide custom logic via a ladder "sandbox". This would allow a
customer to customize the behavior without compromising the overall
safety of the system.

But that's for version 2 or 3....

--Yan




--
Dr. Don W. Carr
J. G. Montenegro 2258
Guadalajara, Mexico
+52-333-630-0704
+52-333-836-4500 ext 2930 __._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU