Siemens Simatic S5 IP 240 Manual page 194

Counter/positioning/position decoder module
Hide thumbs Also See for Simatic S5 IP 240:
Table of Contents

Advertisement

Positioning
The table below shows the contents of the data block for a zero offset.
Binary representation
Data
byte
7
6
DL 45
0
0
DR 45
0
0
DL 46
SE
SE
22
DR 46
23
2
2
DL 47
14
15
2
2
DR 47
6
7
2
2
A negative value must be spe-
cified as two's complement.
SE=Sign extension
ADD=0 for relative NVER, ADD=1 for additive NVER
After configuring and after every synchronization, the actual value is set to the value of the last
zero offset transferred, irrespective of whether the zero offset was relative or additive.
If you configured a channel for a rotary axis and transferred a negative zero offset, the actual
value is set to the value [final value for the rotary axis] + [negative zero offset].
Example:
Final value of the rotary axis
Zero offset
Actual value after synchronization
Note
After configuring, you can transfer relative or additive zero offsets in any order.
Note, however, that, after an additive zero offset, the next relative zero offset sets
NVER
rel.,old
10-28
Bit
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
ADD
SE
SE
SE
SE
SE
21
20
19
18
17
2
2
2
2
2
2
13
12
11
10
9
2
2
2
2
2
2
5
4
3
2
1
2
2
2
2
2
2
to 0 ( Section 10.18.3).
BCD representation
Bit
0
7
6
5
4
0
0
0
0
0
0
0
0
0
SG
SE
5
10
16
3
10
8
1
10
0
The high-order nibble of DL 46
(SG) must be "1111" for a nega-
tive number.
=
10,000
=
- 2,000
=
8,000
3
2
1
0
0
0
0
0
0
0
0
ADD
6
10
4
10
2
10
0
10
EWA 4NEB 811 6120-02a
IP 240

Advertisement

Table of Contents
loading

Table of Contents