Siemens SIMATIC S5-100U System Manual page 205

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

S5-100U
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 QW86.
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-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

Table of Contents