Examine If Open (XIO)
The XIO instruction examines the data bit to set or clear the rung condition.
Available Languages
Ladder Diagram
![Ladder Diagram_Examine If Open (XIO)_v1](/content/dam/dita/en/factorytalk-design-studio/current/online-help/topics/graphics/ladderdiagram_examineifopen(xio)_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 Addressingfor 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 Data Bit is true, rung-condition-out is cleared to false. If Data Bit is false, rung-condition-out is set to true. |
Postscan | N/A |
Examples
Example 1
Ladder Diagram
![FTStudio-XIO-LD-EX1-V1](/content/dam/dita/en/factorytalk-design-studio/current/online-help/topics/instructions/common-content/graphics/ftstudio-xio-ld-ex1-v1.png/_jcr_content/renditions/original)
If Limit_Switch_01 is false, the next instruction is enabled.
Example 2
Ladder Diagram
![FTStudio-XIO-LD-EX2-V1](/content/dam/dita/en/factorytalk-design-studio/current/online-help/topics/instructions/common-content/graphics/ftstudio-xio-ld-ex2-v1.png/_jcr_content/renditions/original)
If S:V is false, this enables the next instruction.
Provide Feedback