I find your Ladder Diagram to be very confusing. Its not recommended to use coil (output) in serie. They should be parallel.
The difference between serial coils (output) and parallel is:
- Coils don’t work sequentially when placed in series.
Earlier coils may not activate correctly.
- Debugging becomes harder when multiple coils depend on each other
Scan logic top-to-bottom, so series coils may conflict during execution.
OpenPLC do not have restriction to use coil (output) in serie but other PLC IDE could have it, I believe what you see in rung it same
think what the device is compiled into instruction and execute order. If a logic, instruction or block output is True it will set output to True
and all other output on the same rung to True. That is exactly what a parallel coils does. In other words the logic, instruction or block become
the condition for the all outputs in the same rung. If you have the output in serie it would make sense to believe a coil (output) become a input
for or condition to other coil. It become very difficult to debug or knowing if a coil (output) is a output or input.
The order of execution is left to right and from top to bottom in Ladder Diagram.
And by having coils in serie they also become outputs and inputs on the same rung and that is the reason to avoid it.
The way I see Ladder Diagram is, contact is inputs and blocks are logic (instruction) and coils are output.
In programing when you assign a value to variable, it contains a value. This variable could be input to other variable, condition....
If we translate it to Python that would be like if (x and y == 1): a = b = c = 1
There x and y are input and a, b, c are output. If we later change a, we also change b and c and that is maybe not what we want.