Siemens S5-100U User Manual page 202

Simatic s5 programmable controller
Hide thumbs Also See for S5-100U:
Table of Contents

Advertisement

S5-100U
STL
L
IW 70
L
IW 6
XOW
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 6120-02
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
IW70
IW6
Result
Explanation
Check to see if input words IW70
0
and IW6 are equal.
The result bit is set to "1" only if
corresponding bits in ACCU 1 and
X-OR
ACCU 2 are unequal.
STEP 5 Operations
8-47

Advertisement

Table of Contents
loading

Table of Contents