Siemens SIMATIC S5-95F Manual page 230

Table of Contents

Advertisement

STEP 5 Operations
STL
L
IW 12
CSW
T
DW 100
15
ACCU 1
0 1 0 1 1 0 0 1
15
ACCU 1
1 0 1 0 0 1 1 0 0 0 1 1 1 0 1 1
8-50
Load the contents of input word IW12 into ACCU 1.
Invert all bits and add a "1".
Transfer the altered word to data word DW100.
Numeric Example
IW 12
1 1 0 0 0 1 0 1
CSW
Explanation
Form the negative value of the value
0
in input word IW12.
+1
0
S5-95F
EWA 4NEB 812 6210-02

Advertisement

Table of Contents
loading

Table of Contents