Examine If Closed (XIC)

The XIC instruction examines the data bit to set or clear the rung condition.
Available Languages
Ladder Diagram
Ladder Diagram_Examine If Closed (XIC)_v1
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
FTStudio-XIC-LD-EX1-V1
If Limit_Switch_1 is true, the next instruction is enabled.
Example 2
Ladder Diagram
FTStudio-XIC-LD-EX2-V1
If S:V is true (generated by MOV), the next instruction is enabled.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal