Equal EQU

Passes power while A equals B.

TagAfter two scans
Speed0
Zero0

How it works

Passes power while A equals B. Numbers must match exactly. Text is compared character for character, with the shorter text padded with NUL.

How it's used

Use EQU to act on one value of a number, such as a step number or a recipe.

TagValue
State2
Filling1
Mixing0

State is 2, so only Filling is on.

Operands

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

Common mistakes

  • Comparing REAL valuesNumbers must match exactly. 2.9999 is not 3. Use LIM for a REAL that is close enough.

Learn it in a lesson

Related