17.02.2013 Views

Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction 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.

4.5 Library MMC.LIB<br />

Function Libraries<br />

Together with the Target installation data (see page 53)<br />

CoDeSys is sent libraries provided by the target system,<br />

Ventura Remote PLC.<br />

� MMC.lib provides the functions and function modules<br />

Ventura Remote PLC needs to use the multimedia<br />

card as a data memory.<br />

MMC.lib contains the following:<br />

Name Purpose<br />

MMC_Attach registers with the file system<br />

MMC_FileClose closes a file<br />

MMC_FileCopy copies files<br />

MMC_FileDelete deletes a file<br />

MMC_FileFreeSpace finds out how much space is left on the MMC<br />

MMC_FileMkDir creates a subdirectory<br />

MMC_FileMove moves a file<br />

MMC_FileOpen opens a file<br />

MMC_FileRead reads from a file<br />

MMC_FileRename renames a file<br />

MMC_FileSeek sets the edit bookmark in a file<br />

MMC_FileWrite writes to a file<br />

MMC_InitMMC initialises the file system<br />

MMC_ORC opens, reads, closes a file<br />

MMC_OWC opens, writes, closes a file<br />

Internal functions Purpose<br />

MMC_PostCommand sends a command to the file system<br />

MMC_WaitCmd waits for a job to complete<br />

Do not use the internal functions or the internal variables<br />

defined in the function modules for the user program!<br />

91

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

Saved successfully!

Ooh no, something went wrong!