Siemens SIMATIC S5 Manual page 144

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

STEP 5 Operations
STL
L
IW 71
L
IW 5
XOW
T
QW 86
15
ACCUM 2
0 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0
ACCUM 1
1 0 0 1 1 0 0 1 1 1 0 0 0 1 1 0
ACCUM 1
1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0
3-48
Load input word IW 71 into ACCUM 1.
Load input word IW 5 into ACCUM 1. The previous contents of ACCUM 1
are shifted to ACCUM 2.
Combine the contents of both accumulators bit by bit through
EXCLUSIVE OR.
Transfer the result (contents of ACCUM 1) to output word QW 86.
Numeric Example
IW 71
IW 5
Result
Explanation
Check to see if input words IW 71
0
and IW 5 are equal. The result bit is
set to "1" only if corresponding bits
in ACCUM 1 and ACCUM 2 are
X-OR
unequal.
S5-115F Manual
EWA 4NEB 811 6149-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents