From flowchart to ladder
"Lloyd E. Sponenburgh" wrote in message
. 3.70...
Tom Gardner mars@tacks fired this volley in
m:
I'm at the age where I feel the need to challenge my brain to keep it
functioning. What control scheme would you learn if you were in my
shoes?
Both, Tom. It's the only way I stay at "medium alert" as opposed to just
plain "old and dumb"! I'm learning on an Arduino chip now, as an
alternative to PLCs.
Lloyd
I found some good PDF files for Arduino, mostly just searching Arduino PDF.
I'm learning more useful Arduino programming with the gnu-c-manual.
I used to write ladder type rungs with the if() statement, now I kind of
like:
Output = (((A && B)||C)? 1:0) ;
instead of:
If((A && B)||C) Output = 1; // If (A AND B) OR C, Output is turned on
else Output = 0; // else Output is turned off.
Seems like an interesting little shortcut.
I was able to use pointers to structures to use one function with multiple
sets of data, I did PLC style timers with each instance of the timer having
it's own data so I can set multiple timers.
I'm not very good at it but it's been fun learning.
RogerN
|