beautypg.com

1 code sequence, 2 class 2 functionality, 3 commissioning diagnostics – BEI Sensors MHK5 Absolute Hollow Shaft Encoder User Manual

Page 13: 4 scaling function, 5 measuring units per revolution

background image

4.1.1 Code sequence

The parameter „code sequence“ defines the
counting direction of the position value. The code
increases when the shaft is rotating clockwise

(CW) or counter-clockwise (CCW) (view onto the
shaft). The code sequence is defined in bit 0 of
octet 9:

Octet 9 Bit 0

Direction of rotation when viewing the shaft

Code

0 Clockwise

(CW)

Increasing

1 Counter-clockwise

(CCW)

Increasing

In Class 1 this is the only parameter that can be set.

4.1.2 Class 2 functionality

Using this switch Class 2 encoders can be
restricted to the functionality of Class 1, i.e. the
scaling parameters are disabled. To use the class
2 functionalities bit 1 in octet 9 has to be set.

4.1.3 Commissioning diagnostics

This function has no significance for the encoder.

4.1.4 Scaling function

The parameter „scaling function“ enables the
scaling parameters „resolution per revolution“ and
„total resolution“. This switch should always be
activated if functions of class 2 (or even higher
classes 2.1 and 2.2) are to be used.

4.1.5 Measuring units per revolution

The parameter „measuring units per revolution“ is
used to program a desired number of steps over
one revolution. If the value exceeds the basic
(physical) resolution of the encoder, the output
code is no longer in single steps. Starting with
generation “B1” the encoder indicates a parameter

error (LED) and it will not enter the data exchange
mode.
With high resolution encoders it may be necessary
to divide the value into high and low word
(depending on the software tool), refer to page 35.


Octet 10

11

12

13

Bit

31 - 24

23 - 16

15 - 8

7 – 0

Data 2

31

to 2

24

2

23

to 2

16

2

15

to 2

8

2

7

to 2

0

Desired measuring units per revolution

Octet 9 Bit 1 Class 2 functionality

0 Switched

off

1 Switched

on

Octet 9 Bit 3

Scaling function

0 Switched

off

1 Switched

on

Revision 03/10

BEI Sensors Profibus Manual serie M

Page 13

This manual is related to the following products: