leitmotif
Member
Terry,
In anothr thread you said:
The BEST advice that I can give to any programmer is to recognize that any process is more Event-Driven and Time-Driven, with a healthy "awareness of prior history", than it is Condition-Driven.
A Condition-Driven and Static-Timer-Driven control scheme will handle a lot of very simple processes... as long as they remain static and simple.
An Event-Driven and Dynamic-Timer-Driven control scheme (with historical references) will handle ALL processes... even if speed conditions change (within reason, of course).
The other major advantage to this scheme is that the program can detect when something unexpected happens, or it can ignore those conditions which it "knows" to be invalid.
A Dynamic-Timer is one where the Preset Value is calculated, at the appropriate time, and then loaded into the Timer before the Timer is activated. As speeds increase, timer preset values typically decrease. As speeds increase, one needs to watch for subsequent events sooner... Q.E.D.
(113)
This has set me to thinking. One could measure the events or the process speed. Then use that value to adjust the timers as process speeds up or slows down. Makes a lot of sense.
The part that I don't quite get is the referance to history. Are you referring to the programmers knowledge of the process and its operation history or are you actually dialing in a factor to account for history??
The reason for asking is I have finished studying timers and now know something about them (at least caution -- they are easier to turn on than to turn off). ALSO am starting to study Sequencer. Seems to me this is an excellant time to incorporate some real world thinking and experience in my studies.
Am thinking of using a traffic lite for the sequencer. The advantage is that it is a fairly easy task sequence to describe. Do you have a better project??
Ah yes the home washing machine ?? Not ready to get into analog yet (for temp control of wash water).
Lessee
1. Start
2. Open fill valves
3. Fill to hi level
3 A Soak (optional ??)
4. Agitate
5. Pump out
6. Spin
7. Refill
8. Agitate
9. Spin dry
10 Done
Thoughts ??
Dan Bentler
In anothr thread you said:
The BEST advice that I can give to any programmer is to recognize that any process is more Event-Driven and Time-Driven, with a healthy "awareness of prior history", than it is Condition-Driven.
A Condition-Driven and Static-Timer-Driven control scheme will handle a lot of very simple processes... as long as they remain static and simple.
An Event-Driven and Dynamic-Timer-Driven control scheme (with historical references) will handle ALL processes... even if speed conditions change (within reason, of course).
The other major advantage to this scheme is that the program can detect when something unexpected happens, or it can ignore those conditions which it "knows" to be invalid.
A Dynamic-Timer is one where the Preset Value is calculated, at the appropriate time, and then loaded into the Timer before the Timer is activated. As speeds increase, timer preset values typically decrease. As speeds increase, one needs to watch for subsequent events sooner... Q.E.D.
(113)
This has set me to thinking. One could measure the events or the process speed. Then use that value to adjust the timers as process speeds up or slows down. Makes a lot of sense.
The part that I don't quite get is the referance to history. Are you referring to the programmers knowledge of the process and its operation history or are you actually dialing in a factor to account for history??
The reason for asking is I have finished studying timers and now know something about them (at least caution -- they are easier to turn on than to turn off). ALSO am starting to study Sequencer. Seems to me this is an excellant time to incorporate some real world thinking and experience in my studies.
Am thinking of using a traffic lite for the sequencer. The advantage is that it is a fairly easy task sequence to describe. Do you have a better project??
Ah yes the home washing machine ?? Not ready to get into analog yet (for temp control of wash water).
Lessee
1. Start
2. Open fill valves
3. Fill to hi level
3 A Soak (optional ??)
4. Agitate
5. Pump out
6. Spin
7. Refill
8. Agitate
9. Spin dry
10 Done
Thoughts ??
Dan Bentler