Digital Logic Operations - Siemens SIMATIC S5-100U System Manual

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
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 logic EXCLUSIVE OR
Meaning
EWA 4NEB 812 6120-02b
S5-100U

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents