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.
Содержание MELSEC iQ-R C
Страница 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Страница 2: ......
Страница 201: ...I 199 MEMO ...
Страница 203: ...I 201 MEMO ...
Страница 207: ......