Siemens SIMATIC S5 Manual page 253

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

S5-115F Manual
for organization blocks (OB)
for program blocks (PB)
for function blocks (FB)
for sequence blocks (SB)
Operands
Ope-
ration
(STL)
I
Q
F
T
Conversion Operations
CFW
CSW
Shift Operations
Parameter
SLW
n=0 to 15
Parameter
SRW
n=0 to 15
Jump Operations
Symbolic address
SPA=
max. 4 characters
Symbolic address
SPB=
max. 4 characters
Symbolic address
SPZ=
max. 4 characters
Symbolic address
SPN=
max. 4 characters
Symbolic address
SPP=
max. 4 characters
Symbolic address
SPM=
max. 4 characters
Symbolic address
SPO=
max. 4 characters
1 RLO is set to "1"
EWA 4NEB 811 6149-02
1 RLO-depend.?
Execution time
2 RLO affected?
3 RLO reloaded?
C
1
2
3
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
1
Y
Y
Y
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
in µsec.
CPU
942F
1.6
Form the one's complement of ACCUM 1.
Form the two's complement of ACCUM 1.
1.6
CC1/CC2 and OV are affected
Shift the contents of ACCUM 1 to the left by the value specified
in the parameter.
1.6
Positions becoming vacant are padded with zeros.
CC1/CC0 are affected
Shift the contents of ACCUM 1 to the right by the value
specified in the parameter.
1.6
Positions becoming vacant are padded with zeros.
CC1/CC0 are affected
Unconditional jump to symbolic address
1.6
Conditional jump to symbolic address
1.6
(If the RLO = "0", it is set to "1")
Jump if the result is zero: the jump is only made if
1.6
CC1 = 0 and CC0 = 0. The RLO is not changed.
Jump if the result is not zero: the jump is only made if
1.6
CC1 CC0. The RLO is not changed.
Jump if the result is greater than zero: the jump is only made if
1.6
CC1 = 1 and CC0 = 1. The RLO is not changed.
Jump if the result is less than zero: the jump is only made if
1.6
CC1 = 0 and CC0 = 1. The RLO is not changed.
Jump on overflow: the jump is only made if the OVERFLOW bit
1.6
is set. The RLO is not changed.
List of Operations
Function
A-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents