5 - 48
5.8 Installing/Removing CompactFlash Card and Access Stop
5.8.2 Stopping access to CompactFlash card
5
SETTINGS AND PROCEDURES BEFORE OPERATION
[When installing the CompactFlash card while the power is on]
1) Install the CompactFlash card.
2) Make sure that the CompactFlash card is mounted (the CF CARD LED is on).
When the CF CARD LED turns on, access to files on the CompactFlash card is
available.
To confirm the "installation (mount)" status from the user program, check the
"CF CARD LED status" or "CF CARD status" of the QBF_ReadStatusEx
function.
*1
To confirm the "installation status (mount)" status from the C Controller setting
utility, check "CF CARD" of "LED information" on the <<Module information>>
tab.
3) Open a file of the CompactFlash card from the user program (using the open/
fopen function, etc.), and start the file access.
* 1 When the CompactFlash card is installed at power-on, it is automatically mounted.
To make file access again without removing the unmounted CompactFlash card, the
CompactFlash card must be mounted manually.
In this case, perform programming to call the QBF_MountCfCard function.
Remark
Refer to Chapter 10 for details of the bus interface functions.
(2) Sample program
Refer to Section 10.4 for the sample program by which access to the CompactFlash
card can be stopped.
IMPORTANT
Failure to observe the above procedures may corrupt the CompactFlash card data or
cause a file system error.