Skip to main content

XIC — Examine If Closed

dataBit

Passes power along the rung when the referenced bit is 1. Equivalent to a normally-open contact.

Operands

NameType
dataBitBOOL

How It Works

If dataBit is 1, power passes through. If 0, power is blocked.

Example

XIC(Sensor)OTE(Lamp)

Lamp is energized while Sensor is 1.

Common Mistakes

  • Using XIC to check that a bit is off. XIC only passes power when the bit is 1. To check for 0, use XIO.
  • Examining a non-BOOL tag — XIC only takes BOOL. For numeric comparisons, use compare instructions.