Author: Nicholas Geti
Posted: 2013-12-19 at 11:17:07
Your joke is not far off. Just add a call
do while currentstate .NE. done
currentstate= FSM(event, currentstate, output) ; where FSM returns the next
state and execute the output function
endwhile
I Googled "Finite State Machine"
Looks like a hotbed of information about it.
Nick Geti
----- Original Message -----
From: "M Jarvis" <brewdaddy@gmail.com>
To: <profox@leafe.com>
Sent: Thursday, December 19, 2013 12:05 PM
Subject: Re: Finite State Machine
> On Thu, Dec 19, 2013 at 2:21 AM, Alan Bourke <alanpbourke@fastmail.fm>
> wrote:
>> Many years ago I programmed factory-floor PLCs (programmable logic
>> controllers) using 'ladder logic'. This sounds sort of like that.
>>
>
> I was going to make a joke and give an example such as:
>
> do while .t.
> enddo
>
> and call it good.... <g>
>
> I *think* I've heard of FSM in the past but perhaps not. I know I
> never studied the concept in college as I was a Math major not Comp
> Science....
>
> Interesting stuff, especially as I see some of the practical examples
> ya'll are putting out there...
>
>
> --
> Matt Jarvis
> Eugene, Oregon USA
>
>
---
This email is free from viruses and malware because avast! Antivirus protection is active.
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/241DA8C6F9C04FC08CDB95C841D6648E@dual
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.