Coils

Coils write the rung's result into a BOOL variable.

What it does

The coil ends the rung: it receives the result of the conditions on its left. A normal coil copies that result every scan. Set and Reset coils remember: Set turns the bit on and it stays on, Reset turns it off. Edge coils write a one-scan pulse. RES resets a timer or a counter.

When to use it

Drive an output (motor, lamp, valve), remember a state (run / stop, fault), reset a timer or a counter.

In this category