A.5 Evaluation Of Cc 1 And Cc - Siemens SIMATIC S5 Manual

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

List of Operations
for organization blocks (OB)
for program blocks (PB)
for function blocks (FB)
for sequence blocks (SB)
Operands
Ope-
ration
(STL)
I
Q
F
T
Other Operations
Formal operand
DI *
STS
TAK
* Do not use DI in the safety-related parts of programs.
A.5
Evaluation of CC 1 and CC 0
CC 1
CC 0
0
0
0
1
1
0
A-16
1 RLO-depend.?
Execution time
2 RLO affected?
3 RLO reloaded?
C
1
2
3
N
N
N
N
N
N
N
N
N
Digital
Arithmetic
logic
operations
operations
Result
Result
= 0
= 0
Result
< 0
Result
Result
> 0
in µsec.
CPU
942F
Process via the formal operand (indirect).
128
The number of the formal operand is in ACCUM 1.
Stop operation: Program processing is interrupted immediately
47
after this operation.
47
Swap the contents of ACCUM 1 and ACCUM 2
Comparison
operations
ACCUM 2
= ACCUM 1
ACCUM 2
-
< ACCUM 1
ACCUM 2
0
> ACCUM 1
S5-115F Manual
Function
Shift
Conversion
operations
operations
Shifted
bit = 0
Result
-
< 0
Shifted
Result
bit = 1
> 0
EWA 4NEB 811 6149-02
-

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents