Contacts (input instruction)

XIO: Examine If Open

Passes power when the bit it is examining is 0.

Also called: normally closed contact, NC contact, examine off, -|/|-.

XIO(tag)

What it does

XIO is XIC inverted. It passes power while the bit is 0 and blocks it while the bit is 1. Everything else about it, series is AND, parallel is OR, is identical.

Its most important job is the stop button, and understanding why is worth more than memorising the symbol. A stop button is wired normally closed: the circuit is complete while nobody is pressing it, so the input bit reads 1 during normal running. Press the button and the circuit opens, the bit drops to 0, and an XIO on that bit starts passing power. That looks backwards until you notice what it buys you: if the wire to that button is ever cut, the bit also goes to 0, and the machine stops exactly as if someone had pressed stop. The failure mode is safe by construction.

The same reasoning applies to any permissive that must fail safe: an overload contact, a guard switch, an emergency stop chain.

A rung you can run

A stop that also fails safe on a broken wire

[object Object]
[XIC(Start_PB),XIC(Motor_Run)]XIO(Stop_PB)XIO(Overload_Trip)OTE(Motor_Run)

Both Stop_PB and Overload_Trip are wired normally closed, so both bits are 1 while the plant is healthy and the XIO instructions pass power. Cut either wire and the motor drops out.

Run this rung in the simulator

What it is called on other controllers

PlatformEquivalent
Rockwell (Studio 5000)XIO
Siemens (TIA Portal)Normally closed contact, drawn -|/|-
Mitsubishi (GX Works)LDI / ANI / ORI
CODESYS and IEC 61131-3Negated contact

Common mistakes

  • Wiring the stop button normally open and using XIO anyway, which produces a machine that stops when everything is fine and runs when the wire breaks. Get the wiring and the instruction consistent, and make the safe state the de-energised one.
  • Using XIO on a fault bit and expecting the rung to recover on its own. If the fault is latched with OTL, XIO will keep blocking until something unlatches it.

Practise it

Interactive exercises that use XIO. Each one checks your ladder against a real scan.

Related instructions

All ladder logic instructions