Xor_Mask - Allen-Bradley Micro800 General Instructions Manual

Programmable controllers
Hide thumbs Also See for Micro800:
Table of Contents

Advertisement

Chapter 7
Binary instructions

XOR_MASK

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

Advertisement

Table of Contents
loading

Table of Contents