CANopen Manager / Slave Manual - esd electronics, Inc.
CANopen Manager / Slave Manual - esd electronics, Inc.
CANopen Manager / Slave Manual - esd electronics, Inc.
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
canOpenReadDictionaryHnd()<br />
Name: canOpenReadDictionaryHnd() - Reading a local directory entry<br />
<strong>CANopen</strong>-<strong>Slave</strong><br />
Synopsis: int canOpenReadDictionary<br />
(<br />
HDICT HDict, /* handle of object-directory entry */<br />
void * Data /* pointer to the data sink */<br />
)<br />
Description: By means of this function an entry, indexed by Hdict, in the local object directory<br />
is read. This function can be called in every node status.<br />
Data is a pointer to an address range of the application in which data is stored.<br />
This memory range must have a capacity of at least 4 bytes. For numerical data<br />
Data is a pointer to the data, for other types of data it is a pointer to a pointer to<br />
the data.<br />
Return: 0 or an error code as described in the appendix.<br />
canOpenWriteDictionaryHnd()<br />
Name: canOpenWriteDictionaryHnd() - Changing a local directory entry<br />
Synopsis: int canOpenWriteDictionaryHnd<br />
(<br />
HDICT HDict, /* handle of object-directory entry */<br />
void * Data /* pointer to data source */<br />
)<br />
Description: By means of this function an entry, indexed by Hdict, in the local object<br />
directory is changed. If the entry is mapped on a PDO, the PDO data is<br />
automatically actualized The function can be executed in every node status.<br />
The kind of data referred to by Data depends on the according <strong>CANopen</strong>-variable<br />
type and is explained under canOpenWritePDO.<br />
Return: 0 or an error code as described in the appendix.<br />
<strong>CANopen</strong> <strong>Slave</strong> Software <strong>Manual</strong> • Doc. No.: C.2002.21 / Rev. 2.2 Page 35 of 65