Chapter 7 Binary instructions
132 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Integer bit-to-bit AND mask.
Arguments
Parameter
Parameter
Type
Data Type Description
EN Input BOOL Function enable.
When EN = TRUE, execute the Integer AND 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.
AND_MASK Output DINT Bit-to-bit logical AND between IN and MSK.
ENO Output BOOL Enable out.
AND_MASK function language examples
Function block diagram
Ladder diagram