Monitoring
Heartbeat protocol
66
Lenze · Decentralised frequency inverter 8400 motec (CANopen option) · EDS84DMOTCAN EN 4.0 - 02/2019
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
10.3 Heartbeat protocol
The heartbeat protocol can be used for node monitoring purposes within a CAN network.
General procedure
[10-1] Heartbeat protocol
1. A heartbeat producer cyclically transmits a so-called heartbeat telegram to one or more
consumers.
2. The consumer(s) monitor(s) the heartbeat telegram for arrival on a regular basis.
10.3.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
HDUW
HDWSUR
XFHU
(0(5*(1&<
HDUW
HDWFRQVXPHUV
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 00000000
Stopped 4 00000100
Operational 5 00000101
Pre-Operational 127 01111111