Siemens SIMATIC S5-100U System Manual page 209

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

Advertisement

S5-100U
STL
Load the contents of input word IW12 into ACCU 1.
L
IW 12
Invert all bits and add a "1".
CSW
Transfer the altered word to data word DW100.
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-02b
Explanation
Numeric Example
IW12
0
1 1 0 0 0 1 0 1
+1
CSW
0
STEP 5 Operations
Form the negative value of the value
in input word IW12.
8-51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents