Process data transfer
Process data objects (PDOs) are used for the cyclic transmission of (process) data via CANopen.
PDOs only contain data and an identifier. They do not contain any information about the sender or receiver and are therefore very efficient.
Details
–
Four process data channels (PDO1 ... PDO4) are available.
–
Process data objects which the inverter receives via the network are referred to as "Receive PDOs" (RPDOs).
–
Process data objects which the inverter sends via the network are referred to as "Transmit PDOs" (TPDOs).
–
The maximum length of a PDO is 8 bytes (4 data words).
–
Each PDO requires a unique identifier ("COB-ID") for the purpose of identification within the network.
–
Communication parameters (such as the transmission type and cycle time) for each PDO can be set freely and independently of the settings of other PDOs
–
Default setting:
–
RPDO1 and TPDO1 are activated.
–
RPDO2 ... RPDO4 and TPDO2 ... TPDO4 are deactivated.
–
The respective mapping cannot be changed.
Set RPDO
How to change the communication parameters for RPDO1:
1.
Set RPDO1 to “invalid": RPDO1 - COB-ID 0x2304:041, Bit31 = 1.
2.
If appropriate, change timeout time: RPDO1 - Event timer 0x2304:045.
Default setting: 100 ms
Default setting: 100 ms
3.
If necessary, change the transmission of the process data: RPDO1 - Transmission type 0x2304:042.
Default setting: 255 (cyclic or event-controlled)
Default setting: 255 (cyclic or event-controlled)
4.
If appropriate, change identifier and reset RPDO1 to "valid" (bit31 = “0”): RPDO1 - COB-ID 0x2304:041.
Default setting: Identifier = basic identifier (0x200) + node address (hex)
Example: Node address = 10 (0xA)
Identifier = 0x200 + 0xA = 0x0000020A
Default setting: Identifier = basic identifier (0x200) + node address (hex)
Example: Node address = 10 (0xA)
Identifier = 0x200 + 0xA = 0x0000020A
RPDO1 is enabled again with the new settings.
Set TPDO
How to change the communication parameters for TPDO1:
1.
Set TPDO1 to “invalid": TPDO1 - COB-ID 0x2304:081, Bit31 = 1.
2.
If required, change timeout: TPDO1 - Event timer 0x2304:085.
Default setting: 20 ms
Default setting: 20 ms
3.
If necessary, change the transmission of the process data: TPDO1 - Transmission type 0x2304:082.
Default setting: 255 (cyclic)
Default setting: 255 (cyclic)
4.
If required, Change identifier and reset TPDO1 to "valid" (bit31 = “0”): TPDO1 - COB-ID 0x2304:081.
Default setting: Identifier = basic identifier (0x40000180) + node address (hex)
Example: Node address = 10 (0xA)
Identifier = 0x40000180 + 0xA = 0x4000018A
Default setting: Identifier = basic identifier (0x40000180) + node address (hex)
Example: Node address = 10 (0xA)
Identifier = 0x40000180 + 0xA = 0x4000018A
TPDO1 is enabled again with the new settings.
Transmission type
Process data objects are transmitted event-controlled or time-controlled. Combinations of the different transmission types are also possible:
–
Event-controlled: The PDO is sent when a special device-internal event has occurred, e.g. change of the data content of the TPDO or expiry of a transmission cycle time.
–
Synchronous: After the inverter has received a sync telegram (COB-ID 0x80), it sends a TPDO or receives an RPDO.
–
Cyclic: The PDOs are transmitted cyclically after the transmission cycle time has elapsed.
–
Via RTR (TPDO only): Another device triggers the transmission of a TPDO with a request via a data request telegram RTR (Remote Transmit Request). For this purpose, the data requestor (e.g. master) sends an RTR with the COB ID of the TPDO that is to be requested to transmit. The receiver detects the RTR and transmits.
|
Transmission type
|
PDO transmission
|
Description
|
|
0
|
Synchronous and acyclic
|
–
The PDO is transmitted event-controlled with a sync if the PDO data has changed.
|
|
1 ... 240
|
Synchronous and cyclic
|
–
Selection n = 1: The PDO is transmitted with every sync.
–
Selection 1 < n ≤ 240: The PDO is transmitted at every nth sync.
|
|
241 ... 251
|
-
|
Reserved
|
|
252 (only TPDO)
|
Synchronous - RTR only
|
–
A sync request from the sync master updates the TPDO.
–
The TPDO is not sent until it receives an RTR request.
|
|
253 (only TPDO)
|
Asynchronous - RTR only
|
–
The TPDO is updated when a change is made.
–
The TPDO is not sent until it receives an RTR request.
|
|
254
|
Asynchronous and cyclic
|
–
The PDO is sent and received in the set cycle time.
–
Changing the PDO data has no effect.
|
|
255
|
Asynchronous and cyclic OR acyclic
|
–
The PDO is sent and received in the set cycle time.
–
In addition, PDO data is sent and received each time it is changed.
–
The PDO is event-controlled and transmitted cyclically.
|
Synchronization of PDOs with sync telegram
With cyclic transmission, one or more PDOs are sent or received at fixed time intervals. For the synchronization of the cyclic process data the special "Sync telegram" is used.
–
The sync telegram is the trigger for transmitting process data from the slaves to the master and for transferring process data from the master to the slaves.
–
The response to a sync telegram is determined by the transmission type selected.
Set up sync telegram:
–
Specify identifier:
–
All inverters are set to the sync telegram with identifier 0x80 according to CANopen specification.
–
If sync telegrams are only to be received by specific nodes, their identifiers can be specified with a value of up to and including 0x07FF.
–
The identifier may only be changed if the inverter does not send any sync telegrams (0x2304:001, Bit 30 = "0").
–
Generate sync telegram:
|
8. Byte (data 4)
|
7. Byte (data 3)
|
6. Byte (data 2)
|
5. Byte (data 1)
|
||||||||||||
|
Bit 31
|
Bit 30
|
Bit 29 ... Bit 11
|
Bit 10 ... Bit 0
|
||||||||||||
|
x
|
0/1
|
Extended Identifier (not supported)
Bit 29 ... Always set bit 11 to "0".
|
11-bit identifier
|
||||||||||||
Parameter