SET writes a retained true value only when its condition is true. RESET writes false under its own condition. When both execute, their order determines the final value in this scan model. State the required priority before writing the rungs. A test must include simultaneous requests as well as ordinary start and stop.
In a reset-dominant module, an active reset must leave the run bit false even while set remains true. Place the reset after set in this ordered runtime, then read the output after both statements. Removing reset entirely and reversing the statements are different errors with different observable results.
Read the tag list and the requested sequence before editing.