AND Double Word, OR Double Word, Exclusive OR Double Word Logical Operations

Inputs/Outputs Operands Data Types
IN1, IN2 VD, ID, QD, MD, SMD, AC, LD, HC, Constant, *VD, *AC, SD, *LD DWORD
OUT VD, ID, QD, MD, SMD, LD, AC, *VD, *AC, SD, *LD DWORD

Memory Ranges ENO Errors Instruction Support for S7-200 CPUs SIMATIC/International Mnemonics
The AND Double Word instruction ANDs the corresponding bits of two double word inputs and loads the result (OUT) in a double word.

The OR Double Word instruction ORs the corresponding bits of two double word inputs and loads the result (OUT) in a double word.

The Exclusive OR Double Word instruction XORs the corresponding bits of two double word inputs and loads the result (OUT) in a double word.

Error Conditions that Set ENO = 0:

SM4.3 (run-time), 0006 (indirect address)

These instructions affect the following Special Memory bits:

SM1.0 (zero)