EQU (Equal To) Ladder Logic Instruction

Definition

The Equal To instruction is a ladder logic rung input instruction that compares two values. If the values are equal the logic to the right of the instruction, or rung-condition-out, is enabled and disabled if not 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.