beautypg.com

Encoder position object, 9 encoder position object – Baumer G1-G2-G0-GE-GB-GXxxx User Manual

Page 11

background image

Manual_DeviceNet_BIDE_EN.docx

11/18

Baumer IVO GmbH & Co. KG

22.11.12

Villingen-Schwenningen, Germany

9 Encoder position object

The encoder position object is a manufacturer-specific object. The class code is 2Fh.

Instance attributes
Due to their differing functionality, the instance attributes are subdivided into two groups.
The first group, attribute I to 12, contains the parameters for position calculation.
The second group, attribute 80 to 95, contains the diagnostic functions.
Changed parameters are only saved in the non-volatile memory by the "save" service.

Table: Parameters for position calculation

Attribute ID

Access

Name

Data type

Description

Values

1

read

No. of attributes

USINT

Number of supported attributes

2

read

Attributes

Array of
USINT

List of supported attributes

3

read/
write

Sense of rotation

BOOL

Setting the sense of rotation

0 = CW
1 = CCW

4

read

Internal diagnostic
function

BOOL

Not used

0 = OFF

5

read

Scaling function

BOOL

Activation of the scaling
function

1 = ON

6

read

Position format

USINT

Format of the position value

0 = Steps

7

read/
write

Steps per turn

UDINT

Number of required steps per
turn

See op.
parameters

8

read/
write

Total resolution

UDINT

Number of required steps over
the measurement range

See
operating
parameters

9

read

Reserved

UDINT

Reserved

= 0

10

read/
write

Preset value

UDINT

The position value is set to the
preset value

See op.
parameters

11

read/
write

COS delta

DINT

Minimal position change value
in the COS mode

1 to overall
resolution

12

read

Position value

DINT

Current position value

1 to overall
resolution


Steps per turn
The parameter "Steps per turn" defines the number of steps per revolution. If this parameter is set, the overall
resolution is changed according to the following formula:
Total resolution = Steps per turn x turns

Sense of rotation
The sense of rotation defines whether the position values of the encoder increase when rotation takes place
clockwise (CW) or counter clockwise (CCW) when looking at the shaft.

Total resolution in steps
The parameter "Total resolution in steps" defines the total number of steps over the entire measurement
range.

Example:

Steps per turn = 3600; Turns = 256;  Total resolution = 3600 x 256 = 921600


If the number of turns is programmed as a value not equal to 2

n

(1, 2, 4,...65536), parameterizing will have to

be done anew as soon as the encoder's zero point has been exceeded in powerless state

.