Technical Manual
WDGA with CANopen-Interface
8 - Setting-up the encoder
© Wachendorff Automation GmbH & Co. KG
49
Rev.1.24
Read SDO segment:
Figure 8.5: read SDO segment
ccs
client command specifier
3 = read (upload) segment request
scs
server command specifier
0 = read (upload) segment response
t
toggle bit
Must alternate for each subsequent segment with
t=0 for the first segment. Equal for each pair of
request and response.
c
more segments indicator
0 = more segments to be read (uploaded).
1 = no more segments to be read (uploaded).
seg-
data
Segment data
At most 7 byte of segment data.
n
Number of bytes that don’t
contain segment data
Bytes [8-n;7] don’t contain segment
n = 0 if no segment size indicated
x
not used
always 0
reserved
reserved for further use, always 0
Table 8.20: Declaration of used abbreviations in Figure 8.5
Then the first segment is requested:
600h+ID 8
60h
01100000b
ccs=3, t=0
00h
00h
00h
08h
00h
00h
00h
CAN-ID
DLC Command Object
L
Object
H
Sub-
Index
Byte0
Byte1
Byte2
Byte3
Table 8.21: read of first segment
The encoder answers with the first data segment:
580h+ID 8
00h
00000000b
scs=0, t=0,
n=0, c=0
data
data
data
data
data
data
data
CAN-ID
DLC Command Object
L
Object
H
Sub-
Index
Byte0
Byte1
Byte2
Byte3
Table 8.22: answer with first segment
Содержание WDGA CANopen
Страница 1: ...R e v 1...