Attention

IronPLC can only run very simple programs. The steps described are accurate but many language features are not yet supported.

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)

--(S)--

Sets variable to TRUE; remains TRUE until reset

Reset (unlatch)

--(R)--

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.

See Also