CANopen Service Data Objects
CANopen - Service Data Objects (SDO)
All user adjustable parameters are accessible through the CAN communication interface using Service Data Objects (SDO)
The operation of SDOs is on the basis of client/server relationship. The client sends requests and the server responds to those requests.
SDO Functions
SDO message may be used for the following functions:
Read a parameter value
Write to a parameter
SDO COB-ID
By default, SDO messages have the following COB-ID's:
Client to server message has the COB-ID 600h + node ID
Server to client response will have the COB-ID 580h + node ID
The node ID is the value set in Parameter P-68.0.
SDO Message Format
SDO messages have the following format:
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
|---|---|---|---|---|---|---|---|
Control Byte | Object Address (16 Bit) | Sub Index (8 Bit) | Data (Up to 32 Bits) | ||||
LSB | MSB | ||||||
SDO Control Byte
The following values for the SDO Control Byte are supported:
Control Byte | Function |
|---|---|
0x40 | Read Request (Any Size Data) |
0x4F | Read Request - Single Byte |
0x4B | Read Request - Single Word |
0x43 | Read Request - Double Word |
0x2F | Write Request - Single Byte |
0x2B | Write Request - Single Word |
0x23 | Write Request - Double Word |
0x60 | Write Response - Successful |
0x80 | Write Response - Unsuccessful |