omron — BAND operator

BAND operator To review the order of evaluation for operators within expressions, see the section Order of Evaluation in the eV+ Language User's Guide . Examples Consider the following (binary values are shown to make the operation more evident): ^B101000 BAND ^B100001 yields ^B100000 (32) Note that a very different result is obtained with the logical AND operation: ^B101000 AND ^B100001 yields -1 (TRUE) In this case, ^B101000 and ^B100001 are each interpreted as logically TRUE since they are nonzero. Related Keywords AND operator BOR operator BXOR operator eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 79