4 heartbeat – Baumer BA_DSRT_22DJ Benutzerhandbuch

Seite 53

Advertising
background image

Manual_CANopen_StrainLink_EN_V3_05.doc

53/65

Baumer

22.07.11/dam

Frauenfeld, Switzerland

7.4 Heartbeat

The CANopen strain link offers the option of the heartbeat protocol. The Heartbeat protocol makes an error
control system possible without an interrogation being necessary. The Heartbeat producer transmits the
status message cyclically (defined in object 1017h). If the message does not arrive within the defined time,
the CAN bus controller can send a corresponding reaction (Network management commands).
The heartbeat time can be adjusted between 1 and 65535 (1ms up to 65.535 seconds).

7.4.1

Producer heartbeat time

Read producer heartbeat time (object 1017h):

ID

DLC

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

Byte8

600h + ID

8

40h

17h

10h

00h

0

0

0

0


Response from CANopen strain link:

ID

DLC

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

Byte8

580h + ID

8

4Bh

17h

10h

00h

00h

00h

0

0


Byte 5 + 6:

00’00h

00’00h (LSB first)

disabled (Default value)


Change producer heartbeat time to 1000ms (1000d

3E8h):

ID

DLC

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

Byte8

600h + ID

8

22h

17h

10h

00h

E8h

03h

0

0


Byte 5 + 6:

E8’03h

03’E8h (LSB first)

1000d

1000ms


Response from CANopen strain link:

ID

DLC

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

Byte8

580h + ID

8

60h

17h

10h

00h

0

0

0

0


If this time is set to 0 no Heartbeat protocol takes place (default value).

The value can be stored in the EEPROM with the object 1010h.

After the heartbeat protocol is activated, the sensor sends the following messages:

ID

DLC

Byte1

700h + ID

1

04h


Byte 1:

00h

boot up

04h

stop mode

05h

operate

7Fh

pre-operational


Advertising