Technical Manual
WDGA with EtherNet/IP
4 - EtherNet/IP
© Wachendorff Automation GmbH & Co. KG
25
4.4.2 Position Sensor Object 23h
The Position Sensor Object provides all process data of the encoder.
Attr.
-ID
Name
Data
type
Access
Description
1
Number
of
Attributes
USINT
R
Represents the number of
attributes implemented in the
Position Sensor Object.
2
Attribute List
Array
of
USINT
R
Outputs
all
implemented
attributes as a list.
3
Position
Value
unsigned
UDINT
R
Indicates the position value of
the encoder (see Table 4.4:
Assembly 1).
11
Position
Sensor
Type
UINT
R
Indicates which type the position
sensor has.
01h
=
Absolute
singleturn
encoder
02h
=
Absolute
multiturn
encoder
12
Direction Counting
Toggle
BOOL
RW
Defines the counting direction of
the position value with view to
the encoder shaft.
0 = positive counting direction of
the position value with clockwise
shaft rotation.
1 = positive counting direction
with
counterclockwise
shaft
rotation.
14
Scaling
Function
Control
BOOL
RW
The scaling of the encoder can
be switched on or off herewith.
If 0: Position value (attr. 3) =
physical
resolution
of
the
encoder.
If 1: Position value (attr. 3) =
(physical
resolution
of
the
encoder) * (MUPR (attr. 16) /
Physical Resolution Span (attr.
42))
16
Measuring
Units
per span
UDINT
RW
See: Table 4.9
17
Total
Measuring
Range
in
Measuring Units
UDINT
RW
See: Table 4.9