Hi Maveric,
Note that the red indication in trace on set and reset objects displays the state of the signal, not the set or reset action. So trace2.png shows a correct behavior, in trace1.png though the SetDv in the active set should have set the Dv, so there is probably a reset somewhere else in the code, or a mismatch in running code and display (plc saved but not built or not restarted).
I try to avoid set/reset because if there are several sets and resets on the same signal, troubleshooting becomes often very hard as you can't say where a signal was set or reset, and you loose track of the causal chain. Instead I use a stored order and a stodv when this is possible. The stodv is only executed when the order is active so it's possible to set the dv from different steps. The stored order is reset with a ResetSO further down in the grafcet sequence.
/Claes