Digital Logic Operations - Siemens S5-100U User Manual

Simatic s5 programmable controller
Hide thumbs Also See for 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.
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
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
Meaning
EWA 4NEB 812 6120-02
S5-100U

Advertisement

Table of Contents
loading

Table of Contents