EasyManua.ls Logo

Siemens S5-100U - A.1.4 Evaluation of CC 1 and CC 0

Siemens S5-100U
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operations List, Machine Code and Abbreviations S5-100U
* 1 RLO dependent ? 2 RLO affected ? 3 RLO reloaded ?
1) RLO is set to “1”
Y
1)
Oper-
ation
(STL)
Permissible
Operands
RLO*
1
Function
2 3
Block Call Operations and Return Operations
JU OB
JC OB
Call an organization block
unconditionally.
Call an organization block
conditionally.
N N Y
Y Y
Arithmetic Operations
ADD BF Add byte constant (fixed point)
to ACCU 1.
Add fixed-point constant
(word) to ACCU 1.
ADD KF
N N N
N N N
-- -- 187
-- -- 194
Jump Operation
JUR
Jump at random within a
function block (jump distance
-32768 to + 32767)
N N N -- -- 131
-- -- 58
-- -- 104
CPU 103
MA02 MA03
Execution Time in µs
CPU 100 CPU 102
68
35
3.35
3.35
82
STS
TAK
Stop operation. Program pro-
cessing is interrupted imme-
diately after this operation.
Swap the contents of ACCU 1
and ACCU 2.
N N N
N N N
-- --
-- -- 74 57
Other Operations
A.1.4 Evaluation of CC 1 and CC 0
CC 1
Arithmetic
Operations
Digital
Logic
Operations
CC 0
Comparison
Operations
Shift
Operations
Conversion
Operations
0 0 Result
= 0
Result
= 0
0 1 Result
< 0
1 0 Result
> 0
Result
0
ACCU 2
= ACCU 1
shifted
bit = 0
ACCU 2
< ACCU 1
Result
< 0
ACCU 2
> ACCU 1
shifted
bit = 1
Result
> 0
A-14
EWA 4NEB 812 6120-02

Table of Contents

Related product manuals