Attention
IronPLC supports IEC 61131-3 Structured Text excluding I/O mapping.
Coils¶
Coils are output elements in ladder diagrams that write the state of a boolean variable based on the power flow reaching them.
IEC 61131-3 |
Section 3.2 |
Support |
Not yet supported |
Coil Types¶
Type |
Symbol |
Description |
|---|---|---|
Output |
|
Sets variable to the power flow state |
Negated |
|
Sets variable to the inverse of power flow |
Set (latch) |
|
Sets variable to TRUE; remains TRUE until reset |
Reset (unlatch) |
|
Resets variable to FALSE |
Description¶
An output coil writes TRUE when power reaches it and FALSE when it does not. Set and reset coils provide latching behavior equivalent to the SR and RS function blocks.