User Tools

Site Tools

한국어

cubloc:wxor_dwxor:index

WXOR, DWXOR

WXOR s1, s2, d
DWXOR s1, s2, d

These commands logically XOR s1 and s2 and store the result in d. WXOR divides word values and DWXOR 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 following is result of above LADDER:

When you want to invert specific bits, you can use XOR logical operation.

Go CUBLOC Ladder Logic home

cubloc/wxor_dwxor/index.txt · Last modified: 2016/04/14 11:07 (external edit)