17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7 CANopen Function and <strong>Operation</strong><br />

Device profile CiA<br />

DSP-401<br />

Device profile CiA<br />

DSP-404<br />

Device profile CiA<br />

DSP-xxx<br />

OSI seventh layer<br />

Application layer<br />

Communication profile CiA DS-301<br />

OSI second layer<br />

Data link layer<br />

CAN controller CAN 2.0A<br />

OSI first layer<br />

Physical layer<br />

+ -<br />

+ -<br />

ISO 11898<br />

CAN network<br />

‣ The object dictionary<br />

CANopen uses an object-based way to define a standard device. Every device is represented<br />

by a set of objects, and can be visited by the network. The model of the CANopen device is<br />

illustrated below. As the figure below shows, the object dictionary is the interface between the<br />

communication program and the superior application program.<br />

The core concept of CANopen is the device object dictionary (OD). It is an orderly object set.<br />

Every object adopts a 16-bit index for addressing. In order allow the visit to the single element<br />

in the data structure, it also defines, an 8-bit subindex. Every node in the CANopen network<br />

has an object dictionary. The object dictionary includes the parameters which describe the<br />

device and the network behavior. The object dictionary of a node is described in the electronic<br />

data sheet (EDS).<br />

7.3.2 The CANopen Communication Object<br />

The CANopen communication protocol contains the following communication objects.<br />

‣ PDO (process data object)<br />

The PDO provides the direct visit channel for the device application object, is used to<br />

transmit the real-time data, and has high priority. Every byte in the PDO CAN message<br />

data list is used to transmit the data. The rate of making use of the message is high.<br />

There are two kinds of uses for PDOs. The first is data transmission and the second data<br />

reception. They are distinguished by Transmit-PDOs (TxPDOs) and Receive-PDOs<br />

(RxPDOs). Devices supporting TxPDOs are PDO producers, and devices which are able to<br />

7-9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!