A.1.4 Evaluation Of Cc 1 And Cc 0 - Siemens S5-100U User Manual

Simatic s5 programmable controller
Hide thumbs Also See for S5-100U:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents