11.01.2014 Views

CANopen Slave

CANopen Slave

CANopen Slave

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.

Configuration Parameters 48/112<br />

4.4 Handling of Process Data<br />

4.4.1 General<br />

The <strong>CANopen</strong> slave implementation provides 4 objects for send data and 4 objects of receive data;<br />

each object has up to 128 bytes of process data and is transferred via PDO according to the active<br />

network configuration. For accessing these objects, the <strong>CANopen</strong> slave-Task provides 4 triple buffers<br />

for both directions. Each triple buffer contains the process data for one object.<br />

The data of these buffers are exchanged between the AP-Task and the <strong>CANopen</strong> slave-Task via triple<br />

buffer exchange. The AP-Task transfers data from the receive triple buffers to the DPM input image<br />

and from the DPM output image to the send triple buffers.<br />

These objects can also be accessed by the user application via the packet interface as described in<br />

section CANOPEN_SLAVE_REGISTER_REQ/CNF – Register Applicationof this document.<br />

4.4.2 Mapping of Input and Output Image to Send and Receive Objects<br />

The data of the send and receive objects are mapped linear to the input and output image of the DPM<br />

as shown in the following table:<br />

DPM input image byte offset Receive object index Receive object sub-index<br />

0 2200h 01h<br />

1 2200h 02h<br />

.. .. ..<br />

127 2200h 80h<br />

128 2201h 01h<br />

.. .. ..<br />

510 2203h 7Fh<br />

511 2203h 80h<br />

Table 20: Mapping of Input Data<br />

DPM output image byte offset Send object index Send object sub-index<br />

0 2000h 01h<br />

1 2000h 02h<br />

.. .. ..<br />

127 2000h 80h<br />

128 2001h 01h<br />

.. .. ..<br />

510 2003h 7Fh<br />

511 2003h 80h<br />

Table 21: Mapping of Output Data<br />

<strong>CANopen</strong> <strong>Slave</strong> |<br />

DOC070901API06EN | Revision 6 | English | 2010-06 | Released | Public © Hilscher, 2006-2010

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

Saved successfully!

Ooh no, something went wrong!