Not equal NEQ

Passes power while A is not equal to B.

TagAfter two scans
LastRecipe2
Recipe3

How it works

Passes power while Source A does not equal Source B; blocks it when they are equal.

How it's used

Use NEQ to spot a change, such as a new recipe.

TagValue
Recipe3
LastRecipe3
NewRecipe1

Recipe changed from 2 to 3, so NewRecipe is on. LastRecipe already shows 3 because the MOV below ran in this scan.

Operands

OperandData typeRead or write
ADINT, REAL, STRING, CHAR or a numberReads
BDINT, REAL, STRING, CHAR or a numberReads

Common mistakes

  • Forgetting the rest of the rungNEQ only passes power it receives. A false rung stays false.

Learn it in a lesson