XOR_MASK

Integer exclusive OR bit-to-bit mask
lrsf_xm1_cam5
Arguments
IN
IN
DINT
Must have integer format
MSK
MSK
DINT
Must have integer format
XOR_MASK
Q
DINT
Bit-to-bit logical Exclusive OR between IN and MSK
Example
(* FBD example with XOR_MASK Operators *)
lrsf_xm2_cam5
(* ST Equivalence: *)
crc32 := XOR_MASK (prevcrc, nextc); result := XOR_MASK (16#012, 16#011); (* equals 16#003 *)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal