Digital Logic Operations - Siemens SIMATIC S5-115U User Manual

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

STEP 5 Operations
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.
Table 8-14. Overview of Digital Logic Operations
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. Then load them into the
accumulators before executing the operation.
8-44
Combine bit by bit through logic AND
Combine bit by bit through logic OR
Combine bit by bit through EXCLUSIVE OR
Meaning
EWA 4NEB 811 6130-02b
S5-115U Manual

Advertisement

Table of Contents
loading

Table of Contents