Siemens S5-100U User Manual page 469

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

Advertisement

S5-100U
Oper-
Permissible
ation
Operands
(STL)
1
Conversion Operations
CFW
N
CSW
N
Shift Operations
SLW
Parameter
N
n=0 to 15
SRW
Parameter
N
n=0 to 15
Jump Operations
JU=
Symbolic
N
address max.
4 characters
JC=
Symbolic
Y
address max.
4 characters
JZ=
Symbolic
N
address max.
4 characters
JN=
Symbolic
N
address max.
4 characters
JP=
Symbolic
N
address max.
4 characters
JM=
Symbolic
N
address max.
4 characters
JO=
Symbolic
N
address max.
4 characters
*
1 RLO dependent ?
1)
RLO is set to "1".
EWA 4NEB 812 6120-02
RLO*
Execution Time in µs
CPU 100
2
3
N
N
42
N
N
60
N
N
47+
n·10
N
N
47+
n·10
N
N
62
1)
Y
Y
65
N
N
69
N
N
69
N
N
71
N
N
71
N
N
65
2 RLO affected ?
Operations List, Machine Code and Abbreviations
CPU 102
CPU 103
MA02
MA03
4
1.6
0.8
23
1.6
0.8
12+
1.6
0.8
n·10
12+
1.6
0.8
n·10
2
1.6
0.8
5
1.6
0.8
6
1.6
0.8
10
1.6
0.8
6
1.6
0.8
6
1.6
0.8
4
1.6
0.8
3 RLO reloaded ?
Function
Form the one's complement of
ACCU 1.
Form the two's complement of
ACCU 1. CC 1/CC 0 and OV
are affected.
Shift the contents of ACCU 1
to the left by the value
specified in the parameter.
Unassigned positions are
padded with zeros.
CC 1/CC 0 are affected.
Shift the contents of ACCU 1
to the right by the value
specified in the parameter.
Unassigned positions are
padded with zeros.
CC 1/CC 0 are affected.
Jump unconditionally to the
symbolic address.
Jump conditionally to the
symbolic address. (If the RLO
is "0", it is set to "1".)
Jump if the result is zero. The
jump is made only if CC 1=0
and CC 0=0. The RLO is not
changed.
Jump if the result is not zero.
The jump is made only if
CC 1 CC 0. The RLO is not
changed.
Jump if the sign of the result is
"+". The jump is made only if
CC 1=1 and CC 0=0. The
RLO is not changed.
Jump if the sign of the result is
"-". The jump is made only if
CC 1=0 and CC 0=1. The
RLO is not changed.
Jump on overflow. The jump is
made only if the OVERFLOW
bit is set. The RLO is not
changed.
A-11

Advertisement

Table of Contents
loading

Table of Contents