Siemens SIMATIC S5-90U System Manual page 215

Table of Contents

Advertisement

S5-90U/S5-95U
STL
Load input word IW70 into ACCU 1.
L
IW 70
Load input word IW6 into ACCU 1. The previous contents of ACCU 1 are
L
IW 6
shifted to ACCU 2.
Combine the contents of both accumulators bit by bit through logic
XOW
EXCLUSIVE OR.
Transfer the result (contents of ACCU 1) to output word QW 86.
T
QW 86
15
ACCU 2
0 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0
ACCU 1
1 0 0 1 1 0 0 1 1 1 0 0 0 1 1 0
ACCU 1
1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0
EWA 4NEB 812 6115-02b
Explanation
Numeric Example
IW70
0
X-OR
IW6
Result
STEP 5 Operations
Check to see if input words IW70
and IW6 are equal.
The result bit is set to "1" only if
corresponding bits in ACCU 1 and
ACCU 2 are unequal.
8-47

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s5-95u

Table of Contents