Schutzvermerk nach DIN 34 beachten CANopen: Process data objects (PDO)
Schutzvermerk nach DIN 34 beachten COB-IDProcessData ProcessDataObject What is a PDO? Temperature sensor COB-ID Data Up to max °C Press- ure TimeVelocityetc. Transmit-PDO Data Receive-PDO COB= CommunicationOBject Identifier
Schutzvermerk nach DIN 34 beachten The COB-ID (Communication Objekt Identifier) The COB-ID serves the addressing and prioritizing of the PDOs ! different COB-IDs =0 means 11-Bit-ID =1 means 29-Bit-ID =0 RTR is possible with this PDO =1 RTR is not possible with this PDO =0 PDO exists / is valid =1 PDO does not exist / is invalid
Schutzvermerk nach DIN 34 beachten Default-PDOs of a CANopen device according to CiA DS-401 CAN TPDO4TPDO3TPDO2TPDO1RPDO4RPDO3RPDO2RPDO1 Digital Bit: 0-63 Analog channels: Hardware-InputHardware-Output Digital Bit: 0-63 Analog channels: / 4-20 mA
Schutzvermerk nach DIN 34 beachten Predefined COB-IDs Device ID + DefaultOffset Default-COB-ID: 8 Byte PDO... Up to device Send-PDOsReceive-PDOs Device Send-PDOsReceive-PDOs Device 2 All COB-IDs in Hex!
Schutzvermerk nach DIN 34 beachten Exercise Send-PDOsReceive-PDOs Device-ID 64 ? : What are the COB-IDs of the default PDOs?
Schutzvermerk nach DIN 34 beachten Automatic connection of CAN devices with XControl 181 Send- PDOs Receive- PDOs PDOs do not own a COB-ID yet ! Send-PDOsReceive-PDOs Device 1
Schutzvermerk nach DIN 34 beachten Exercise: CAN-XION-Station with 14 analog outputs Configure a XION-Station to address 2 with 7 XN-2AO modules! How does XSystem solve the problem, that a maximum of 12 analog outputs can be placed in the default PDOs ? What do you have to change, so that the data exchange will work with all analog ouput signals? 14 * 0-10V... 2
Schutzvermerk nach DIN 34 beachten XI/ON specific Default-PDOs PDO5 2. Group of digital I/Os Bits 64 thru 127 COB-ID TPDO C0h+Node-ID Meaning COB-ID RPDO h+Node-ID PDO13 4. Group of analog I/Os Channels A0h+Node-ID h+Node-ID PDO16 7. Group of analog I/Os Channels A0h+Node-ID h+Node-ID Bit 31=1 => PDOs are blocked!
Schutzvermerk nach DIN 34 beachten Enabling the specific XI/ON-PDOs 10 COB-ID:
Schutzvermerk nach DIN 34 beachten Exercise: CAN-XION-Station with 14 analog outputs (Part 2) 14 * 0-10V Create another XI/ON station with the address 34 and one module XN-2DO. What do you notice ? What do you have to do ?
Schutzvermerk nach DIN 34 beachten Each COB-ID must be unique ! 13. Analog Input PDO13 - COB-ID: 01A0 hex + 2 = 01A2 hex 1. Digital Input PDO1 - COB-ID 0180 hex + 22 hex = 01A2 hex Node-ID 2 Node-ID 34 (=22 hex) XI/ON-specific default-PDOs could appear once more at higher node-IDs ! In that case the PDO has to be modified !
Schutzvermerk nach DIN 34 beachten Which COB IDs must NOT be assigned ? All numbers in Hex ! Free 128dez COB-IDs 0x80:Sync-Signal 0x81-0x100:Emergency Free 128dez COB_IDs 0x181-0x580:Default-PDOs 0x581-0x600:SDO-Response (580+Node-ID) 0x601-0x680:SDO-Request (600+Node-ID) Free 128dez COB_IDs 0x701-0x780:Nodeguard Free 128dez COB_IDs 0x7FF(End Decimal)