Table 23: Instance services of the position sensor object (for the instance attributes)
Service code Service Description
0Eh Get_Attribute_Single Returns the values of an attribute
10h Set_Attribute_Single Sets the value of an attribute
Table 24: Instance attributes of the position sensor object
Attribute
ID
Acces
s
V/NV
1
Name Description Data
type
Min. max. (default
value)
01h Get V Number of attrib‐
utes
Number of attributes in
this class
Uint 0000h
FFFFh
02h Get V Attribute list List of supported attrib‐
utes
Array of
bytes
-
0Ah Get V Position value
signed
Current position value DInt -
0Bh Get NV Position sensor
type
01h = Singleturn
02h = Multiturn
Uint 0001h
0002h
(0002h)
0Ch Set NV Direction counting Code sequence
0 = Clockwise
1 = Counterclockwise
BOOL (0)
0Dh Set NV Commissioning
diagnostic control
Encoder self-test
0 = Off
1 = On
BOOL (0)
0Eh Set NV Scaling Function
Control
Scaling
0 = Off
1 = On
BOOL (0)
0Fh Set NV Position format Format of position
measurement 1001h =
steps
ENG UInt (1001h)
10h Set NV Counts per range Number of steps per
revolution (CPR)
UDInt 00000001h
00040000h
(00040000h)
11h Set NV Total measuring
range
Total resolution (CMR) UDInt 00000001h
40000000h
(4,096 × attribute
10h)
12h Set NV Position measur‐
ing increment
Smallest resolution
(always 1)
UDInt 00000001h
00000001h
13h Set NV Preset value Preset value DInt 00000000h
Attribute 11h - 1
(00000000h)
15h Get NV Position status
register
Indicates if and how the
limit set by attributes
16h and 17h is under‐
cut/exceeded.
Bit 0 = Out of range
Bit 1 = Over range
Bit 2 = Under range
Bit 3 ... 7 = Reserved
Byte (00h)
16h Set NV Position low limit Lower limit of the posi‐
tion
2
DInt 00000000h
3FFFFFFFh
(00000000h)
17h Set NV Position high limit Upper limit of the posi‐
tion
2
DInt 00000000h
3FFFFFFFh
(3FFFFFFFh)
18h Get V Velocity value Current speed The for‐
mat is determined by
attributes 19h and 1Ah.
DInt 00000000h
XXXXXXXXh
3
PRODUCT DESCRIPTION 3
8014213/1EF3/2021-12-08 | SICK O P E R A T I N G I N S T R U C T I O N S | AFS/AFM60 EtherNet/IP
29
Subject to change without notice