24.08.2013 Views

CANopen Manager / Slave Manual - esd electronics, Inc.

CANopen Manager / Slave Manual - esd electronics, Inc.

CANopen Manager / Slave Manual - esd electronics, Inc.

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.

mcanOpenConfig()<br />

Name: mcanOpenConfig() - Configuring the manager database.<br />

Call: int mcanOpenConfig<br />

(<br />

char *cfgFile<br />

);<br />

<strong>CANopen</strong> <strong>Manager</strong><br />

Description: This function reads the manager configuration file cfgFile and all associated<br />

DCF or CCF files for the project specific <strong>CANopen</strong> network setup. The CAN<br />

controller will be initialized and all necessary resources will be allocated.<br />

Return: Success or error code described in the appendix.<br />

mcanOpenStart()<br />

Name: mcanOpenStart() - Start the manager.<br />

Call: void mcanOpenStart(void);<br />

Description: The function starts the manager daemon tasks which setup and start all nodes<br />

in the <strong>CANopen</strong> network according to the configuration file given with<br />

mcanOpenConfig().<br />

Return: N/A.<br />

mcanOpenShutDown()<br />

Name: mcanOpenShutDown() - Terminate the manager.<br />

Call: int mcanOpenShutDown(void);<br />

Description: This function terminates the <strong>CANopen</strong> manager and frees all dynamically<br />

allocated resources.<br />

Return: Success or error code described in the appendix.<br />

<strong>CANopen</strong> <strong>Manager</strong> Software <strong>Manual</strong> • Doc. No.: C.2002.21 / Rev. 2.2 Page 23 of 47

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

Saved successfully!

Ooh no, something went wrong!