In technology terms a output that we describe as coil could be a input for other process logic. It become read only... if not then it same as saying I have physical input that I set to True and I change the output coil to False. It means the physical input or input of other processed logic could be override by manipulate a output.
If SR block output signal is TRUE you could not change the output coil to write False. The problem is when Modbus and PLC cycle do not use same rule.
I could use output block as input but I could not use the same block if it output (meaning a block is input to output block)
This is very easy to make in Siemens LOGO to simulate.
When
@thiagoralves say you need to use %QX it is now it could become confusing if do not understand the different of %QX as input or output.
In most PLC IDE they used a coil in Ladder logic there you could sign it to memory bit/flag/merker it become ---------(M)--------|
It was clear to users that a output was assign to memory (M) and could be used as input for other process logic. It become very clear to most people if we do not follow the rule it become very difficult to debug or understand why something do not work.
I could set Q1, M1 and V0.0 from HMI to True, but I could not set Q2 to False, So it is (I hink) a bad advice to use Q1 as input.
Specially if you organize you Function Block thee you have input at left, process logic middle and output at right.
The Q in is output block and that is what the manual teach you for Siemens LOGO. Also you have used 2 physical output on the device.
You may think I assign or mapping the output to physical output pin and use %QX but if you also use it as input you use it as Q1 in picture below.