Siemens SIMATIC S5-95F Manual page 548

Table of Contents

Advertisement

S5-95F
for organization blocks (OB)
for program blocks (PB)
Oper-
Permissible
ation
Operands
(STL)
Counter Operations
CU
C
CD
C
S
C
R
C
Arithmetic Operations
+F
-F
Comparison Operations
!=F
><F
>F
>=F
<F
<=F
EWA 4NEB 812 6210-02
Typical
1 RLO depend.
Execution Time
2 RLO affected
in µs
3 RLO reloaded
1
2
3
On-
board
Y
N
Y
18
Y
N
Y
18
Y
N
Y
56
Y
N
Y
17
N
N
N
19
N
N
N
22
N
Y
N
21
N
Y
N
22
N
Y
N
22
N
Y
N
22
N
Y
N
22
N
Y
N
22
Ext.
I/O
Counter counts up 1
Counter counts down 1
Set counter
Reset counter
Add two fixed-point numbers: ACCU 1+ACCU 2.
CC 1 / CC 0 / OV are affected.
Subtract one fixed-point number from another:
ACCU 2 - ACCU 1. CC 1 / CC 0 / OV are affected.
Compare two fixed-point numbers for "equal to": If
ACCU 2=ACCU 1, the RLO is "1".
CC 1 / CC 0 are affected.
Compare two fixed-point numbers for "not equal to": If
ACCU 2 ACCU 1, the RLO is "1".
CC 1 / CC 0 are affected.
Compare two fixed-point numbers for "greater than":
If ACCU 2 > ACCU 1, the RLO is "1".
CC 1 / CC 0 are affected.
Compare two fixed-point numbers for "greater than or
equal to": If ACCU 2 ACCU 1, the RLO is "1".
CC 1 / CC 0 are affected.
Compare two fixed-point numbers for "less than":
If ACCU 2 < ACCU 1, the RLO is "1".
CC 1 / CC 0 are affected.
Compare two fixed-point numbers for "less than or equal
to": If ACCU 2 ACCU 1, the RLO is "1".
CC 1 / CC 0 are affected.
Operations List
for function blocks (FB)
for sequence blocks (SB)
Function
C-5

Advertisement

Table of Contents
loading

Table of Contents