Siemens S5-100U User Manual page 206

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

Advertisement

S5-100U
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
EWA 4NEB 812 6120-02
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
IW12
1 1 0 0 0 1 0 1
CSW
Explanation
Form the negative value of the value
in input word IW12.
0
+1
0
STEP 5 Operations
8-51

Advertisement

Table of Contents
loading

Table of Contents