3 commissioning example, Commissioning example, E94aycca communication manual (canopen®) – Lenze E94AYCCA User Manual

Page 83

Advertising
background image

EDS94AYCCA EN 5.0 - 06/2012

L

83

E94AYCCA communication manual (CANopen®)

Monitoring

Heartbeat protocol

10.2.3

Commissioning example

Task
A Servo Drive 9400 configured as heartbeat consumer (node 2) is to monitor another Servo

Drive 9400 (heartbeat producer; node 1).

 The heartbeat producer is to transmit every 10 seconds a heartbeat telegram to the

heartbeat consumer.

 The heartbeat consumer monitors the arrival of the heartbeat telegram. In case of an

error, a response is to take place.

Parameter setting of the heartbeat producer (node 1)

1. Set heartbeat producer time (

C13381

/

C14381

) to 10 ms.

Parameter setting of the heartbeat consumer (node 2)

1. Configure heartbeat monitoring in

C13385

/

C14385

.

– Note: The heartbeat consumer time must be higher than the heartbeat producer

time set in

C13381

/

C14381

for the node to be monitored.

– The value to be entered into a free subcode (1 ... 32) is "0x0001000F". It consists of

the following:

2. Go to

C13613/1...32

/

C14613/1...32

and set the respective response required for the

monitoring functions parameterised under

C13385/1...32

/

C14385/1...32

. This

response will be executed if a heartbeat event occurs in the consumer.

Tip!

C13346

/

C14346

displays the activity of each monitoring function

parameterised under

C13385/1...32

/

C14385/1...32

in a bit-coded manner.

C13347/1...32

/

C14347/1...32

display the heartbeat state of the monitored

nodes.

C13625

/

C14625

serves to set which state change is to occur in the case of a

heartbeat event.

Heartbeat telegram
The heartbeat telegram from the producer has the following identifier:
Identifier (COB-ID) = 1792 + producer node address = 1792 + 1 = 1793 = 0x701

Bit 31 ... bit 24

Reserved

Bit 23 ... bit 16

Node address

of the producer

Bit 15 ... bit 0

Heartbeat consumer time

(integer multiple of 5 ms)

0x00

0x01

15 [ms] = 0x000F

Advertising