CANopen Manager / Slave Manual - esd electronics, Inc.
CANopen Manager / Slave Manual - esd electronics, Inc.
CANopen Manager / Slave Manual - esd electronics, Inc.
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
canOpenReadPDO()<br />
Name: canOpenReadPDO() - waiting for the reception of data<br />
Synopsis: int canOpenReadPDO<br />
(<br />
HPDO hpdo, /* handle of PDO */<br />
void * buffer /* pointer to the data sink */<br />
)<br />
<strong>CANopen</strong>-<strong>Slave</strong><br />
Description: The application waits for the reception of data for a given PDO. The timeout<br />
values assigned in the PDO definition are valid.<br />
Buffer is a pointer to an application memory area (at least 8 bytes) in which the<br />
received data can be stored. If NULL the callback handler of the mapped<br />
directory entries are called, otherwise this is suppressed.<br />
Return: 0 or an error code described in the appendix.<br />
canOpenRequestPDO()<br />
Name: canOpenRequestPDO() - asynchronous request of data<br />
Synopsis: int canOpenRequestPDO<br />
(<br />
HPDO hpdo, /* handle of PDO */<br />
void * buffer /* pointer to the data sink */<br />
)<br />
Description: By means of this function a client requests the transmission of a server PDO by<br />
means of a RTR frame. The timeout values assigned in the PDO definition are<br />
valid.<br />
Buffer is a pointer to an application-memory range (at least 8 bytes) in which the<br />
received data can be stored. If NULL the callback handlers of the mapped<br />
directory entries are called, otherwise this is suppressed.<br />
Return: 0 or an error code described in the appendix.<br />
<strong>CANopen</strong> <strong>Slave</strong> Software <strong>Manual</strong> • Doc. No.: C.2002.21 / Rev. 2.2 Page 39 of 65