Examine If Closed (XIC)
The XIC instruction examines the data bit to set or clear the rung condition.
Available Languages
Ladder Diagram
_v1.png/_jcr_content/renditions/original)
Operands
Ladder Diagram
Operand | Data Type | Format | Description |
---|---|---|---|
Data bit | BOOL | tag | Bit to be tested. There are various operand addressing modes possible for the data bit, see Bit Addressing for examples. |
Affects Math Status Flags
No
Major/Minor Faults
None specific to this instruction. See Index through arrays for array-indexing faults.
Execution
Ladder Diagram
Condition/State | Action Taken |
---|---|
Prescan | N/A |
Rung-condition-in is false | Set Rung-condition-out to Rung-condition-in |
Rung-condition-in is true | If DataBit is true, rung-condition-out is set to true. If DataBit is false, rung-condition-out is cleared to false. |
Postscan | N/A |
Example 1
Ladder Diagram

If Limit_Switch_1 is true, the next instruction is enabled.
Example 2
Ladder Diagram

If S:V is true (generated by MOV), the next instruction is enabled.
Provide Feedback