Contacts

Contacts read a BOOL variable and let power flow through the rung, or not.

What it does

A contact is a condition: it tests a bit (an input, an output, an internal bit). A normally open contact passes when the bit is 1, a normally closed one when it is 0. Edge contacts pass for one scan only, when the bit changes. Contacts in series make an AND; in parallel (a branch), an OR.

When to use it

Anywhere a condition is needed: start button, presence sensor, limit switch, alarm bit, state of another output.

In this category