Position Number And Position Value For Positions 1 To 254 - Siemens Simatic S5 IP 240 Manual

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

Advertisement

Positioning

Position number and position value for positions 1 to 254

In the tables below, the first word for a position entry is always identified by variable n. The first
position entry begins at data word DW 60.
1st
position entry
2nd
position entry
3rd
position entry
254th position entry:
Position number
Data
byte
7
DL n
0
7
DR n
2
Permissible values: 1 to 254
Position value
Binary representation
Data
byte
7
6
DL n+1
SE
SE
23
22
DR n+1
2
2
15
14
DL n+2
2
2
7
6
DR n+2
2
2
Negative values must be repre-
Permissible values:
10-84
: DW 60
to DW 62
: DW 63
to DW 65
: DW 66
to DW 68
DW 819 to DW 821 (n=819)
Binary representation
6
5
0
0
6
5
2
2
Bit
5
4
3
2
1
SE
SE
SE
SE
SE
21
20
19
18
17
2
2
2
2
2
13
12
11
10
9
2
2
2
2
2
5
4
3
2
1
2
2
2
2
2
sented by the two's
complement.
SE=Sign extension
• From - 9,999,999 to+9,999,999 for a linear axis
• From 0 to+[final pos. of the rotary axis - 1] for a rotary axis
(n=60)
(n=63)
(n=66)
:
Bit
4
3
2
0
0
0
4
3
2
2
2
2
BCD representation
Bit
0
7
6
5
4
SE
SG
16
5
2
10
8
3
2
10
0
1
2
10
"1111" must be entered in the
high-order nibble (SG) for a
negative number.
1
0
0
0
1
0
2
2
3
2
1
0
6
10
4
10
2
10
0
10
EWA 4NEB 811 6120-02a
IP 240

Advertisement

Table of Contents
loading

Table of Contents