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