2 heartbeat protocol, 1 telegram structure, Telegram structure – Lenze 8400 StateLine User Manual

Page 537: Heartbeat protocol, 11 system bus "can on board

Advertising
background image

Lenze · 8400 StateLine · Reference manual · DMS 12.0 EN · 06/2014 · TD05/TD14

537

11

System bus "CAN on board"

11.10

Monitoring

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

11.10.2

Heartbeat protocol

The heartbeat protocol can be used for node monitoring purposes within a CAN network.

Basic workflow

[11-9] Heartbeat protocol

1. A heartbeat producer cyclically transmits a so-called heartbeat telegram to one or more

consumers.

2. The consumer(s) monitor the heartbeat telegram for arrival on a regular basis.

11.10.2.1 Telegram structure

• The heartbeat telegram of the producer has the following identifier:

Identifier (COB-ID) = 1792 + producer's node address

• The user data (1 byte) contain the status (s) of the producer:

r: Reserved (always 0)

s: Status of the producer (0: Boot-up, 4: Stopped, 5: Operational, 127: Pre-Operational)

U

UHTXHVW

LQGLFDWLRQ

+HDUWEHDWSURGXFHU

(0(5*(1&<

+HDUWEHDWFRQVXPHUV

V





LQGLFDWLRQ

LQGLFDWLRQ

U

UHTXHVW

LQGLFDWLRQ

V





LQGLFDWLRQ

LQGLFDWLRQ

+HDUWEHDWSURGXFHUWLPH

+HDUWEHDWFRQVXPHU

WLPH

+HDUWEHDW

HYHQW

LQGLFDWLRQ

+HDUWEHDWFRQVXPHU

WLPH

107PDVWHU

Heartbeat producer status

Data

Communication status

Decimal value

(s)

(r)

Producer status (s)

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

Boot-up

0

0

0

0

0

0

0

0

0

Stopped

4

0

0

0

0

0

1

0

0

Operational

5

0

0

0

0

0

1

0

1

Pre-Operational

127

0

1

1

1

1

1

1

1

Advertising