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
- ( )EUOTEUS( )OTECoilWrites the rung state into the variable.
- (/)EUOTE/US(/)OTE/Negated coilWrites the inverse of the rung state into the variable.
- (S)EUOTLUS(S)OTLSet (latch) coilSets the variable to 1 and leaves it there (latch).
- (R)EUOTUUS(R)OTUReset (unlatch) coilSets the variable to 0 and leaves it there.
- (P)EUOTE↑US(P)OTE↑Rising edge coilSets the variable to 1 for one scan when the rung goes from 0 to 1.
- (N)EUOTE↓US(N)OTE↓Falling edge coilSets the variable to 1 for one scan when the rung goes from 1 to 0.
- RESReset a block (RES)Resets the accumulator and status bits of a timer or counter.