Other Operations (Only For The S5-95U) - Siemens SIMATIC S5-90U System Manual

Table of Contents

Advertisement

STEP 5 Operations
Example
Decrement the constant 1020
and store the result in flag word
FW 28. Afterwards add the constant
256 to the result and store the sum in
flag word FW30.
8.3.4

Other Operations (only for the S5-95U)

Table 8-29 provides an overview of the remaining system operations.
Operation
Operand
TAK
STS
Processing the "STS" Operation
When the "STS" operation is executed, the programmable controller goes into the "STOP" mode
immediately.
Program scanning is terminated at this point.
cancelled manually (with the mode selector) or with the programmer function "PC START".
8-68
by 33
L
H
ADD
T
ADD
T
Table 8-29. The "TAK" and "STS" Operations
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.
Stop immediately
The PLC goes into the "STOP" mode regardless of the RLO.
STL
The constant 1020
KH
1020
ACCU 1.
The constant -33
BF
-33
the ACCU contents.
The new ACCU contents (0FFF
FW
28
are stored in flag word FW28.
The constant 256
KF
256
the last result.
The new ACCU contents (10FF
FW
30
are stored in flag word FW30.
Meaning
The "STOP" state can only be
S5-90U/S5-95U
Explanation
is loaded into
H
is added to
10
)
H
is added to
10
)
H
EWA 4NEB 812 6115-02b

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s5-95u

Table of Contents