NEQ (Not Equal To) Ladder Logic Instruction

Definition

The Not Equal To instruction is a ladder logic rung input instruction that compares two values. If the values are not equal the logic to the right of the instruction, or rung-condition-out, is enabled and disabled if equal. The values can be constants, tags or any combination.

Strings can be compared. Strings are equal if the characters match.

List of possible arguments

SOURCE A and SOURCE B can be any combination of the following data types.

  • CONSTANT
  • SINT              
  • INT
  • DINT
  • REAL
  • STRING

Note: Negative numbers are valid.