IECuino Ladder Diagram to program Arduino

Working with Ladder Contacts

Spread the love

Ladder logic has contacts that make or break circuits to control coils. Each coil or contact corresponds to the status of a single bit in the programmable controller’s memory. Unlike electromechanical relays, a ladder program can refer any number of times to the status of a single bit, equivalent to a relay with an indefinitely large number of contacts.

So-called “contacts” may refer to physical (“hard”) inputs to the programmable controller from physical devices such as pushbuttons and limit switches via an integrated or external input module or may represent the status of internal storage bits which can generate elsewhere in the program.

Each rung of ladder language typically has one coil at the far right. Some manufacturers may allow more than one output coil on a rung.

  • Rung input : checkers (contacts)
    • —[ ]— Normally Open contact. When its corresponding coil or an input which controls is energizing, it is closed. (Open contact at rest)
    • —[\]— Normally Closed (“not”) contact. Closed whenever its corresponding coil or an input which controls it is not energized. (Closed contact at rest)
  • Rung output: actuators (coils)
    • —( )— Normally Inactive coil. When its rung is closed, the contact energizes. (Inactive at rest)
    • —(\)— Normally Active (“not”) coil. Energized whenever its rung is open. (Active at rest)

The “coil” (output of a rung) may represent a physical output that operates some device connected to the programmable controller or may represent an internal storage bit for use elsewhere in the program.

A way to recall these are to imagine the checkers (contacts) as a push button input, and the actuators (coils) as a light bulb output. The presence of a slash within the checkers or actuators would indicate the default state of the device at rest.