![Leuze electronic AMS 338i Technical Description Download Page 62](http://html1.mh-extra.com/html/leuze-electronic/ams-338i/ams-338i_technical-description_1883970062.webp)
EtherCAT interface
Leuze electronic
AMS 338
i
59
TNT
35/7-2
4
V
9.7.6
AMS 338
i
-specific object area
9.7.6.1
Object 2000
h
Position value
The object position value describes the following entries:
• Sign for negative position values
• Unit of the position value: metric or inch
• Resolution of the position value
• Counting direction of the position value
• A possible offset value
• Value for the free resolution
Sub-index 03 resolution
The resolution in mm or inch/100, in accordance with the unit selected.
The value for the free resolution must be set in sub-index 06.
Sub-index 04 counting direction
Attention!
The DS406 encoder specification prescribes that the counting direction can be set in
object 6000 bit 3. Object 2000 sub-index 04 and object 6000 bit 3 overwrite each other.
1
MSB
Status
see object description 2026
h
2
3
Byte
Bit
Remark
7
6
5
4
3
2
1
0
Index
Sub-
index
Name
Data type
Access
Value range
Remark
(hex)
(hex)
Minimum
Maximum
Default
2000
01
Sign
u 8
rw
0
1
0
0 = two's comple-
ment
1 = sign + quantity
02
Measure-
ment unit
u 8
rw
0
1
0
0 = metric
1 = inch (in)
03
Resolution
u 8
rw
0
6
4
Value 1 = 0.001
Value 2 = 0.01
Value 3 = 0.1
Value 4 = 1
Value 5 = 10
Value 6 = free reso-
lution
04
Count direc-
tion
u 8
rw
0
1
0
0 = positive
1 = negative
for further remarks,
see below
05
Offset value
int 32
rw
-999999
999999
0
see remarks below
06
Free resolu-
tion value
u 16
rw
5
50000
1000
see remarks below