Mitsubishi Electric MELSEC iQ-R Series Manual page 62

Intelligent function module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

CITL_UnmountMemoryCard
This function unmounts the SD memory card inserted to a C intelligent function module.
■ Format
short CITL_UnmountMemoryCard (short sDrive)
■ Argument
Argument
sDrive
■ 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
Return value
0 (0000H)
Other than 0 (0000H)
■ Relevant function
Page 43 CITL_GetUnitStatus
Page 44 CITL_MountMemoryCard
3 DETAILS OF FUNCTION
60
3.1 C Intelligent Function Module Dedicated Functions
Name
Target drive
Description
Normal
Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST
Description
Specify a target drive.
(When 'Reserved' is specified, this function ends normally without
processing.)
• 1: SD memory card
• Others: Reserved
IN/OUT
IN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents