Specifications
Positioning IP 240
Entering the position numbers and position values in the data block
The area beginning with DW 60 is reserved for position numbers and position values. The number
of positions determines the length of the data block ( Section 10.23.1). If you need more than 65
positions, then you also need more than 256 data words in the DB. Observe carefully the restric-
tions applying to processing of data words beyond DW 255 ( Section 10.24).
A position entry (position number and position value) always reserves three contiguous data
words in the data block. In the tables below, the variable n identifies the first word for a position
entry.
The first position entry begins at data word 60.
1st position entry : DW 60 to DW 62 (n=60)
DW 60 : Position number
DW 61 to 62 : Position value
2nd position entry : DW 63 to DW 65 (n=63)
3rd position entry : DW 66 to DW 68 (n=66)
:
254th position entry : DW 819 to DW 821 (n=819)
Position numbers in the data block
0
2
3
0
2
2
0
2
1
0
2
0
Binary representation
DL n
DR n
0
2
4
Bit
7 6 5 4 3 2 1 0
Data
byte
0
2
5
0
2
6
0
2
7
Permissible value range: 1 to 254
Position values in the data block
SE
2
19
2
11
2
3
SE
2
18
2
10
2
2
SE
2
17
2
9
2
1
SE
2
16
2
8
2
0
Binary representation BCD representation
DL n+1
DR n+1
DL n+2
DR n+2
SE
2
20
2
12
2
4
10
6
10
4
10
2
10
0
SG
10
5
10
3
10
1
Bit
7 6 5 4 3 2 1 0
Bit
7 6 5 4 3 2 1 0
Data
byte
SE
2
21
2
13
2
5
SE
2
22
2
14
2
6
SE
2
23
2
15
2
7
Negative values must be given as
two's complement.
SE=Sign extension
The high-order nibble of DL n+1
(SG) must be ”1111” for a nega-
tive number.
Permissible value ranges:
• Between - 9,999,999 and +9,999,999 for a linear axis
• Between 0 and +[final value of rotary axis - 1] for a rotary axis
Note
When you attempt to define position number ”255”, the IP 240 does not evaluate
transfer the position value.
10-30
EWA 4NEB 811 6120-02a