Quote:
Originally Posted by otherguy
The downside to this approach is obviously that if any command takes a significant amount of time to execute, it will block program execution. ... Code within each command shouldn't do much more than some logical checks and updating the state of related outputs.
|
That goes to the heart of what I was asking. What you've described sounds like you have to write a state machine if you want time delays and/or wait for events like limit switches etc