In Mitsubishi's FX series PLCs, the set (SET) and reset (RST) instructions play crucial roles in controlling target components. Let's delve into their functionalities and usage guidelines.

SET Instruction:
The SET instruction is designed to set the target component and maintain its state. For instance, when X0 is in a normally open state, activating it will turn Y0 ON, and this state persists even if X0 is disconnected.

RST Instruction:
Contrarily, the RST instruction resets the target component, returning it to a cleared state. In the scenario where X1's normally open contact is closed, Y0 turns OFF. Even if X1 is later disconnected, Y0 remains OFF.


Usage Guidelines:

Target Components: SET instructions primarily target Y, M, and S components, while RST instructions target Y, M, S, T, C, D, V, and Z components. RST is commonly employed to clear the contents of D, Z, V, and to reset accumulated timers and counters.
Multiple Usage: Both SET and RST instructions can be applied multiple times to the same target component, and their execution order is flexible. However, the effect of the last executed instruction prevails.

In summary, the SET and RST instructions in Mitsubishi's FX series PLCs offer precise control over target components, allowing for efficient programming and automation in various industrial applications. Understanding their functionalities and usage guidelines is crucial for effective PLC programming and operation.