PLC / GX Works3

GX Works3 OUT, SET, and RST Coil Basics: How to Use and Read Them

OUT follows the current rung condition. SET latches a state. RST clears that latched state. Once you separate those roles, GX Works3 ladder programs become much easier to trace.

  • Read OUT as a condition-following coil.
  • Use SET only when a state must remain ON after the trigger is gone.
  • Always design and check the matching RST condition.

Good for

  • Beginners who see OUT, SET, and RST in GX Works3 ladder programs.
  • People who are unsure when to use a normal coil or a latched state.
  • Field engineers checking why a device stays ON or never resets.

Not the main focus

  • Detailed device ranges, CPU-specific instruction tables, or every coil variant.
  • Replacing official Mitsubishi Electric manuals or machine-specific design documents.
  • Advanced sequence design or safety-rated output design.

Quick conclusion

  • OUT turns ON only while the condition is ON.
  • SET latches a device ON.
  • RST clears the latched state.

What you will learn

1. OUT, SET, and RST have different roles

The simplest split is: OUT follows the condition, SET keeps the state, and RST clears it.

In GX Works3 ladder programs, OUT, SET, and RST often appear on the coil side of a rung. They may look similar at first, but they do not behave the same way.

OUT is tied to the current condition. SET is used to remember a state. RST is used to clear that remembered state.

Simple image: OUT = follows condition / SET = latch ON / RST = clear latch.
Overview of OUT SET and RST coil roles in ladder logic
Separate the three roles before troubleshooting a device that stays ON or does not turn ON.

2. Quick conclusion: start with OUT, use SET/RST only when you need memory

For beginner-friendly ladder design, OUT is the easiest behavior to trace.

When the output should be ON only while the rung condition is true, use the OUT-style idea. When the program must remember that an event happened, use SET and RST as a pair.

Senior character
Senior

Try to make the basic logic readable with OUT first. Use SET/RST only where the machine needs to remember a state.

Junior character
Junior

If I use SET, I should immediately ask: where is the RST?

3. OUT: ON only while the condition is true

OUT is condition-following behavior.

An OUT coil turns the target device ON while the rung condition is true. When the condition becomes false, the target device turns OFF, unless another part of the program affects it.

Field reading point

For OUT, check the left-side condition first. If the condition is OFF, the OUT coil should normally be OFF too.

4. SET: latch a device ON

SET is used when the program must remember that a condition happened.

SET turns the target device ON when its condition is true. After that, the device may stay ON even when the original trigger condition is no longer true.

This is useful for alarm memory, step memory, mode memory, and other cases where a state must remain active until a reset action occurs.

Design habit

Do not add SET by itself. Always decide where and when the corresponding RST should happen.

5. RST: clear the latched state

RST is the counterpart of SET.

RST clears the target device. In many beginner troubleshooting cases, the problem is not that SET failed. The problem is that the RST condition is missing, always blocked, or triggered at the wrong timing.

Common failure pattern

A device was SET by an old condition, but there is no clear reset path. The machine looks β€œstuck” because the latched state remains ON.

6. How to choose OUT, SET, and RST

Choose based on whether you need momentary condition-following behavior or state memory.

Instruction ideaUse whenBeginner caution
OUTThe output should follow the current condition.Check the rung condition directly.
SETA short event should remain stored as a state.Do not forget the reset design.
RSTThe stored state should be cleared.Check that reset timing is not too early or too late.
Flow diagram showing how to choose OUT SET or RST
Use OUT for condition-following logic. Use SET/RST when state memory is required.

7. Cautions when using SET/RST

SET/RST can make logic powerful, but it can also make troubleshooting harder.

  • Do not SET a device without planning the RST condition.
  • Avoid writing the same device from too many places.
  • Be careful when OUT and SET/RST target the same device.
  • For physical outputs, consider whether it is clearer to make an internal state first, then drive the output with OUT.
  • When troubleshooting, search the same device number and check all OUT, SET, and RST usage.
Comparison of OUT SET and RST behavior and cautions
The more places that write to the same device, the more carefully you must trace the program.

8. Field check points in GX Works3

Search the target device and check every place that writes to it.

  1. Search the target device, such as M100 or Y20.
  2. Check where it is turned ON by OUT or SET.
  3. Check where it is cleared by RST.
  4. Confirm whether the same device is written in multiple rungs.
  5. Trace what condition is currently ON in online monitor.
  6. Check whether an internal memory device should drive the final physical output.
Field check flow for OUT SET and RST troubleshooting
For troubleshooting, do not check only the visible coil. Search all places that write to the same device.

9. Common beginner mistakes

Most mistakes come from forgetting that SET creates memory.

  • No reset condition: SET turns ON, but nothing clears it.
  • Reset too early: RST clears the device before the next step can use it.
  • Too many write locations: The same device is controlled from many rungs.
  • OUT and SET/RST mixed on one device: It becomes hard to know which logic currently controls it.
  • Directly latching physical outputs: This may make recovery and troubleshooting harder depending on the machine design.

10. Summary

OUT, SET, and RST become easier to understand when you separate their roles. OUT follows the condition. SET stores a state. RST clears the stored state.

In the field, always search the target device and check every rung that writes to it. This habit prevents many mistakes around latched states and reset conditions.

Summary image for GX Works3 OUT SET and RST coil basics
The key is simple: OUT follows, SET remembers, RST clears.

These English articles are already available and connect well with OUT, SET, and RST basics.