3 commissioning mode, 1 setting the counting direction – BEI Sensors MHK5 Absolute Hollow Shaft Encoder User Manual

Page 24

Advertising
background image

5.3 Commissioning mode

If the commissioning mode is activated in the
encoder parameters, the scaling factor can be
determined directly in the machine by a „Teach-In“.
The commissioning mode is indicated by the
flashing green LED and bit 26 in the input double
word (bit 26 set to 0).
If the encoder starts up in commissioning mode the
parameters in the system configuration (code
sequence, scaling) are ignored. Parameters stored
in an internal EEPROM are used instead. If code
sequence or scaling factor are modified in
commissioning mode, the new values will be
stored non-volatile and the encoder works with this
new parameters.
The proceeding in commissioning mode is as
follows:

-

The encoder is installed in the machine /
system.

-

The commissioning mode is activated
(parameter settings, cp. 5.1.4)

-

The counting direction is changed (if
necessary).

-

Machine / system is to be moved to the start
position.

-

The Teach-In-Start command is transmitted to
the encoder.

-

Machine / system is to be moved to the stop
position.

-

With the Teach-In-Stop command the desired
number of steps is transferred to the encoder.

-

Set the preset value.

-

The parameters in the system configuration
are set to the values determined with the
Teach-In procedure.

-

Commissioning mode is deactivated
(parameter settings).



5.3.1 Setting the counting direction

If the encoder is operating in commissioning mode,
the counting direction (code sequence) can be
changed online. The current code sequence is
indicated with bit 28 in the 32-bit-process value (0:

increasing clockwise / 1: increasing counter
clockwise). With bit 28 in the output double word
the counting direction can be changed.

Status bits

Data bits

Bit

31 30 29 28

27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Master

MHM5

0 0 0 1

0 0 0 Changing the counting direction by setting bit 28

MHM5

Master

0 0 0 0/1 0 0 1 Encoder sends acknowledgement (new counting direction) in bits 0 and 28

0/1

Master

MHM5

0 0 0 0

0 0 0 Changeover is completed by reset bit 28

MHM5

Master

0 0 0 0/1 X 0 1 Output process value with changed counting direction


The counting direction is stored non-volatile in an internal EEPROM.

Page 24

BEI Sensors Profibus Manual serie M

Revision 03/10

Advertising
This manual is related to the following products: