omron — AND operator

AND operator AND operator Syntax ...value AND value... Function Perform the logical AND operation on two values. Details The AND operator operates on two values, resulting in their logical AND combination. For example, during the AND operation c = a AND b the following four situations can occur: The result is TRUE only if both of the two operand values are logically TRUE. To review the order of evaluation for operators within expressions, see the section Order of Evaluation in the eV+ Language User's Guide . Example ;The instructions following the IF will be executed if ;both "ready" is TRUE (nonzero) and "count" equals 1.

IF ready AND (count == 1) THEN Related Keywords BAND operator OR operator XOR operator eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 59 a b c FALSE FALSE -> FALSE FALSE TRUE -> FALSE TRUE FALSE -> FALSE TRUE TRUE -> TRUE