The EQU, also known as the Equal, instruction is used to compare two values. The EQU instruction is an input instruction which will return TRUE if the two values within “Source A” and “Source B” fields are equal to each other. If that condition is met, the instruction will allow what’s on the right of it to execute. The EQU will compare the two values and only evaluate to true is the two integers are equal. Should they become unequal, the instruction will update on the next PLC scan.
This is a companion discussion topic for the original entry at https://www.solisplc.com/tutorials/plc-programming-comparison-instructions-equ-equal