Transferring The Position Data For Position 0 - Siemens Simatic S5 IP 240 Manual

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

Advertisement

IP 240
Table 10-18. Contents of the DB and the Transfer Buffer for Writing Position 0
Data byte
Data
7
block
DL 37
DR 37
23
2
DL 38
15
2
DR 38
7
2
DL 37
DR 37
DL 38
DR 38
DL 39
0
DR 39
0
DL 40
15
2
DR 40
7
2
DL 41
0
DR 41
0
DL 42
15
2
DR 42
7
2
DL 43
15
2
DR 43
7
2
DL 44
0
with control FB 168
You must specify one of the following job
numbers to transfer the position data for
position 0:
: JU FB 168
NAME : STEU.POS
:
FKT
: 22,0
EWA 4NEB 811 6120-02a
Bit
6
5
4
3
SE
22
21
20
19
2
2
2
2
14
13
12
11
2
2
2
2
6
5
4
3
2
2
2
2
SG
5
10
3
10
1
10
. . .
0
0
19
. . .
0
2
14
13
12
11
2
2
2
2
6
5
4
3
2
2
2
2
. . .
0
0
19
. . .
0
2
14
13
12
11
2
2
2
2
6
5
4
3
2
2
2
2
14
13
12
11
2
2
2
2
6
5
4
3
2
2
2
2
. . .
0
0

Transferring the position data for position 0

Offset
in transfer
2
1
0
buffer
0
18
17
16
1
2
2
2
2
10
9
8
2
2
2
3
2
1
0
2
2
2
0
6
10
4
1
10
2
10
2
3
0
10
4
. . .
0
18
17
16
5
2
2
2
6
10
9
8
2
2
2
7
2
1
0
2
2
2
8
. . .
0
9
18
17
16
2
2
2
10
10
9
8
2
2
2
11
2
1
0
2
2
2
12
10
9
8
2
2
2
13
2
1
0
2
2
2
14
0
0
GAUE
in direct data interchange
You must specify one of the following job
numbers to transfer the position data for
position 0:
For channel 1: 18
For channel 2: 28
If you also want to transfer the bytes with
offset 4 and 8, you must first initialize them
to "0".
Positioning
Description
Position value,
in binary
A negative value is in two's
complement representation
SE=Sign extension
Position value,
in BCD
"111" must be entered in the
high-order nibble of DL 37
(SG) for a negative value.
Distance value for
range BEE1
Distance value for
range BEE2
Distance value for
range BEE3
Control bit GAUE
H
H
10-53

Advertisement

Table of Contents
loading

Table of Contents