EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 62

Mitsubishi Electric MELSEC iQ-R Series
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
60
3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
CITL_UnmountMemoryCard
This function unmounts the SD memory card inserted to a C intelligent function module.
Format
short CITL_UnmountMemoryCard (short sDrive)
Argument
Description
This function unmounts the drive specified to the target drive (sDrive).
The CARD RDY LED is flashing, which indicates that process of unmounting the memory card is in progress, and later
upon successful completion, the CARD RDY LED turns OFF.
The CITL_UnmountMemoryCard function is available when the status of the SD memory card is "Inserted (mounted)".
(The status of the SD memory card can be checked by the CITL_GetUnitStatus function.)
When the status of the SD memory card has been already unmounted, this function ends normally without processing.
Precautions
Before calling the CITL_UnmountMemoryCard function, create a program so that accessing to the target drive is stopped and
all files are closed. Otherwise, data may be corrupted or a file system error may occur.
Return value
Relevant function
Page 43 CITL_GetUnitStatus
Page 44 CITL_MountMemoryCard
Argument Name Description IN/OUT
sDrive Target drive Specify a target drive.
(When 'Reserved' is specified, this function ends normally without
processing.)
1: SD memory card
Others: Reserved
IN
Return value Description
0 (0000H) Normal
Other than 0 (0000H) Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals