AND Byte, OR Byte, Exclusive OR Byte Logical Operations

Inputs/Outputs Operands Data Types
IN1, IN2 VB, IB, QB, MB, SB, SMB, LB, AC, Constant, *VD, *AC, *LD BYTE
OUT VB, IB, QB, MB, SB, SMB, LB, AC, *VD, *AC, *LD BYTE

Memory Ranges ENO Errors Instruction Support for S7-200 CPUs SIMATIC/International Mnemonics
The AND Byte instruction ANDs the corresponding bits of two input bytes and loads the result (OUT) in a byte.

The OR Byte instruction ORs the corresponding bits of two input bytes and loads the result (OUT) in a byte.

The Exclusive OR Byte instruction XORs the corresponding bits of two input bytes and loads the result (OUT) in a byte.

Error Conditions that Set ENO = 0:

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

These instructions affect the following Special Memory bits:

SM1.0 (zero)