EasyManua.ls Logo

Siemens S5-100U - Page 202

Siemens S5-100U
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
S5-100U STEP 5 Operations
ExplanationSTL
L IW 70
L IW 6
XOW
T QW 86
Load input word IW70 into ACCU 1.
Load input word IW6 into ACCU 1. The previous contents of ACCU 1 are
shifted to ACCU 2.
Combine the contents of both accumulators bit by bit through logic
EXCLUSIVE OR.
Transfer the result (contents of ACCU 1) to output word QW86.
Numeric Example
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.
X-OR
Result
1 0 0 1 1 0 0 1 1 1 0 0 0 1 1 0
15 0
1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0
0 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0
IW6
ACCU 2
ACCU 1
ACCU 1
IW70
EWA 4NEB 812 6120-02
8-47

Table of Contents

Related product manuals