
STEP 5 Operations
S5-100U
STL
Explanation
Example
Decrement the constant 1020
H
by 33
and store the result in flag word
FW28. Afterwards add the constant
256 to the result and store the sum in
flag word FW30.
L
KH
1020
ADD
BF
-33
T
FW
28
ADD
KF
256
T
FW
30
The constant 1020
H
is loaded into
ACCU 1.
The constant -33
0D
is added to
the ACCU contents.
The new ACCU contents (0FFF
H
)
are stored in flag word FW28.
The constant 256
0D
is added to
the last result.
The new ACCU contents (10FF
H
)
are stored in flag word FW30.
8.3.4
Other Operations
Table 8-29 provides an overview of the remaining system operations.
Table 8-29. The “TAK” and “STS” Operations
Operation
Meaning
Operand
TAK
Swap accumulator contents
Swap the contents of ACCU 1 and ACCU 2 regardless of the
RLO. The RLO and the condition codes are not affected.
STS
Stop immediately
The PLC goes into the STOP mode regardless of the RLO.
Processing the “STS” Operation
When the “STS” operation is executed, the programmable controller goes into the STOP mode
immediately. Program processing is terminated at this point. The STOP state can only be cancelled
manually (with the mode selector) or with the programmer function “PC START”.
8-68
EWA 4NEB 812 6120-02b
Содержание SIMATIC S5-100U
Страница 6: ...EWA 4NEB 812 6120 02b ...
Страница 16: ...EWA 4NEB 812 6120 02b ...
Страница 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Страница 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Страница 23: ......
Страница 27: ......
Страница 36: ...EWA 4NEB 812 6120 02b ...
Страница 40: ......
Страница 41: ......
Страница 42: ......
Страница 43: ......
Страница 48: ......
Страница 49: ......
Страница 50: ......
Страница 102: ...EWA 4NEB 812 6120 02b ...
Страница 156: ...EWA 4NEB 812 6120 02b ...
Страница 232: ...EWA 4NEB 812 6120 02b ...
Страница 268: ...EWA 4NEB 812 6120 02b ...
Страница 272: ...EWA 4NEB 812 6120 02b ...
Страница 336: ...EWA 4NEB 812 6120 02b ...
Страница 352: ...EWA 4NEB 812 6120 02b ...
Страница 412: ...EWA 4NEB 812 6120 02b ...
Страница 482: ...EWA 4NEB 812 6120 02b ...
Страница 484: ...EWA 4NEB 812 6120 02b ...
Страница 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Страница 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Страница 516: ...EWA 4NEB 812 6120 02b ...
Страница 522: ...EWA 4NEB 812 6120 02b ...
Страница 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Страница 524: ...EWA 4NEB 812 6120 02b ...
Страница 530: ...EWA 4NEB 812 6120 02b ...
Страница 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Страница 532: ...EWA 4NEB 812 6120 02b ...
Страница 534: ...EWA 4NEB 812 6120 02b ...
Страница 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Страница 536: ...EWA 4NEB 812 6120 02b ...
Страница 542: ...EWA 4NEB 812 6120 02b ...
Страница 543: ...Index EWA 4NEB 812 6120 02b ...
Страница 544: ...EWA 4NEB 812 6120 02b ...
Страница 550: ...EWA 4NEB 812 6120 02b ...