Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
16
Добавлен:
11.10.2020
Размер:
2.21 Mб
Скачать

 

 

CANopen • 131

 

 

Network Communication

 

 

 

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

5.3.1.2.1.3.2Upload SDO Segment

This protocol is used if more than 4 data is transmitted, i.e. this follows after fully processing the „Initiate Upload Protocol" which initiates the data transmissions.

 

Upload SDO Segment

Client

Server

 

0

 

 

1

8

 

 

 

request

 

 

 

 

 

 

 

 

 

indication

 

.7 .6 .5

.4

.3

.2 .1 .0

 

 

 

 

 

 

 

 

 

 

 

 

 

ccs = 3

t

 

x

 

reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Upload SDO Segment

Client

Server

 

 

0

 

 

 

1

8

 

 

 

confirm

 

 

 

 

 

 

 

 

 

 

 

response

 

.7 .6 .5

.4

.3

.2

.1

.0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

scs = 0

t

 

x

 

c

 

Segment data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Fig. 5-11: Upload SDO Segment

g012411x

ccs:

Client command specifier

3: download segment request

scs:

Server command specifier

0: download segment response

t:

Toggle bit

This bit has to change for each segment for

 

 

which an upload is made. The toggle bit has to

 

 

be zeroed for the first segment. The toggle bit is

 

 

identical both for the enquiry and the reply.

c:

Indicates whether further

0: there are more segments to be uploaded

 

segments are present for the

 

 

upload

 

1:there are no more segments for uploading

WAGO-I/O-SYSTEM 750

CANopen

132 • CANopen

Network Communication

seg-data: Contains the data to be transmitted.

n:

The meaning of the data is determined by the application.

Displays the number of bytes which do not contain data. Bytes [8-n, 7] do not contained data. N is 0 if no segment size is displayed.

X:

Not used, always 0

reserved:

Reserved for further use of CiA

5.3.1.2.1.4Abort SDO Transfer

This protocol is used in the event of errors occurring during transmission.

 

Abord SDO Transfer

Client

Server

 

0

 

1

4

8

 

 

 

request

 

 

 

 

 

 

 

 

 

 

indication

 

.7 .6 .5

.4 .3 .2

.1 .0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

cs = 4

x

 

 

m

 

Data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Fig. 5-12: Abort SDO Transfer

g012412x

cs:

command specifier

4: abort domain transfer

m:

multiplexor

Index and Sub-Index of Object directory:

X:

 

Not used, always 0

Data

4 Byte Error Code

Application specific data about the reasons for

 

 

the abort.

Supported Abort Domain Transfer Messages

Structure:

 

Byte

 

 

Meaning

 

 

0

 

Command Specifier; 0x80

 

 

1

 

 

Index

 

 

2

 

 

 

 

 

 

 

 

 

3

 

 

SubIdx

 

 

4

 

 

Additional Code

 

 

5

 

 

 

 

 

 

 

 

6Error Code

7Error Class

WAGO-I/O-SYSTEM 750

CANopen

Соседние файлы в папке 750-838