S5-90U/S5-95U
STEP 5 Operations
Transferring to the System Data Area
Example:
Set the scan monitoring time for the OB13 calls to 1 s after each mode change from
”STOP” to ”RUN”. The following function block can be called from OB21, for example.
Explanation
STL
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
FB 11
L
KF
+100
T
RS
97
BE
Block number and type
Load ACCU 1 with the factor 100.
Transfer this value to system data word 97.
!
Caution
The TIR, TRS and TNB operations are memory changing operations with which you can
accesss the user memory and the system data area. These accesses are not monitored
by the operating system. Improper use of the operations can lead to changes in the
program and to a programmable controller crash.
8.3.3
Arithmetic Operation (only for the S5-95U)
An arithmetic operation changes the contents of ACCU 1 by a specified value. The parameter re-
presents this value as a positive or negative number. Table 8-28 shows the essential features of the
”ADD” operation. An example follows the table.
Table 8-28. Overview of the ”ADD” Operation
Operation
Meaning
Operand
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
ADD
Add a constant
Add byte or word constants.
Parameter
-128 to +127
-32768 to +32767
ID
BF
KF
Processing
An arithmetic operation is executed independently of the RLO. It does not affect the RLO or the
condition codes.
You can subtract by entering a negative parameter.
Even if the result cannot be represented by 16 bits, no carry is made to ACCU 2, i.e., the contents
of ACCU 2 are not changed.
EWA 4NEB 812 6115-02b
8-67
Содержание SIMATIC S5-90U
Страница 3: ...SIMATIC S5 S5 90U S5 95U Programmable Controller System Manual EWA 4NEB 812 6115 02b Edition 03 ...
Страница 6: ...EWA 4NEB 812 6115 02b ...
Страница 16: ...EWA 4NEB 812 6115 02b ...
Страница 23: ......
Страница 32: ...EWA 4NEB 812 6115 02b ...
Страница 46: ...EWA 4NEB 812 6115 02b ...
Страница 50: ......
Страница 51: ......
Страница 52: ......
Страница 53: ......
Страница 54: ......
Страница 55: ......
Страница 57: ......
Страница 58: ......
Страница 59: ......
Страница 64: ......
Страница 65: ......
Страница 66: ......
Страница 67: ......
Страница 89: ......
Страница 102: ...EWA 4NEB 812 6115 02b ...
Страница 118: ...EWA 4NEB 812 6115 02b ...
Страница 242: ...EWA 4NEB 812 6115 02b ...
Страница 288: ...EWA 4NEB 812 6115 02b ...
Страница 300: ...EWA 4NEB 812 6115 02b ...
Страница 362: ...EWA 4NEB 812 6115 02b ...
Страница 536: ...EWA 4NEB 812 6115 02b ...
Страница 538: ...EWA 4NEB 812 6115 02b ...
Страница 540: ...EWA 4NEB 812 6115 02b ...
Страница 562: ...EWA 4NEB 812 6115 02b ...
Страница 564: ...EWA 4NEB 812 6115 02b ...
Страница 590: ...EWA 4NEB 812 6115 02b ...
Страница 596: ...EWA 4NEB 812 6115 02b ...
Страница 598: ...EWA 4NEB 812 6115 02b ...
Страница 604: ...EWA 4NEB 812 6115 02b ...
Страница 606: ...EWA 4NEB 812 6115 02b ...
Страница 608: ...EWA 4NEB 812 6115 02b ...
Страница 610: ...EWA 4NEB 812 6115 02b ...
Страница 620: ...EWA 4NEB 812 6115 02b ...