
Manual_GXP5_417_Lift_EN.doc
13/41
Baumer IVO GmbH & Co. KG
04.05.11
Villingen-Schwenningen,
Germany
Heartbeat
A "Heartbeat" principle is defined in the CAL with which the communication capability of CANopen devices
can be monitored. It can be ensured that the Master could react to a failure.
In Object 1017h "Producer Heartbeat Time" the time of the heartbeat can be defined. As soon as the value
has been confirmed, the heartbeat begins to transmit.
COB-ID
Data/Remote
Byte 0
701h d
7Fh
(127d)
The heartbeat messages consist of the COB-ID and a byte. This byte is used to transmit the NMT state.
0: BootUp-Event
4: Stopped
5: Operational
127: Pre-Operational
That means the encoder is in the Pre-Operational mode (7Fh = 127).
3.4.7. Layer setting services
In the spring of 2000 a new protocol was drafted by CiA to ensure a uniform occurrence. The procedure is
described under
Layer Setting Services and Protocol, CiA Draft Standard Proposal 305
(LSS).
In the standard configuration we ship the encoder with the Node-ID 1 and the baud rate 50 kBaud.
Several encoders with the same Node-ID can be connected to the bus system. To now be able to address
the individual encoders, LSS is used.
Each encoder has a unique serial number and is addressed via this number. This means any desired number
of encoders with the same Node-ID can be connected to a bus system and then initialized with LSS. Both the
Node-ID and the baud rate can be reset. LSS can only be carried out in the
Stopped Mode
.
Message structure
COB-ID:
Master
Æ
Slave
: 2021 = 7E5h
Master
Å
Slave
: 2020 = 7E4h
After the COB-ID an LSS command specifier is transmitted.
Then up to seven data bytes are added on.
COB-ID cs
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Switch Mode Global
7E5h
Æ
04h
Mode
Reserved
Mode :
0
Æ
Operation mode
1
Æ
Configuration mode
Switch Mode Selective
With the following procedure a very specific encoder can be addressed in the bus system.
7E5h
Æ
40h
VendorID
Reserved
7E5h
Æ
41h
ProductCode
Reserved
7E5h
Æ
42h
RevisionNumber
Reserved
7E5h
Æ
43h
SerialNumber
Reserved
7E4h
Å
44h
Mode
Reserved