Appendix C CANopen Protocol
C_
C.4
SDO (Service Data Object)
SDO
The SDO is used to build the client/server relation between two CANopen devices. The client
device can read the data from the object dictionary of the server device, and write the data into
the object dictionary of the server device. The access mode of the SDO is “client/server” mode.
The mode which is accessed is the SDO server. Every CANopen device has at least one
service data object which provides the access channel to the object dictionary of the device.
SDO can read all objects in the object dictionary, and write all objects into the object dictionary.
The SDO message contains the index information and the subindex information which can be
used to position the objects in the object dictionary, and the composite data structure can easily
pass the SDO access. The trigger method of SDO belongs to the type of command response. In
other words, the SDO server must reply after the SDO client sends a read/write request. The
client and the server can stop the transmission of the SDO. The request message and response
message can be differentiated according to their different COB-IDs.
The SDO can transmit the data in any length. If the data length is more than 4 bytes, the data
has to be transmitted by segment. The last segment of the data contains an end flag.
The structures of the SDO requested message and reply message are as follows.
The formats of the request message and response message:
The format of the request message
COB-ID
Byte 0 Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
600
(
hex
)
+Node-ID
Request
code
Object index
Object index
Requested data
LSB
MSB
bit7-0
bit15-8 bit23-16 bit31-24
The definition of the request code in the request message:
Request code (hex)
Description
23
Writing the 4-byte data
2B
Writing the 2-byte data
2F
Writing the 1-byte data
40
Reading the data
80
Stopping current SDO function
The format of the response message
COB-ID
Byte 0
Byte 1 Byte 2
Byte 3
Byte 4
Byte 5 Byte 6
Byte 7
580
(
hex
)
+Node-ID
Response
code
Object index
Object
subindex
Response data
LSB
MSB
bit7-0
bit15-8 bit23-16 bit31-24
The definition of the response code in the response message:
Response code
(hex)
Description
43
Reading the 4-byte data
4B
Reading the 2-byte data
4F
Reading the 1-byte data
60
Writing the 1/2/4-byte data
80
Stopping the SDO function
C-9
Содержание DVP15MC11T
Страница 9: ...Memo viii...
Страница 15: ...DVP15MC11T Operation Manual _2 MEMO 2 4...
Страница 71: ...DVP15MC11T Operation Manual _7 Memo 7 10...
Страница 81: ...DVP15MC11T Operation Manual _8 Timing Chart F_TRG_CLK F_TRG_Q 8 10...
Страница 158: ...Chapter 8 Logic Instructions 8_ The program 1 ASIN EN ENO In Out ASIN_EN ASIN_In Out1 8 87...
Страница 213: ...DVP15MC11T Operation Manual _8 The program 1 LIMIT EN ENO MN Out MX In LIMIT_EN LIMIT_MN LIMIT_MX LIMIT_In Out1 8 142...
Страница 216: ...Chapter 8 Logic Instructions 8_ The program 1 BAND EN ENO MN Out MX In BAND_EN BAND_MN BAND_MX BAND_In Out1 8 145...
Страница 249: ...DVP15MC11T Operation Manual _8 8 178...
Страница 285: ...DVP15MC11T Operation Manual _8 Memo 8 214...
Страница 286: ...9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2 9 1...
Страница 323: ...DVP15MC11T Operation Manual 10 MEMO 10 34...
Страница 549: ...DVP15MC11T Operation Manual A MEMO A 16...
Страница 571: ...DVP15MC11T Operation Manual C Memo C 10...
Страница 572: ...D Appendix D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2 D 1...