Parameter data transfer
Service data objects (SDOs) make it possible to read and write all parameters of the inverter via CANopen.
Details
–
Two independent SDO channels are provided at the same time. SDO channel 1 is always active. SDO channel 2 can be activated via 0x2301:005 (P510.05).
–
An SDO is always transmitted with confirmation, i. e. the reception of an SDO frame is acknowledged by the receiver.
–
The identifiers for SDO1 and SDO2 are generated from the basic identifier (in compliance with the "Predefined Connection Set") and the node address set:
|
Object
|
Direction
|
Identifier
|
|
|
to the device
|
from the device
|
||
|
SDO1
|
l
|
|
Basic identifier 0x600 + node address
|
|
|
l
|
Basic identifier 0x580 + node address
|
|
|
SDO2
|
l
|
|
Basic identifier 0x640 + node address
|
|
|
l
|
Basic identifier 0x5C0 + node address
|
|
Structure of the SDO frame user data
The user data are shown in Motorola format:
|
1st byte
|
2nd byte
|
3rd byte
|
4th byte
|
5th byte
|
6th byte
|
7th byte
|
8th byte
|
|
Command
|
Index
|
Subindex
|
Data 1
|
Data 2
|
Data 3
|
Data 4
|
|
|
See table below.
|
LOW byte
|
HIGH byte
|
|
LOW word
|
HIGH word
|
||
|
Address of the parameter to be read or written.
|
LOW byte
|
HIGH byte
|
LOW byte
|
HIGH byte
|
|||
The following commands can be transmitted or received for writing and reading the parameters:
|
Command
|
1st byte
|
Data length
|
Info
|
|
|
hex
|
dec
|
|||
|
Write request
|
0x23
|
35
|
4 bytes
|
Writing of a parameter to the inverter.
|
|
0x2B
|
43
|
2 bytes
|
||
|
0x2F
|
47
|
1 byte
|
||
|
0x21
|
33
|
Block
|
||
|
Write response
|
0x60
|
96
|
4 bytes
|
Inverter acknowledges a write request.
|
|
Read request
|
0x40
|
64
|
4 bytes
|
Reading of a parameter from the inverter.
|
|
Read response
|
0x43
|
67
|
4 bytes
|
Inverter response to a read request with the
current parameter value. |
|
0x4B
|
75
|
2 bytes
|
||
|
0x4F
|
79
|
1 byte
|
||
|
0x41
|
65
|
Block
|
||
|
Error response
|
0x80
|
128
|
4 bytes
|
Inverter response to the incorrect execution of
the read/write request. |
More precisely, the command byte comprises the following information:
|
Command
|
1st byte
|
|||||||
|
Command specifier (cs)
|
Toggle (t)
|
Length*
|
e
|
s
|
||||
|
Bit 7
|
Bit 6
|
Bit 5
|
Bit 4
|
Bit 3
|
Bit 2
|
Bit 1
|
Bit 0
|
|
|
Write request
|
0
|
0
|
1
|
0
|
0/1
|
0/1
|
1
|
1
|
|
Write response
|
0
|
1
|
1
|
0
|
0
|
0
|
0
|
0
|
|
Read request
|
0
|
1
|
0
|
0
|
0
|
0
|
0
|
0
|
|
Read response
|
0
|
1
|
0
|
0
|
0/1
|
0/1
|
1
|
1
|
|
Error response
|
1
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
|
*Bit coding of the length: 00 = 4 bytes, 01 = 3 bytes, 10 = 2 bytes, 11 = 1 byte
e: expedited (shortened block service)
s: segmented (normal block service)
|
||||||||
More commands are defined in the DS301 V4.02 CANopen specification (e. g. segmented
transfer).
transfer).
Up to 4 bytes are available for parameter value entries. Depending on the data format, they are assigned as follows:
|
5th byte
|
6th byte
|
7th byte
|
8th byte
|
|
Parameter value (1 byte)
|
0x00
|
0x00
|
0x00
|
|
Parameter value (2 bytes)
|
0x00
|
0x00
|
|
|
LOW byte
|
HIGH byte
|
||
|
Parameter value (4 bytes)
|
|||
|
LOW word
|
HIGH word
|
||
|
LOW byte
|
HIGH byte
|
LOW byte
|
HIGH byte
|
The parameter attribute list in the annex also specifies a so-called “scaling factor”. The scaling factor is relevant to the transmission of parameter values which are represented with one or several decimal positions in the parameter list. If the scaling factor is > 1, the value must be multiplied with the scaling factor specified before the transmission, so that the value can be transferred completely (as an integer value). On the SDO client side, the integer value must then be divided by the scaling factor again, in order to receive the original value with decimal positions.
Parameter
|
Address
|
Name / setting range / [default setting]
|
Information
|
|
|
0x1200:000
|
SDO1 server parameter: Highest sub-index supported
–
Read only
|
||
|
0x1200:001
|
SDO1 server parameter: COB-ID client > server (rx)
–
Read only
|
Display of the receive identifier for SDO server channel 1 (basic SDO channel).
–
According to DS301 V4.02, the basic SDO channel can neither be changed nor deactivated.
|
|
|
0x1200:002
|
SDO1 server parameter: COB-ID server > client (tx)
–
Read only
|
Display of the transmit identifier for SDO server channel 1 (basic SDO channel).
–
According to DS301 V4.02, the basic SDO channel can neither be changed nor deactivated.
|
|
|
0x1201:000
|
SDO2 server parameter: Highest sub-index supported
–
Read only
|
||
|
0x1201:001
|
SDO2 server parameter: COB-ID client > server (rx)
0x00000000 ... [0x80000640] ... 0xFFFFFFFF
|
Specification of the receive identifier for SDO server channel 2.
–
If SDO server channel 2 is activated via 0x2301:005 (P510.05), this parameter is set to the value "node address + 0x640". This default setting can be changed.
|
|
|
0x1201:002
|
SDO2 server parameter: COB-ID server > client (tx)
0x00000000 ... [0x800005C0] ... 0xFFFFFFFF
|
Specification of the transmit identifier for SDO server channel 2.
–
If SDO server channel 2 is activated via 0x2301:005 (P510.05), this parameter is set to the value "node address + 0x5C0". This default setting can be changed.
|
|
|
0x1201:003
|
SDO2 server parameter: Node-ID of the SDO client
1 ... [0] ... 127
|
Specification of the node address for the SDO client.
|
|
|
0x2301:005
(P510.05)
|
CANopen settings: Activate SDO2 channel
(CANopen sett.: SDO2 channel)
|
1 = activate SDO server channel 2.
|
|
|
0
|
Not active
|
||
|
1
|
Active
|
||
|
0x2301:007
(P510.07)
|
CANopen settings: COB-ID Configuration - SDO2
(CANopen sett.: COB-IDConfigSDO2)
|
1 = COB-ID configuration -SDO 2 freely configurable.
|
|
|
0
|
Base + node-ID
|
||
|
1
|
Freely configurable
|
||