Digital Logic Operations - Siemens SIMATIC S5-95F Manual

Table of Contents

Advertisement

S5-95F
8.2.4

Digital Logic Operations

Digital logic operations combine the contents of both accumulators logically bit by bit.
Table 8-14 provides an overview of these digital logic operations. Examples follow the table.
Operation
Operand
AW
OW
XOW
Processing a Digital Logic Operation
A digital logic operation is executed regardless of the RLO. It also does not affect the RLO.
However, it sets condition codes according to the result of the arithmetic operation (see section 8.4).
Note
Make sure both operands have the same number format.
accumulators before executing the operation.
EWA 4NEB 812 6210-02
Table 8-14. Overview of Digital Logic Operations
Combine bit by bit through logic AND
Combine bit by bit through logic OR
Combine bit by bit through logic EXCLUSIVE OR
STEP 5 Operations
Meaning
Then load them into the
8-43

Advertisement

Table of Contents
loading

Table of Contents