88
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
CCPU_MountMemoryCard
This function mounts the SD memory card inserted to a C Controller module.
■
Format
short CCPU_MountMemoryCard (short sDrive)
■
Argument
■
Description
• This function mounts the drive specified to the target drive (sDrive).
• The CARD RDY LED keeps flashing during the mount processing, and it turns ON once the mount processing is
completed.
• This function can be executed when the status of an SD memory card is "Inserted (unmounted)".
(The status can be checked with the CCPU_GetCpuStatus function.)
• When an SD memory card has already been mounted, this function ends normally without processing.
Use this function to access an SD memory card again without removing it after unmounting the SD memory
card with the CCPU_UnmountMemoryCard function while the power is ON.
This function does not need to be executed since an SD memory card is automatically mounted when it is
replaced.
Precautions
The USB Mass Storage Class-compliant device cannot be mounted using this function.
■
Return value
■
Relevant functions
• Page 110 CCPU_UnmountMemoryCard
• Page 73 CCPU_GetCpuStatus
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
Error
For details on the error, refer to the following chapter.
Summary of Contents for MELSEC iQ-R C
Page 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Page 2: ......
Page 201: ...I 199 MEMO ...
Page 203: ...I 201 MEMO ...
Page 207: ......