Chapter 7 Binary instructions
146 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Integer exclusive OR bit-to-bit mask, XOR_MASK returns inverted bit values.
Arguments
Parameter
Parameter
Type
Data Type Description
EN Input BOOL Function enable.
When EN = TRUE, perform the exclusive OR bit-to-bit mask computation.
When EN = FALSE, there is no computation.
IN Input DINT Must have integer format.
MSK Input DINT Must have integer format.
XOR_MASK Output DINT Bit-to-bit logical Exclusive OR between IN and MSK.
ENO Output BOOL Enable out.
XOR_MASK language examples
Function block diagram
Ladder diagram