drbitboy
Lifetime Supporting Member
You are addind %MW130 to %MW130 + timer timed value.
This should be only %MW130:=%Tx.V as otherwise you are adding pause timer from earlier pause also.
[Update: forget this part; I think I understand what Lare was saying now and he is right]
I am not sure I agree: doesn't Tx get reset, and Tx.V get reset to 0, when the rung feeding the timer goes false?
I am more concerned about the OR of the three edges on Rung0 (one rising/positive (--]P[--); two falling (--]N[--). I think we want an edge of the combined OR of those three bits, not the OR of the combined edges.
For example, say there is a drive fault on pump1, which changes %I0.2 from 1 to 0 and generates falling edge to set the --]N[-- True, resulting in a True on Rung0 after the OR; then there is a fault on pump2 (%I0.3), which generates another True on Rung0; then the operator hits the pause, which generates a third True on Rung0.
Although it may not matter because Tx.V will be reset to 0 after the first edge.
Last edited: