XIC

Examine If Closed

  • Library:
  • XIC block

Description

XIC is one of the building blocks of a ladder diagram. The XIC block implements the XIC ladder instruction. The block examines the operand tag (data bit) for an on condition. If the bit is set, the rung is enabled. If the bit is clear, the rung is disabled.

Parameters

expand all

Specify the data bits to be tested. Data bits are specified in the format of tags. In Ladder Diagrams, tags (variables) are used for representing all inputs, outputs, and internal memory with attributes such as Data Type, Initial Value, and size. To change the attributes of the Operand Tag, open the Program Variables table within the Ladder Diagram Program block.

Programmatic Use

Block Parameter: PLCOperandTag
Type: character vector
Value: character vector
Default: 'A'

See Also

| | |

Introduced in R2019a