that was not a True/False question. It should have been "if the system is running, and it is not in State A (tank is full, Filling output is False), and it is not in State B (the 12s delay has not passed since tank became full; Empty output is False), then which State is the system in?
So what are the necessary conditions for State C, Emptying, to be True, expressed as a Boolean (AND, OR, NOT) combination of Running, State A, and State B?
Note that the logic already knows, because it has evaluated, the states of
Running
B007[RS]
from most recent Start/I1 or Stop/I2 press,
State A
Filling output, Q1
from Running and Up/Down Counter B006 as a model for the tank level
State B
Emptying output Q2
from Running and On-Delay timer B008 to model the delay from tank full to start emptying
If A is True, then C must be False (only one state can be True at a time).
If B is True, then C must be False for the same reason.
You want to identify the combination of conditions (state values, True or False), when C will be True. Similar to what we did for the Fill output (see image below)
So if Running is True, and (NOT A) is True, and (NOT B) is True, then C should be True?
So if Running is True, AND (Filling Q1 is False ≡ (NOT Filling Q1) is True) AND (Emptying Q2 is False ≡ (NOT Emptying Q1) is True), then Mixing Q3 should be True?
Do you agree?
If yes, can you add a block that is the Boolean AND (&) of