![WEG SCW100 Series User Manual Download Page 22](http://html.mh-extra.com/html/weg/scw100-series/scw100-series_user-manual_950607022.webp)
COMMUNICATION OBJECTS DESCRIPTION
8.2.2 SDOs Operation
A telegram sent by an SDO has an 8 byte size, with the following structure:
Identifier
8 data bytes
11 bits
Command
Index
Subindex
Object data
byte 0
byte 1
byte 2
byte 3
byte 4
byte 5
byte 6
byte 7
The identifier depends on the transmission direction (rx or tx) and on the address (or Node-ID) of the destination
server. For instance, a client that makes a request to a server which Node-ID is 1, must send a message with the
identifier 601h. The server will receive this message and answer with a telegram which COB-ID is equal to 581h.
The command code depends on the used function type. For the transmissions from a client to a server, the following
commands can be used:
Table 8.6:
Command codes for SDO client
Command
Function
Description
Object Data
22h
Download
Write object
Not defined
23h
Download
Write object
4 byte
2Bh
Download
Write object
2 byte
2Fh
Download
Write object
1 byte
40h
Upload
Read object
Not used
60h ou 70h
Upload segment
Segmented read
Not used
When making a request, the client will indicate through its COB-ID, the address of the slave to which this request is
destined. Only one slave (using its respective SDO server) will be able to answer the received telegram to the client.
The answer telegram will have also the same structure of the request telegram, the commands however are different:
Table 8.7:
Command codes for SDO server
Command
Function
Description
Object Data
60h
Download
Write object
Not used
43h
Upload
Write object
4 byte
4Bh
Upload
Write object
2 byte
4Fh
Upload
Write object
1 byte
41h
Upload segment
Initiates segmented response for read
4 byte
01h ou 0Dh
Upload segment
Last data segment for read
8 ... 2 bytes
For readings of up to four data bytes, a single message can be transmitted by the server; for the reading of a bigger
quantity of bytes, it is necessary that the client and the server exchange multiple telegrams.
A telegram is only completed after the acknowledgement of the server to the request of the client. If any error is
detected during telegram exchanges (for instance, no answer from the server), the client will be able to abort the
process by means of a warning message with the command code equal to 80h.
✓
NOTE!
When the SDO is used for writing in objects that represent the SCW100 parameters (objects starting
from the index 2000h), this value is saved in the nonvolatile frequency inverter memory. Therefore, the
configured values are not lost after the equipment is switched off or reset. For all the other objects
these values are not saved automatically, so that it is necessary to rewrite the desired values.
E.g.: A client SDO requests for a slave at address 1 the reading of the object identified by the index 2000h, sub-index
0 (zero), which represents an 16-bit integer. The master telegram has the following format:
SCW100 | 22