Communication Profile Area
Functions
MELSEC-L Series – CANopen
Module ME3CAN1-L
4 – 29
4.6.8 Heartbeat
The heartbeat protocol defines an error control service without a request. A heartbeat producer trans-
mits a heartbeat message cyclically. One or more heartbeat consumer receives the indication. The
relationship between producer and consumer is configurable via the Object Dictionary. The heart-
beat consumer guards the reception of the heartbeat within the heartbeat consumer time. If the
heartbeat is not received within the heartbeat consumer time a heartbeat event will be generated.
If the ME3CAN1-L is configured as Flying Master, the heartbeat producing and consuming is auto-
matically activated (refer to section 4.8.10).
Object 1016
H
, Sub-index 01
H
–7F
H
: Consumer heartbeat time
The consumer heartbeat time object indicates the expected heartbeat cycle times. Monitoring of the
heartbeat producer starts after reception of the first heartbeat. The consumer heartbeat time should
be higher than the corresponding producer heartbeat time. Before reception of the first heartbeat,
the status of the heartbeat producer is unknown.
If the heartbeat time is 0 or the node-ID is 0 or greater than 127, the corresponding object entry is not
used.
The unit of heartbeat time is ms.
Object 1017
H
: Producer heartbeat time
The unit of 16 bit producer heartbeat time is ms. The value 0 disables the producer heartbeat.
Fig. 4-17:
Heartbeat
NOTE
Heartbeat produces a high bus load, but only half that of node guarding.
Fig. 4-18:
Bit allocation for sub-index 01
H
–0F
H
: Consumer
heartbeat time
Heartbeat producer
Request
1017
H
: Producer hear
tbeat time
Heartbeat consumers
Indication
COB-ID = 1792 + Node-ID
s: NMT slave state
0
= Boot-Up Event
4 = Stopped
5 = Operational
127 = Pre-operational
Request
s
s
1016
H
: C
o
nsumer h
e
ar
tbeat time
Indication
Indication
Indication
Indication
Indication
Bit 31 ... Bit 24
Heartbeat time
Bit 23 ... Bit 16
Bit 15 ... Bit 0
Node-ID
0
H
Summary of Contents for CANopen ME3CAN1-L
Page 2: ......
Page 4: ......
Page 6: ......
Page 10: ...IV ...
Page 18: ...Abbreviations and Generic Terms Overview MELSEC L Series CANopen Module ME3CAN1 L 1 4 ...
Page 22: ...System Configuration System Equipment 2 4 MITSUBISHI ELECTRIC ...
Page 162: ...Programming Layer 2 Communication 7 24 MITSUBISHI ELECTRIC Program Fig 7 24 Example Program 1 ...
Page 164: ...Programming Layer 2 Communication 7 26 MITSUBISHI ELECTRIC Fig 7 26 Example Program 3 ...
Page 166: ...Programming Layer 2 Communication 7 28 MITSUBISHI ELECTRIC Fig 7 28 Example Program 5 ...
Page 178: ...Layer 2 Communication Programming MELSEC L Series CANopen Module ME3CAN1 L 7 40 ...
Page 184: ...Troubleshooting Error Code and Error Message Summary 8 6 MITSUBISHI ELECTRIC ...
Page 187: ......