32.4.3.2 Explanation of SET/RST Instructions

Program Example

Point A The bit variable (Start) turns ON, the SET instruction executes, and then, bit variable (Motor) turns ON.

Bit variable (Start) turns OFF, but bit variable (Motor) retains the ON state.

The bit variable (Stop) turns ON, the RET instruction executes, and then, bit variable (Motor) turns ON.
When the RST instruction turns the bit variable (Motor) ON, the state is cleared and the bit variable (Motor) changes from ON to OFF.

The bit variable (Motor) remains in the OFF state until the bit variable (Start) turns ON.