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

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

Operations List, Machine Code and Abbreviations
Oper-
Permissible
RLO*
ation
Operands
(STL)
1
Block Call Operations and Return Operations
JU
OB
N
JC
OB
Y
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
CPU 100
CPU 102
2
3
N
Y
--
1)
Y
--
N
N
--
N
N
--
N
N
--
N
N
--
N
N
--
2 RLO affected ?
3 RLO reloaded ?
Digital
Logic
Operations
Result
= 0
Result
0
CPU 103
MA02
MA03
--
187
3.35
Call an organization block
unconditionally.
--
194
3.35
Call an organization block
conditionally.
Jump at random within a
--
131
82
function block (jump distance
-32768 to + 32767)
--
58
35
Add byte constant (fixed point)
to ACCU 1.
--
104
68
Add fixed-point constant
(word) to ACCU 1.
--
Stop operation. Program pro-
cessing is interrupted imme-
diately after this operation.
--
74
57
Swap the contents of ACCU 1
and ACCU 2.
Comparison
Shift
Operations
Operations
ACCU 2
shifted
= ACCU 1
bit = 0
ACCU 2
< ACCU 1
ACCU 2
shifted
> ACCU 1
bit = 1
S5-100U
Function
Conversion
Operations
Result
< 0
Result
> 0
EWA 4NEB 812 6120-02b

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents