www.eao.com
52
Different access to objects is possible dependent on the NMT state the keypad is currently in.
The following table visualizes the possibilities,
Object
Operating modes
Initialisation
Pre-Operational
Operational
Stopped
PDO
X
SDO
X
X
SYNC
X
X
Emergency
X
X
X
NMT
X
X
X
Node Guard (Heart Beat)
X
X
X
Boot-Up
X
SDO communication
Communication to the keypad is defined by the CANopen standard. All access can be realized
by sending and receiving Service Data objects (SDOs).
An SDO message is composed defined by CiA 301 like the following:
11-Bit
Identifier DLC
Data field
Byte 0
Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7
0xXXX +
Node ID
8
Command
specifier
(CS)
Index
LB
Index
HB
Subind
ex
LLB
(D0)
LHB
(D1)
HLB
(D2)
HHB
(D3)
Identifier:
̶
It is composed as described in 10.1. The function code of a SDO being received by the
keypad is 0x600 (client to server) and a response will be sent with the function code
0x580 (server to client).
Command specifier:
̶
The CS in data byte 0 specifies the transfer type of the message and the access type
(read or write) it is defined in detail by the CANopen standard.
̶
Excerpt of the standard with some commonly used CSs