C.1.3 System Operations - Siemens SIMATIC S5-95F Manual

Table of Contents

Advertisement

Operations List
C 1.3
System Operations
Oper-
Permissible
ation
Operands
(STL)
Set Operations
SU
RS
RU
RS
Load and Transfer Operations
LIR
TIR
TNB
Parameter
n=0 to 255
T
RS
Block Call Operations and Return Operations
JU
OB
JC
OB
Arithmetic Operations
ADD
BN
ADD
KF
Other Operations
STS
TAK
C.1.4
Evaluation of CC 1 and CC 0
CC
CC
Arithmetic
1
0
Operations
0
0
Result=0
0
1
Result<0
1
0
Result>0
C-12
Typical
1 RLO depend.
Execution Time
2 RLO affected
in µs
3 RLO reloaded
1
2
3
On-
board
N
N
Y
5.6
N
N
Y
5.6
N
N
N
170
N
N
N
106
N
N
N
1.2 ms+n·13 µs
N
N
N
17
N
N
Y
110
1)
Y
Y
Y
110
N
N
N
15
N
N
N
12
N
N
N
2.4
N
N
N
12
Digital
Logic Operations
Result=0
-
Result 0
Ext.
I/O
Set bit in system data area unconditionally.
Reset bit in system data area unconditionally.
Load the contents of a memory word (addressed by
ACCU 1) indirectly into the register (0: ACCU 1; 2:
ACCU 2).
Transfer the register contents (0: ACCU 1; 2: ACCU 2)
indirectly into the memory word (addressed by ACCU 1).
Transfer a field byte by byte (number of bytes 0 to 255).
Transfer a word to the system data area.
Call an organization block unconditionally.
Call an organization block conditionally.
Add byte constant (fixed point) to ACCU 1.
Add fixed-point constant (word) to ACCU 1.
Stop operation. Program processing is interrupted imme-
diately after this operation.
Swap the contents of ACCU 1 and ACCU 2.
Comparison
Operations
ACCU 2=ACCU 1
ACCU 2<ACCU 1
ACCU 2>ACCU 1
Function
Shift
Conversion
Operations
Operations
shifted bit=0
-
Result<0
shifted bit=1
Result>0
EWA 4NEB 812 6210-02
S5-95F
-

Advertisement

Table of Contents
loading

Table of Contents