Baumer GNAMG User Manual

Page 14

Advertising
background image

Manual_GNAMG_Profibus_EN.doc 14/19

Baumer IVO GmbH & Co. KG

04.05.11

Villingen-Schwenningen,

Germany

6.6. Preset

function

The control can transmit a preset value to the inclination sensor, thus setting the inclination sensor at the
predetermined mechanical position to a defined position value. The preset must be within the programmed
total sensing range depending on the selected resolution.

For optimum alignment of mechanical position and preset value, it is recommended to set the preset only
when the inclination sensor is idle.
For setting the preset, the preset value is transmitted twice to the inclination sensor by the control: First
with set most significant bit (MSB), second again with reset MSB. So to say, the MSB serves as „Clock“
bit. The first transmission is relevant for the time of adoption.

The set preset value must be within the limits of the parameterized resolution listed in the table below:


Sensor

Resolution

Minimum limit

Maximum limit

30° 0.001°

-30000

+30000

0.01°

-3000

+3000

0.1°

-300

+300

1.0°

-30

+30


The corresponding two command sequences for the preset:


At the 360° sensor the X-axis must be write only!


Axis

With set MSB

With reset MSB

X -axis

10000101 (0x85)

00000101 (0x05)

Y-axis

10000110 (0x86)

00000110 (0X06)



Example: Reset of the inclination sensor X-axis (Preset value = 0)

Step

1:

(Command

byte)

Output byte 10

Output byte 11

Output byte 12

Output byte 13

Output byte 14

00000000 (0x00)

00000000 (0x00)

00000000 (0x00)

00000000 (0x00)

10000101 (0x85)

Step

2:

00000000 (0x00)

00000000 (0x00)

00000000 (0x00)

00000000 (0x00)

00000101 (0x05)


6.7. Offset function (not possible for the 360° sensor)

Utilizing the difference between actual position value and preset value the inclination sensor calculates for
internal purposes a so-called offset value that normally is not relevant for the application. However, it is
also possible to define a specific offset value that is added to the actual inclination value of the axis.
The procedure is the same as for setting the preset, and also the offset limits must be selected according
to the parameterized resolution.

Sensor

Resolution

Minimum limit

Maximum limit

30° 0.001°

-30000

+30000

0.01°

-3000

+3000

0.1°

-300

+300

1.0°

-30

+30


Both command sequences for the offset:

Axis

With set MSB

With reset MSB

X-axis

10010001 (0x91)

00010001 (0x11)

Y-axis

10010010 (0x92)

00010010 (0X12)

Advertising