WAND, DWAND

WAND s1, s2, d
DWAND s1, s2, d

These commands logically AND s1 and s2 and store the result in d. WAND divides word values and DWAND divides double word values.

P M F S C T D Constants
s1 O O O O
s2 O O O O
d O O O

The results of execution of LADDER above:

Go CUBLOC Ladder Logic home