128 • CANopen
Network Communication
|
Initiate SDO Download |
Client |
Server |
|
|
0 |
|
|
|
1 |
4 |
8 |
|
|
|
||||
|
|
|
|
|
|
|
|
||||||||
request |
|
|
|
|
|
|
|
|
|
|
|
|
|
indication |
|
|
|
.7 .6 .5 |
.4 |
.3 .2 |
.1 |
.0 |
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
||||||
|
|
|
|
ccs = 1 |
x |
n |
e |
s |
|
m |
|
Data |
|
|
|
|
|
|
|
|
|
|
|||||||||
|
|
|
|
|
|
|
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initiate SDO Download |
Client |
Server |
|
|
0 |
|
|
|
|
1 |
4 |
8 |
|
|
|
|||
|
|
|
|
|
|
|
|
|
|||||||
confirm |
|
|
|
|
|
|
|
|
|
|
|
|
|
response |
|
|
.7 .6 .5 |
.4 |
.3 |
.2 |
.1 |
.0 |
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
||||||
|
|
|
scs = 3 |
x |
x |
x |
e |
s |
|
m |
|
Data |
|
|
|
|
|
|
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fig. 5-8: |
Initiate SDO |
g012406x |
ccs: |
client command specifier |
1: initiate download request |
scs: |
server command specifier |
3: initiate download response |
n: |
only valid if e = 1 |
If n is valid, it displays the number of bytes which |
|
and s = 1, otherwise 0. |
do not contain any data. Example: |
|
|
3 data bytes, e = 1 and s = 1, n = 4 - 3 = 1 |
e: |
transfer type |
0: normal transfer, number of the bytes to be writ- |
|
|
ten >= 5 byte |
|
|
1: expedited transfer, number of the bytes to be |
|
|
written < 5 byte |
s: |
size indicator |
0: data set size is not displayed |
|
|
1: data set size is displayed |
|
|
s is always 1 |
m: |
multiplexor |
Index and Sub-Index of object directory |
|
|
Index, Low Byte : Byte #1 |
|
|
Index, High Byte: Byte #2 |
|
|
Sub-Index: Byte #3 |
d: |
data |
e = 0, s = 0: d is reserved for further use of CiA |
|
|
e = 0, s = 1: d contains the number of bytes for |
|
|
download |
|
|
Byte 4 contains the LSB and Byte 7 contains the |
|
|
MSB. |
|
|
e = 1: d contains the data |
X: |
|
Not used, always 0 |
reserved: |
|
Reserved for further use of CiA |
|
|
|
|
|
WAGO-I/O-SYSTEM 750 |
|
|
CANopen |
130 • CANopen
Network Communication
5.3.1.2.1.3Upload SDO Protocol
This protocol is used to read data out of the bus coupler.
5.3.1.2.1.3.1Initiate SDO Upload
The data transmission from the bus coupler to the master is initiated with this protocol. When transmitting data of max. 4 bytes, these are also transmitted within the protocol.
|
Initiate SDO Upload |
Client |
Server |
|
|
0 |
|
1 |
4 |
8 |
|
|
|
||||
|
|
|
|
|
|
||||||||
request |
|
|
|
|
|
|
|
|
|
|
|
indication |
|
|
|
.7 .6 .5 |
.4 .3 .2 |
.1 .0 |
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
ccs = 2 |
x |
|
|
m |
|
reserved |
|
|
|
|
|
|
|
|
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initiate SDO Upload |
Client |
Server |
|
|
0 |
|
|
|
1 |
4 |
8 |
|
|
|
||||
|
|
|
|
|
|
|
|
||||||||
confirm |
|
|
|
|
|
|
|
|
|
|
|
|
|
response |
|
|
|
.7 .6 .5 |
.4 |
.3 .2 |
.1 |
.0 |
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
||||||
|
|
|
|
scs = 2 |
x |
n |
e |
s |
|
m |
|
Data |
|
|
|
|
|
|
|
|
|
|
|||||||||
|
|
|
|
|
|
|
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fig. 5-10: Initiate SDO Upload |
g012410x |
|
ccs: |
Client command specifier |
2: initiate upload request |
scs: |
Server command specifier |
2: initiate upload response |
n:is only valid if e = 1 and s = If n is valid, it displays the number of bytes in d 1, otherwise 0. which do not contain any data. The bytes [8-n, 7]
|
|
do not contain segment data. |
e: |
transfer type |
0: normal transfer, number of bytes to be written |
|
|
>= 5 bytes |
|
|
1: expedited transfer, number of bytes to be |
|
|
written < 5 bytes |
s: |
size indicator |
0: the number of bytes to be transmitted is not |
|
|
displayed |
|
|
1: the number of bytes to be transmitted is dis- |
|
|
played (depending on the number of bytes) |
m: |
multiplexor |
Index and sub-index of the object directory: |
|
|
Index, Low Byte : Byte #1 |
|
|
Index, High Byte: Byte #2 |
|
|
Sub-Index: Byte #3 |
|
|
|
|
|
WAGO-I/O-SYSTEM 750 |
|
|
CANopen |