Setting the Absolute Position for Encoder 2

Setting the Absolute Position for Encoder 2

The absolute position of the encoder connected to the encoder module can be set via the parameter parameter ENC2_adjustment.

This setting is only relevant for analog encoders with the interface SinCos Hiperface, for digital encoders with the interface EnDat 2.2, BiSS or SSI, and for resolver encoders.

Setting the absolute position also shifts the position of the index pulse of the encoder and the index pulse of the encoder simulation.

The current absolute position can be read with the parameter _p_act_ENC2.

Parameter name

HMI menu

HMI name

Description

Unit

Minimum value

Factory setting

Maximum value

Data type

R/W

Persistent

Expert

Parameter address via fieldbus

_p_act_ENC2

Actual position of encoder 2 (module).

Type: Signed decimal - 4 bytes

usr_p

-

-

-

INT32

R/-

-

-

Modbus 7732

IDN P-0-3030.0.26

ENC2_adjustment

Adjustment of absolute position of encoder 2.

The value range depends on the encoder type at the physical port ENC2.

This parameter can only be changed if the parameter ENC_abs_source is set to 'Encoder 2'.

Singleturn encoder:

0 … x-1

Multiturn encoder:

0 … (y*x)-1

Singleturn encoder (shifted with parameter ShiftEncWorkRang):

-(x/2) … (x/2)-1

Multiturn encoder (shifted with parameter ShiftEncWorkRang):

-(y/2)*x … ((y/2)*x)-1

Definition of 'x': Maximum position for one encoder turn in user-defined units. This value is 16384 with the default scaling.

Definition of 'y': Revolutions of the multiturn encoder.

If processing is to be performed with inversion of the direction of movement, this must be set before the encoder position is adjusted.

After the write access, the parameter values have to be saved to the nonvolatile memory and the drive has to be powered off, before the change becomes active.

Type: Signed decimal - 4 bytes

Write access via Sercos: CP2, CP3, CP4

Modified settings become active the next time the product is powered on.

usr_p

-

-

-

INT32

R/W

-

-

Modbus 1352

IDN P-0-3005.0.36

After setting the absolute position and after restarting the drive, verify the absolute position via parameter _p_act_ENC2.

NOTE: If you have replaced the drive or replaced the encoder you must set and verify the absolute position again.

For more details on the parameters of the encoder (for example parameter ShiftEncWorkRang) see the user guide of the drive.