beautypg.com

Scaling parameters settings, Table 36, Diagnostics, scaling parameter setting – HEIDENHAIN PROFIBUS-DP (DPV0) User Manual

Page 56

background image

Encoder and Gateway functionality, DPV0

56

5.6.16

Scaling parameters settings

The scaling parameters are set in the DDLM_Set_Prm function.

The parameters are stored in the octets 40 to 47 of the diagnostic

data. The “Measuring units per revolution” and “Total measuring

range in measuring units” parameters define the selected

resolution of the encoders. The status bit of the scaling function in

the operating status (octet 9 of the diagnostic data) indicates

whether the scaling function is enabled.

Values preset by the manufacturer of the encoder:
Measuring units per revolution = singleturn resolution.

Total measuring range in measuring units = singleturn

resolution x number of distinguishable revolutions.

The data type for both values is unsigned 32 bits.

DDLM_Slave_Diag

Octet

40

41

42

43

Bits

31-24

23-16

15-8

7-0

Data

2

31

-2

24

2

23

-2

16

2

15

-2

8

2

7

-2

0

Measuring units per revolution

DDLM_Slave_Diag

Octet

44

45

46

47

Bits

31-24

23-16

15-8

7-0

Data

2

31

-2

24

2

23

-2

16

2

15

-2

8

2

7

-2

0

Total measuring range in measuring units

Table 36

Diagnostics, scaling parameter setting